[clang] [LifetimeSafety] Prefer macro spelling for lifetimebound fix-its (PR #204045)

Zeyi Xu via cfe-commits cfe-commits at lists.llvm.org
Tue Jun 16 06:35:41 PDT 2026


================
@@ -688,5 +693,5 @@ Performance
 Lifetime analysis relies on Clang's CFG (Control Flow Graph). For functions
 with very large or complex CFGs, analysis time can sometimes be significant. To mitigate
 this, the analysis allows to skip functions where the number of CFG blocks exceeds
-a certain threshold, controlled by the ``-flifetime-safety-max-cfg-blocks=N`` language
+a certain threshold, controlled by the ``-lifetime-safety-max-cfg-blocks=N`` language
----------------
zeyi2 wrote:

Drive by fixes:

```
:~/projects/llvm-project% build/bin/clang -cc1 -help | rg -- '-f?lifetime-safety-max-cfg-blocks'
  -lifetime-safety-max-cfg-blocks=<value>
```

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


More information about the cfe-commits mailing list