Author: hokein
Date: Wed May 18 11:48:44 2016
New Revision: 269957

URL: http://llvm.org/viewvc/llvm-project?rev=269957&view=rev
Log:
[ASTMacther] A follow-up on unresolvedLookupExpr test fixing.

Modified:
    cfe/trunk/unittests/ASTMatchers/ASTMatchersNodeTest.cpp

Modified: cfe/trunk/unittests/ASTMatchers/ASTMatchersNodeTest.cpp
URL: 
http://llvm.org/viewvc/llvm-project/cfe/trunk/unittests/ASTMatchers/ASTMatchersNodeTest.cpp?rev=269957&r1=269956&r2=269957&view=diff
==============================================================================
--- cfe/trunk/unittests/ASTMatchers/ASTMatchersNodeTest.cpp (original)
+++ cfe/trunk/unittests/ASTMatchers/ASTMatchersNodeTest.cpp Wed May 18 11:48:44 
2016
@@ -178,13 +178,16 @@ TEST(EnumConstant, Matches) {
 }
 
 TEST(Matcher, UnresolvedLookupExpr) {
+  // FIXME: The test is known to be broken on Windows with delayed template
+  // parsing.
   EXPECT_TRUE(matchesConditionally("template<typename T>"
                                    "T foo() { T a; return a; }"
                                    "template<typename T>"
                                    "void bar() {"
                                    "  foo<T>();"
                                    "}",
-                                   unresolvedLookupExpr(), true,
+                                   unresolvedLookupExpr(),
+                                   /*ExpectMatch=*/true,
                                    "-fno-delayed-template-parsing"));
 }
 


_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to