[clang-tools-extra] Follow style configuration in clangd when inserting missing includes (PR #140594)
via cfe-commits
cfe-commits at lists.llvm.org
Thu May 29 11:03:36 PDT 2025
================
@@ -151,6 +164,11 @@ std::vector<Diag> generateMissingIncludeDiagnostics(
if (!Replacement.has_value())
continue;
+ if (Angled && Spelling.front() == '\"') {
----------------
Harald-R wrote:
@kadircet you are right. Forgot to update the spelling fix when I changed the implementation to include the quoted filter. Fixed and added a test that forces a system include to use the quoted notation.
https://github.com/llvm/llvm-project/pull/140594
More information about the cfe-commits
mailing list