hokein created this revision. hokein added reviewers: alexfh, aaron.ballman. hokein added a subscriber: cfe-commits. Herald added a subscriber: klimek.
http://reviews.llvm.org/D20369 Files: unittests/ASTMatchers/ASTMatchersTest.h Index: unittests/ASTMatchers/ASTMatchersTest.h =================================================================== --- unittests/ASTMatchers/ASTMatchersTest.h +++ unittests/ASTMatchers/ASTMatchersTest.h @@ -79,6 +79,8 @@ // Some tests need rtti/exceptions on Args.push_back("-frtti"); Args.push_back("-fexceptions"); + // Keep the same template handling behavior on Windows and Linux. + Args.push_back("-fno-delayed-template-parsing"); if (!runToolOnCodeWithArgs( Factory->create(), Code, Args, Filename, "clang-tool", std::make_shared<PCHContainerOperations>(), VirtualMappedFiles)) {
Index: unittests/ASTMatchers/ASTMatchersTest.h =================================================================== --- unittests/ASTMatchers/ASTMatchersTest.h +++ unittests/ASTMatchers/ASTMatchersTest.h @@ -79,6 +79,8 @@ // Some tests need rtti/exceptions on Args.push_back("-frtti"); Args.push_back("-fexceptions"); + // Keep the same template handling behavior on Windows and Linux. + Args.push_back("-fno-delayed-template-parsing"); if (!runToolOnCodeWithArgs( Factory->create(), Code, Args, Filename, "clang-tool", std::make_shared<PCHContainerOperations>(), VirtualMappedFiles)) {
_______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits