forked from OSchip/llvm-project
clang/unittests/Analysis/CFGTest.cpp: Appease msc targets with -fno-delayed-template-parsing.
llvm-svn: 274879
This commit is contained in:
parent
7d4d436c74
commit
ab8685e946
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue