[clang] [clang-tools-extra] [clangd][clang-tidy] Factor out mergeFixits() logic and reuse it in clangd (PR #208682)

Nathan Ridge via cfe-commits cfe-commits at lists.llvm.org
Tue Aug 4 23:07:10 PDT 2026


================
@@ -807,13 +807,23 @@ void StoreDiags::HandleDiagnostic(DiagnosticsEngine::Level DiagLevel,
         return false;
       if (!isInsideMainFile(FixIt.RemoveRange.getBegin(), SM))
----------------
HighCommander4 wrote:

Since we're checking this for the merged fixits, let's not check it in duplicate here

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


More information about the cfe-commits mailing list