[clang] 251b5b8 - [ASTMatchers] Fix standalone build
Nathan James via cfe-commits
cfe-commits at lists.llvm.org
Fri Jul 22 02:33:16 PDT 2022
Author: Nathan James
Date: 2022-07-22T10:32:49+01:00
New Revision: 251b5b864183e868ffc86522e320f91ab3c5a771
URL: https://github.com/llvm/llvm-project/commit/251b5b864183e868ffc86522e320f91ab3c5a771
DIFF: https://github.com/llvm/llvm-project/commit/251b5b864183e868ffc86522e320f91ab3c5a771.diff
LOG: [ASTMatchers] Fix standalone build
Disable the tests and remove private include introduced in d89f9e963e4979466193dc6a15fe091bf7ca5c47.
Added:
Modified:
clang/unittests/ASTMatchers/ASTMatchersInternalTest.cpp
Removed:
################################################################################
diff --git a/clang/unittests/ASTMatchers/ASTMatchersInternalTest.cpp b/clang/unittests/ASTMatchers/ASTMatchersInternalTest.cpp
index eb9071bd9cb6d..c123f71dc5278 100644
--- a/clang/unittests/ASTMatchers/ASTMatchersInternalTest.cpp
+++ b/clang/unittests/ASTMatchers/ASTMatchersInternalTest.cpp
@@ -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(
More information about the cfe-commits
mailing list