]> granicus.if.org Git - clang/commitdiff
DynamicASTMatchers/VariantValueTest.cpp: It works with msvcrt since setmode(stderr...
authorNAKAMURA Takumi <geek4civic@gmail.com>
Sun, 12 Jan 2014 17:49:26 +0000 (17:49 +0000)
committerNAKAMURA Takumi <geek4civic@gmail.com>
Sun, 12 Jan 2014 17:49:26 +0000 (17:49 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@199059 91177308-0d34-0410-b5e6-96231b3b80d8

unittests/ASTMatchers/Dynamic/VariantValueTest.cpp

index d2b8a58bc86b8edc0e92f3d965b88b459cd25bb9..e62a4645f7581d93a96a30786a804f6fa1a02a24 100644 (file)
@@ -117,7 +117,7 @@ TEST(VariantValueTest, Matcher) {
   EXPECT_FALSE(VariantValue(VariantMatcher::SingleMatcher(varDecl()))
                    .getMatcher()
                    .hasTypedMatcher<Stmt>());
-#if !defined(NDEBUG) && GTEST_HAS_DEATH_TEST && !defined(_MSC_VER)
+#if !defined(NDEBUG) && GTEST_HAS_DEATH_TEST
   // Trying to get the wrong matcher fails an assertion in Matcher<T>.  We don't
   // do this test when building with MSVC because its debug C runtime prints the
   // assertion failure message as a wide string, which gtest doesn't understand.