https://llvm.org/bugs/show_bug.cgi?id=27713
Bug ID: 27713 Summary: aterializeTemporaryExpr bug Product: clang Version: trunk Hardware: PC OS: Linux Status: NEW Severity: normal Priority: P Component: libclang Assignee: unassignedclangb...@nondot.org Reporter: piotr.padlew...@gmail.com CC: kli...@google.com, llvm-bugs@lists.llvm.org Classification: Unclassified Created attachment 16359 --> https://llvm.org/bugs/attachment.cgi?id=16359&action=edit Diff Test that fails, and I think it shouldn't std::string VectorString = "struct vector { void push_back(const string&) {} }; "; EXPECT_TRUE(matches(ClassString + VectorString + "void test() {" " vector v;" " v.push_back(string()); " "}", cxxMemberCallExpr(has(materializeTemporaryExpr())))); Diff in attachment -- You are receiving this mail because: You are on the CC list for the bug.
_______________________________________________ llvm-bugs mailing list llvm-bugs@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs