summaryrefslogtreecommitdiffstats
path: root/clang/unittests/Analysis/CFGTest.cpp
diff options
context:
space:
mode:
authorNAKAMURA Takumi <geek4civic@gmail.com>2016-07-08 16:52:36 +0000
committerNAKAMURA Takumi <geek4civic@gmail.com>2016-07-08 16:52:36 +0000
commitab8685e9466593f930a5a1988372ab5e96b49f71 (patch)
tree44fa29abe140d4a372d23a5fe77abdfe87dcb379 /clang/unittests/Analysis/CFGTest.cpp
parent7d4d436c74d220cc5f410a1893a6ea5a1140fa33 (diff)
downloadbcm5719-llvm-ab8685e9466593f930a5a1988372ab5e96b49f71.tar.gz
bcm5719-llvm-ab8685e9466593f930a5a1988372ab5e96b49f71.zip
clang/unittests/Analysis/CFGTest.cpp: Appease msc targets with -fno-delayed-template-parsing.
llvm-svn: 274879
Diffstat (limited to 'clang/unittests/Analysis/CFGTest.cpp')
-rw-r--r--clang/unittests/Analysis/CFGTest.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/unittests/Analysis/CFGTest.cpp b/clang/unittests/Analysis/CFGTest.cpp
index 715fdcb8060..a8d397e9a53 100644
--- a/clang/unittests/Analysis/CFGTest.cpp
+++ b/clang/unittests/Analysis/CFGTest.cpp
@@ -48,7 +48,7 @@ TEST(CFG, RangeBasedForOverDependentType) {
Finder.addMatcher(ast_matchers::functionDecl().bind("func"), &Callback);
std::unique_ptr<tooling::FrontendActionFactory> Factory(
tooling::newFrontendActionFactory(&Finder));
- std::vector<std::string> Args = {"-std=c++11"};
+ std::vector<std::string> Args = {"-std=c++11", "-fno-delayed-template-parsing"};
ASSERT_TRUE(tooling::runToolOnCodeWithArgs(Factory->create(), Code, Args));
EXPECT_TRUE(Callback.SawFunctionBody);
}
OpenPOWER on IntegriCloud