[clang] [Driver][BoundsSafety] Add -fbounds-safety-experimental flag (PR #70480)
Dan Liew via cfe-commits
cfe-commits at lists.llvm.org
Fri Oct 27 11:01:36 PDT 2023
================
@@ -3835,6 +3852,12 @@ bool CompilerInvocation::ParseLangArgs(LangOptions &Opts, ArgList &Args,
Opts.Trigraphs =
Args.hasFlag(OPT_ftrigraphs, OPT_fno_trigraphs, Opts.Trigraphs);
+ Opts.BoundsSafety = Args.hasFlag(OPT_fbounds_safety, OPT_fno_bounds_safety,
----------------
delcypher wrote:
I think this is supposed to happen in `CompilerInvocationBase::GenerateLangArgs(...)`
https://github.com/llvm/llvm-project/pull/70480
More information about the cfe-commits
mailing list