[clang] [analyzer] Remove double spaces after sentence endings in emitted diagnostics (PR #228777)

Balázs Benics via cfe-commits cfe-commits at lists.llvm.org
Thu Oct 15 06:46:23 PDT 2026


================
@@ -1254,16 +1053,12 @@ The `alpha.cplusplus.UseAfterLifetimeEnd` checker was renamed to `alpha.core.Use
 #### Diagnostic changes
 
 - For self-assignments during initialization (`T v = v;`), `core.uninitialized.Assign` will not report them as uninitialized accesses (except C++ reference types), and the checks will be delayed until the first accesses of these variables; `deadcode.DeadStores` will not report them as dead stores. (#GH187530)
+- The Clang Static Analyzer's emitted diagnostics (warnings, notes) now consistently have one space after sentence endings (#GH228777). The RFC for this change can be found here: https://discourse.llvm.org/t/rfc-standardization-of-reports-sentence-spacing/92428
----------------
steakhal wrote:

Please also mention this in the Static Analyzer section.

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


More information about the cfe-commits mailing list