r269957 - [ASTMacther] A follow-up on unresolvedLookupExpr test fixing.
Haojian Wu via cfe-commits
cfe-commits at lists.llvm.org
Wed May 18 09:48:44 PDT 2016
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"));
}
More information about the cfe-commits
mailing list