Searched refs:Str1 (Results 1 - 6 of 6) sorted by relevance

/external/clang/test/CXX/except/except.spec/
H A Dp5-pointers.cpp75 struct Str1 { void f() throw(int); }; // expected-note {{previous declaration}} struct
76 void Str1::f() // expected-warning {{missing exception specification}}
82 void (Str1::*pfn1)() throw(int) = &Str1::f; // valid
83 void (Str1::*pfn2)() = &Str1::f; // valid
84 void (Str1::*pfn3)() throw() = &Str1::f; // expected-error {{not superset}}
/external/llvm/unittests/ADT/
H A DStringRefTest.cpp232 StringRef Str1(" hello ");
236 EXPECT_EQ(StringRef(" hello"), Str1.rtrim());
239 EXPECT_EQ(StringRef("hello "), Str1.ltrim());
242 EXPECT_EQ(StringRef("hello"), Str1.trim());
539 StringRef Str1 = "hello"; local
541 StringRef Str1c = Str1.copy(Alloc);
543 EXPECT_TRUE(Str1.equals(Str1c));
544 EXPECT_NE(Str1.data(), Str1c.data());
/external/llvm/unittests/IR/
H A DMDBuilderTest.cpp28 MDString *Str1 = MDHelper.createString("string"); local
30 EXPECT_EQ(Str1->getString(), StringRef("string"));
/external/llvm/lib/Transforms/Utils/
H A DSimplifyLibCalls.cpp575 StringRef Str1, Str2;
576 bool HasStr1 = getConstantStringInfo(Str1P, Str1);
581 return ConstantInt::get(CI->getType(), Str1.compare(Str2));
583 if (HasStr1 && Str1.empty()) // strcmp("", x) -> -*x
635 StringRef Str1, Str2;
636 bool HasStr1 = getConstantStringInfo(Str1P, Str1);
641 StringRef SubStr1 = Str1.substr(0, Length);
646 if (HasStr1 && Str1.empty()) // strncmp("", x, n) -> -*x
/external/llvm/lib/Target/NVPTX/
H A DNVPTXAsmPrinter.cpp1145 SmallString<128> Str1; local
1146 raw_svector_ostream OS1(Str1);
/external/llvm/lib/MC/MCParser/
H A DAsmParser.cpp3892 StringRef Str1 = parseStringToComma();
3906 TheCondState.CondMet = ExpectEqual == (Str1.trim() == Str2.trim());

Completed in 439 milliseconds