[clang] [Clang][Diagnose] New feature: Nested/Indented diagnostic message in sarif mode. (PR #174106)

via cfe-commits cfe-commits at lists.llvm.org
Fri Jan 2 21:43:03 PST 2026


================
@@ -135,11 +255,11 @@ SARIFDiagnostic::getSarifLocation(FullSourceLoc Loc, PresumedLoc PLoc,
     if (BInfo.first != CaretFileID || EInfo.first != CaretFileID)
       continue;
 
-    // Add in the length of the token, so that we cover multi-char
+    // add in the length of the token, so that we cover multi-char
----------------
anonymouspc wrote:

Fixed 2 related places in commit 144078fc30d0654cbee11420d32eefed042c5273.

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


More information about the cfe-commits mailing list