]> granicus.if.org Git - clang/commitdiff
AST/SourceLocationTest.cpp: Appease MS hosts to suppress CXXUnresolvedConstructExpr...
authorNAKAMURA Takumi <geek4civic@gmail.com>
Mon, 8 Jul 2013 06:38:46 +0000 (06:38 +0000)
committerNAKAMURA Takumi <geek4civic@gmail.com>
Mon, 8 Jul 2013 06:38:46 +0000 (06:38 +0000)
FIXME: It could pass if MS-compatible mode were disabled with Args.push_back("-fno-delayed-template-parsing").

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@185795 91177308-0d34-0410-b5e6-96231b3b80d8

unittests/AST/SourceLocationTest.cpp

index 697c6a04b75c5435f4b56de8f89afb1e1ccb1647..4a4250710a95d0ea8580a5be55615a58d073eddf 100644 (file)
@@ -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, SourceRange) {
       "}",
       unresolvedConstructExpr(), Lang_CXX11));
 }
+#endif
 
 } // end namespace ast_matchers
 } // end namespace clang