aboutsummaryrefslogtreecommitdiff
path: root/llvm/tools/llvm-yaml-numeric-parser-fuzzer/yaml-numeric-parser-fuzzer.cpp
diff options
context:
space:
mode:
authorUtkarsh Saxena <usx@google.com>2025-07-22 21:31:09 +0200
committerGitHub <noreply@github.com>2025-07-22 21:31:09 +0200
commit0d0478903474b2e53c874427e3d6eb2ed7567e50 (patch)
treef73a9a562f2540aae41e1401c2dc13c8c2bcb43e /llvm/tools/llvm-yaml-numeric-parser-fuzzer/yaml-numeric-parser-fuzzer.cpp
parentabdd654feb79f3125bcff7c939cad79b426c1aea (diff)
downloadllvm-0d0478903474b2e53c874427e3d6eb2ed7567e50.zip
llvm-0d0478903474b2e53c874427e3d6eb2ed7567e50.tar.gz
llvm-0d0478903474b2e53c874427e3d6eb2ed7567e50.tar.bz2
[LifetimeSafety] Add language option for experimental lifetime safety (#149592)
Add a language option flag for experimental lifetime safety analysis in C++. This change provides a language option to control the experimental lifetime safety analysis feature, making it more explicit and easier to enable/disable. Previously, the feature was controlled indirectly through a diagnostic warning flag, which we do not want to accidentally enable with `-Weverything` (atm)! ### Changes: - Added a new language option `EnableLifetimeSafety` in `LangOptions.def` for experimental lifetime safety analysis in C++ - Added corresponding driver options `-fexperimental-lifetime-safety` and `-fno-experimental-lifetime-safety` in `Options.td` - Modified `AnalysisBasedWarnings.cpp` to use the new language option flag instead of checking if a specific diagnostic is ignored - Updated a test case to use the new flag instead of relying on the warning flag alone
Diffstat (limited to 'llvm/tools/llvm-yaml-numeric-parser-fuzzer/yaml-numeric-parser-fuzzer.cpp')
0 files changed, 0 insertions, 0 deletions