[clang] [LifetimeSafety] Enable C support by default under -Wlifetime-safety (PR #224028)

Benedek Kaibas via cfe-commits cfe-commits at lists.llvm.org
Thu Sep 17 02:13:05 PDT 2026


================
@@ -379,6 +379,9 @@ features cannot lower the translation-unit ABI level;
   };
   ```
 
+- Lifetime safety analysis is now enabled for C by default. The `-fexperimental-lifetime-safety-c`
----------------
benedekaibas wrote:

I think @Xazax-hun and @usx95 can make this call. I am fine doing the change. Just a side note: `-fexperimental-lifetime-safety-c` was not included in the lifetime safety documentation, so I do not expect many uses cases of it except the teams that were already aware of it.

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


More information about the cfe-commits mailing list