Skip to content

Commit

Permalink
[ASTMatchers] Fix standalone build
Browse files Browse the repository at this point in the history
Disable the tests and remove private include introduced in d89f9e9.
  • Loading branch information
njames93 committed Jul 22, 2022
1 parent c559964 commit 251b5b8
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion clang/unittests/ASTMatchers/ASTMatchersInternalTest.cpp
Expand Up @@ -12,7 +12,6 @@
#include "clang/ASTMatchers/ASTMatchers.h"
#include "clang/Tooling/Tooling.h"
#include "llvm/ADT/Triple.h"
#include "llvm/Config/config.h"
#include "llvm/Support/Host.h"
#include "llvm/Testing/Support/SupportHelpers.h"
#include "gtest/gtest.h"
Expand All @@ -36,6 +35,8 @@ TEST(HasNameDeathTest, DiesOnEmptyPattern) {
}, "");
}

// FIXME Re-enable these tests without breaking standalone builds.
#if 0
// FIXME: Figure out why back traces aren't being generated on clang builds on
// windows.
#if ENABLE_BACKTRACES && (!defined(_MSC_VER) || !defined(__clang__))
Expand Down Expand Up @@ -138,6 +139,7 @@ TEST(MatcherCrashDeathTest, CrashOnCallbackDump) {
}
#endif // ENABLE_BACKTRACES
#endif
#endif

TEST(ConstructVariadic, MismatchedTypes_Regression) {
EXPECT_TRUE(
Expand Down

0 comments on commit 251b5b8

Please sign in to comment.