[ASTMatchers] Fix standalone build

Disable the tests and remove private include introduced in d89f9e963e.
This commit is contained in:
Nathan James 2022-07-22 10:32:27 +01:00
parent c559964d85
commit 251b5b8641
No known key found for this signature in database
GPG Key ID: CC007AFCDA90AA5F
1 changed files with 3 additions and 1 deletions

View File

@ -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"
@ -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__))
@ -138,6 +139,7 @@ TEST(MatcherCrashDeathTest, CrashOnCallbackDump) {
}
#endif // ENABLE_BACKTRACES
#endif
#endif
TEST(ConstructVariadic, MismatchedTypes_Regression) {
EXPECT_TRUE(