From: NAKAMURA Takumi Date: Fri, 8 Jul 2016 16:52:36 +0000 (+0000) Subject: clang/unittests/Analysis/CFGTest.cpp: Appease msc targets with -fno-delayed-template... X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=81c08f32faf29daafbc2fb227db69ff384553c67;p=clang clang/unittests/Analysis/CFGTest.cpp: Appease msc targets with -fno-delayed-template-parsing. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@274879 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/unittests/Analysis/CFGTest.cpp b/unittests/Analysis/CFGTest.cpp index 715fdcb806..a8d397e9a5 100644 --- a/unittests/Analysis/CFGTest.cpp +++ b/unittests/Analysis/CFGTest.cpp @@ -48,7 +48,7 @@ TEST(CFG, RangeBasedForOverDependentType) { Finder.addMatcher(ast_matchers::functionDecl().bind("func"), &Callback); std::unique_ptr Factory( tooling::newFrontendActionFactory(&Finder)); - std::vector Args = {"-std=c++11"}; + std::vector Args = {"-std=c++11", "-fno-delayed-template-parsing"}; ASSERT_TRUE(tooling::runToolOnCodeWithArgs(Factory->create(), Code, Args)); EXPECT_TRUE(Callback.SawFunctionBody); }