llvm-project
084916a1 - [LifetimeSafety] Remove "experimental-" prefix from flags and diagnostics (#176821)

Commit
9 days ago
[LifetimeSafety] Remove "experimental-" prefix from flags and diagnostics (#176821) Remove the "experimental-" prefix from lifetime safety diagnostic groups and command-line options. This enables the analysis in `-Wall`. We are now in a pretty stable state with no crashes. This change indicates that lifetime safety analysis is no longer considered experimental and is now a stable feature. By removing the "experimental-" prefix, we're signaling to users that this functionality is ready for use. - Renamed diagnostic groups from `experimental-lifetime-safety*` to `lifetime-safety*` - Updated command-line options from `-fexperimental-lifetime-safety*` to `-flifetime-safety*` and this is now ON by default. - Added a check to only enable lifetime safety analysis when relevant diagnostics are enabled - Updated test files to use the new flag names
Author
Parents
Loading