Is there any way we can continue to accept this as an extension in C++11 mode 
(at least in easy cases, outside of SFINAE contexts)? I'm concerned that this 
may break a lot of existing code.


================
Comment at: unittests/ASTMatchers/ASTMatchersTest.cpp:2586-2587
@@ -2585,2 +2585,4 @@
 TEST(FunctionalCast, MatchesSimpleCase) {
+  // ill-formed in C++11
   std::string foo_class = "class Foo { public: Foo(char*); };";
+  EXPECT_TRUE(matchesConditionally(foo_class +
----------------
Can you change this to take `const char*` instead?


http://llvm-reviews.chandlerc.com/D1965
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to