/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-error {{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/DebugInfo/PDB/ |
D | MappedBlockStreamTest.cpp | 205 StringRef Str1; in TEST() local 207 EXPECT_NO_ERROR(R.readFixedString(Str1, 7)); in TEST() 208 EXPECT_EQ(Str1, StringRef("ABCDEFG")); in TEST() 214 EXPECT_EQ(Str1.data() + 2, Str2.data()); in TEST() 225 StringRef Str1; in TEST() local 227 EXPECT_NO_ERROR(R.readFixedString(Str1, 6)); in TEST() 228 EXPECT_EQ(Str1, StringRef("ABCDEF")); in TEST()
|
/external/llvm/unittests/ADT/ |
D | StringRefTest.cpp | 285 StringRef Str1(" hello "); in TEST() local 289 EXPECT_EQ(StringRef(" hello"), Str1.rtrim()); in TEST() 292 EXPECT_EQ(StringRef("hello "), Str1.ltrim()); in TEST() 295 EXPECT_EQ(StringRef("hello"), Str1.trim()); in TEST() 601 StringRef Str1 = "hello"; in TEST() local 603 StringRef Str1c = Str1.copy(Alloc); in TEST() 605 EXPECT_TRUE(Str1.equals(Str1c)); in TEST() 606 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/swiftshader/third_party/LLVM/lib/Transforms/Scalar/ |
D | SimplifyLibCalls.cpp | 337 std::string Str1, Str2; in CallOptimizer() local 338 bool HasStr1 = GetConstantStringInfo(Str1P, Str1); in CallOptimizer() 344 StringRef(Str1).compare(Str2)); in CallOptimizer() 346 if (HasStr1 && Str1.empty()) // strcmp("", x) -> -*x in CallOptimizer() 400 std::string Str1, Str2; in CallOptimizer() local 401 bool HasStr1 = GetConstantStringInfo(Str1P, Str1); in CallOptimizer() 406 StringRef SubStr1 = StringRef(Str1).substr(0, Length); in CallOptimizer() 411 if (HasStr1 && Str1.empty()) // strncmp("", x, n) -> -*x in CallOptimizer()
|
/external/llvm/lib/Transforms/Utils/ |
D | SimplifyLibCalls.cpp | 254 StringRef Str1, Str2; in optimizeStrCmp() local 255 bool HasStr1 = getConstantStringInfo(Str1P, Str1); in optimizeStrCmp() 260 return ConstantInt::get(CI->getType(), Str1.compare(Str2)); in optimizeStrCmp() 262 if (HasStr1 && Str1.empty()) // strcmp("", x) -> -*x in optimizeStrCmp() 300 StringRef Str1, Str2; in optimizeStrNCmp() local 301 bool HasStr1 = getConstantStringInfo(Str1P, Str1); in optimizeStrNCmp() 306 StringRef SubStr1 = Str1.substr(0, Length); in optimizeStrNCmp() 311 if (HasStr1 && Str1.empty()) // strncmp("", x, n) -> -*x in optimizeStrNCmp()
|
/external/llvm/lib/Target/NVPTX/ |
D | NVPTXAsmPrinter.cpp | 839 SmallString<128> Str1; in doInitialization() local 840 raw_svector_ostream OS1(Str1); in doInitialization()
|
/external/llvm/lib/MC/MCParser/ |
D | AsmParser.cpp | 4426 StringRef Str1 = parseStringToComma(); in parseDirectiveIfc() local 4440 TheCondState.CondMet = ExpectEqual == (Str1.trim() == Str2.trim()); in parseDirectiveIfc()
|
/external/llvm/tools/llvm-readobj/ |
D | ELFDumper.cpp | 2362 static inline void printFields(formatted_raw_ostream &OS, StringRef Str1, in printFields() argument 2365 OS << Str1; in printFields()
|