r185795 - AST/SourceLocationTest.cpp: Appease MS hosts to suppress CXXUnresolvedConstructExpr.SourceRange, for now.

NAKAMURA Takumi geek4civic at gmail.com
Sun Jul 7 23:38:46 PDT 2013


Author: chapuni
Date: Mon Jul  8 01:38:46 2013
New Revision: 185795

URL: http://llvm.org/viewvc/llvm-project?rev=185795&view=rev
Log:
AST/SourceLocationTest.cpp: Appease MS hosts to suppress CXXUnresolvedConstructExpr.SourceRange, for now.

FIXME: It could pass if MS-compatible mode were disabled with Args.push_back("-fno-delayed-template-parsing").

Modified:
    cfe/trunk/unittests/AST/SourceLocationTest.cpp

Modified: cfe/trunk/unittests/AST/SourceLocationTest.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/unittests/AST/SourceLocationTest.cpp?rev=185795&r1=185794&r2=185795&view=diff
==============================================================================
--- cfe/trunk/unittests/AST/SourceLocationTest.cpp (original)
+++ cfe/trunk/unittests/AST/SourceLocationTest.cpp Mon Jul  8 01:38:46 2013
@@ -211,6 +211,10 @@ TEST(CXXFunctionalCastExpr, SourceRange)
       functionalCastExpr(), Lang_CXX11));
 }
 
+#if !defined(_MSC_VER)
+// FIXME: It could pass if MS-compatible mode were disabled.
+// Args.push_back("-fno-delayed-template-parsing");
+
 TEST(CXXUnresolvedConstructExpr, SourceRange) {
   RangeVerifier<CXXUnresolvedConstructExpr> Verifier;
   Verifier.expectRange(3, 10, 3, 12);
@@ -221,6 +225,7 @@ TEST(CXXUnresolvedConstructExpr, SourceR
       "}",
       unresolvedConstructExpr(), Lang_CXX11));
 }
+#endif
 
 } // end namespace ast_matchers
 } // end namespace clang





More information about the cfe-commits mailing list