[clang-tools-extra] Follow style configuration in clangd when inserting missing includes (PR #140594)

via cfe-commits cfe-commits at lists.llvm.org
Sat May 24 06:46:31 PDT 2025


================
@@ -297,7 +301,8 @@ TEST(IncludeCleaner, GenerateMissingHeaderDiags) {
   Findings.UnusedIncludes.clear();
   std::vector<clangd::Diag> Diags = issueIncludeCleanerDiagnostics(
       AST, TU.Code, Findings, MockFS(),
-      {[](llvm::StringRef Header) { return Header.ends_with("buzz.h"); }});
+      {[](llvm::StringRef Header) { return Header.ends_with("buzz.h"); }},
----------------
Harald-R wrote:

Done: https://github.com/llvm/llvm-project/pull/140594/commits/da30c7d30208dfc8e6507f7263995d55fd18e306

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


More information about the cfe-commits mailing list