r203991 - ASTTests//EvaluateAsRValueTest.cpp: Appease *-win32 target to add -fno-delayed-template-parsing.
NAKAMURA Takumi
geek4civic at gmail.com
Fri Mar 14 17:36:51 PDT 2014
Author: chapuni
Date: Fri Mar 14 19:36:51 2014
New Revision: 203991
URL: http://llvm.org/viewvc/llvm-project?rev=203991&view=rev
Log:
ASTTests//EvaluateAsRValueTest.cpp: Appease *-win32 target to add -fno-delayed-template-parsing.
Modified:
cfe/trunk/unittests/AST/EvaluateAsRValueTest.cpp
Modified: cfe/trunk/unittests/AST/EvaluateAsRValueTest.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/unittests/AST/EvaluateAsRValueTest.cpp?rev=203991&r1=203990&r2=203991&view=diff
==============================================================================
--- cfe/trunk/unittests/AST/EvaluateAsRValueTest.cpp (original)
+++ cfe/trunk/unittests/AST/EvaluateAsRValueTest.cpp Fri Mar 14 19:36:51 2014
@@ -89,6 +89,7 @@ TEST(EvaluateAsRValue, FailsGracefullyFo
std::string ModesToTest[] = {"-std=c++03", "-std=c++11", "-std=c++1y"};
for (std::string const &Mode : ModesToTest) {
std::vector<std::string> Args(1, Mode);
+ Args.push_back("-fno-delayed-template-parsing");
ASSERT_TRUE(runToolOnCodeWithArgs(
new EvaluateConstantInitializersAction(),
"template <typename T>"
More information about the cfe-commits
mailing list