From: Haojian Wu Date: Wed, 18 May 2016 16:48:44 +0000 (+0000) Subject: [ASTMacther] A follow-up on unresolvedLookupExpr test fixing. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f5e60ebbf2c7a006b0a481e3414cd265aee90737;p=clang [ASTMacther] A follow-up on unresolvedLookupExpr test fixing. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@269957 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/unittests/ASTMatchers/ASTMatchersNodeTest.cpp b/unittests/ASTMatchers/ASTMatchersNodeTest.cpp index 9d7437e446..0f665d6219 100644 --- a/unittests/ASTMatchers/ASTMatchersNodeTest.cpp +++ b/unittests/ASTMatchers/ASTMatchersNodeTest.cpp @@ -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" "T foo() { T a; return a; }" "template" "void bar() {" " foo();" "}", - unresolvedLookupExpr(), true, + unresolvedLookupExpr(), + /*ExpectMatch=*/true, "-fno-delayed-template-parsing")); }