[clang-tools-extra] [clangd] Use TargetOpts from preamble when building ASTs (PR #88381)

kadir çetinkaya via cfe-commits cfe-commits at lists.llvm.org
Mon Apr 15 09:09:51 PDT 2024


================
@@ -768,6 +764,35 @@ TEST(ParsedASTTest, GracefulFailureOnAssemblyFile) {
       << "Should not try to build AST for assembly source file";
 }
 
+TEST(ParsedASTTest, PreambleWithDifferentTarget) {
+  constexpr std::string_view kPreambleTarget = "x86_64";
----------------
kadircet wrote:

yeah happy to wait and see if some build bots fail

https://github.com/llvm/llvm-project/pull/88381


More information about the cfe-commits mailing list