Searched refs:Str1 (Results 1 – 6 of 6) sorted by relevance
/external/clang/test/CXX/except/except.spec/ |
D | p5-pointers.cpp | 75 struct Str1 { void f() throw(int); }; // expected-note {{previous declaration}} struct 76 void Str1::f() // expected-warning {{missing exception specification}} in f() 82 void (Str1::*pfn1)() throw(int) = &Str1::f; // valid in mfnptr() 83 void (Str1::*pfn2)() = &Str1::f; // valid in mfnptr() 84 void (Str1::*pfn3)() throw() = &Str1::f; // expected-error {{not superset}} in mfnptr()
|
/external/llvm/unittests/ADT/ |
D | StringRefTest.cpp | 232 StringRef Str1(" hello "); in TEST() local 236 EXPECT_EQ(StringRef(" hello"), Str1.rtrim()); in TEST() 239 EXPECT_EQ(StringRef("hello "), Str1.ltrim()); in TEST() 242 EXPECT_EQ(StringRef("hello"), Str1.trim()); in TEST() 539 StringRef Str1 = "hello"; in TEST() local 541 StringRef Str1c = Str1.copy(Alloc); in TEST() 543 EXPECT_TRUE(Str1.equals(Str1c)); in TEST() 544 EXPECT_NE(Str1.data(), Str1c.data()); in TEST()
|
/external/llvm/unittests/IR/ |
D | MDBuilderTest.cpp | 28 MDString *Str1 = MDHelper.createString("string"); in TEST_F() local 30 EXPECT_EQ(Str1->getString(), StringRef("string")); in TEST_F()
|
/external/llvm/lib/Transforms/Utils/ |
D | SimplifyLibCalls.cpp | 370 StringRef Str1, Str2; in optimizeStrCmp() local 371 bool HasStr1 = getConstantStringInfo(Str1P, Str1); in optimizeStrCmp() 376 return ConstantInt::get(CI->getType(), Str1.compare(Str2)); in optimizeStrCmp() 378 if (HasStr1 && Str1.empty()) // strcmp("", x) -> -*x in optimizeStrCmp() 425 StringRef Str1, Str2; in optimizeStrNCmp() local 426 bool HasStr1 = getConstantStringInfo(Str1P, Str1); in optimizeStrNCmp() 431 StringRef SubStr1 = Str1.substr(0, Length); in optimizeStrNCmp() 436 if (HasStr1 && Str1.empty()) // strncmp("", x, n) -> -*x in optimizeStrNCmp()
|
/external/llvm/lib/Target/NVPTX/ |
D | NVPTXAsmPrinter.cpp | 816 SmallString<128> Str1; in doInitialization() local 817 raw_svector_ostream OS1(Str1); in doInitialization()
|
/external/llvm/lib/MC/MCParser/ |
D | AsmParser.cpp | 3925 StringRef Str1 = parseStringToComma(); in parseDirectiveIfc() local 3939 TheCondState.CondMet = ExpectEqual == (Str1.trim() == Str2.trim()); in parseDirectiveIfc()
|