From f5e60ebbf2c7a006b0a481e3414cd265aee90737 Mon Sep 17 00:00:00 2001 From: Haojian Wu Date: Wed, 18 May 2016 16:48:44 +0000 Subject: [PATCH] [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 --- unittests/ASTMatchers/ASTMatchersNodeTest.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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")); } -- 2.40.0