Skip to content

Commit 9b435fe

Browse files
committed
DynamicASTMatchers/VariantValueTest.cpp: It works with msvcrt since setmode(stderr, O_BINARY) were removed.
llvm-svn: 199059
1 parent 9668890 commit 9b435fe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clang/unittests/ASTMatchers/Dynamic/VariantValueTest.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ TEST(VariantValueTest, Matcher) {
117117
EXPECT_FALSE(VariantValue(VariantMatcher::SingleMatcher(varDecl()))
118118
.getMatcher()
119119
.hasTypedMatcher<Stmt>());
120-
#if !defined(NDEBUG) && GTEST_HAS_DEATH_TEST && !defined(_MSC_VER)
120+
#if !defined(NDEBUG) && GTEST_HAS_DEATH_TEST
121121
// Trying to get the wrong matcher fails an assertion in Matcher<T>. We don't
122122
// do this test when building with MSVC because its debug C runtime prints the
123123
// assertion failure message as a wide string, which gtest doesn't understand.

0 commit comments

Comments
 (0)