diff options
author | Balazs Benics <benicsbalazs@gmail.com> | 2023-07-07 13:24:33 +0200 |
---|---|---|
committer | Balazs Benics <benicsbalazs@gmail.com> | 2023-07-07 13:24:33 +0200 |
commit | 7cd1f3ad22e48924e7061539eb0acb0e0c49eb63 (patch) | |
tree | d6b9d3a5d6dcbad4e9afde7ff69e360e1d233221 /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | 905083f3c1a6c8dada42ad1c68553fa639f22859 (diff) | |
download | llvm-7cd1f3ad22e48924e7061539eb0acb0e0c49eb63.zip llvm-7cd1f3ad22e48924e7061539eb0acb0e0c49eb63.tar.gz llvm-7cd1f3ad22e48924e7061539eb0acb0e0c49eb63.tar.bz2 |
[analyzer] Remove deprecated analyzer-config options
The `consider-single-element-arrays-as-flexible-array-members` analyzer
option was deprecated in clang-16, and now removed from clang-17 as
promised in
https://releases.llvm.org/16.0.0/tools/clang/docs/ReleaseNotes.html#static-analyzer
This shouldn't change observable behavior.
Differential Revision: https://reviews.llvm.org/D154481
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
-rw-r--r-- | clang/lib/Frontend/CompilerInvocation.cpp | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/clang/lib/Frontend/CompilerInvocation.cpp b/clang/lib/Frontend/CompilerInvocation.cpp index dca8853..50440e6 100644 --- a/clang/lib/Frontend/CompilerInvocation.cpp +++ b/clang/lib/Frontend/CompilerInvocation.cpp @@ -1056,15 +1056,6 @@ static bool ParseAnalyzerArgs(AnalyzerOptions &Opts, ArgList &Args, A->claim(); Opts.Config[key] = std::string(val); - - // FIXME: Remove this hunk after clang-17 released. - constexpr auto SingleFAM = - "consider-single-element-arrays-as-flexible-array-members"; - if (key == SingleFAM) { - Diags.Report(diag::warn_analyzer_deprecated_option_with_alternative) - << SingleFAM << "clang-17" - << "-fstrict-flex-arrays=<N>"; - } } } |