[PATCH] D126215: [analyzer] Deprecate `-analyzer-store region` flag
Balázs Benics via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Tue May 24 01:55:38 PDT 2022
steakhal updated this revision to Diff 431618.
steakhal edited the summary of this revision.
steakhal added a comment.
Herald added a subscriber: MaskRay.
- Emit a warning when passing this option.
- State explicitly in the release notes that passing this option to `clang-17` and above will cause a hard error.
- Remove all spellings of this option in tests.
- Add a test for testing the deprecation warning.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D126215/new/
https://reviews.llvm.org/D126215
Files:
clang/docs/ReleaseNotes.rst
clang/include/clang/Basic/DiagnosticDriverKinds.td
clang/include/clang/Driver/Options.td
clang/include/clang/StaticAnalyzer/Core/Analyses.def
clang/include/clang/StaticAnalyzer/Core/AnalyzerOptions.h
clang/lib/Driver/ToolChains/Clang.cpp
clang/lib/Frontend/CompilerInvocation.cpp
clang/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp
clang/test/Analysis/CFNumber.c
clang/test/Analysis/CFRetainRelease_NSAssertionHandler.m
clang/test/Analysis/CGColorSpace.c
clang/test/Analysis/Malloc+MismatchedDeallocator_intersections.cpp
clang/test/Analysis/NSPanel.m
clang/test/Analysis/NSString.m
clang/test/Analysis/NSWindow.m
clang/test/Analysis/OSAtomic_mac.cpp
clang/test/Analysis/PR3991.m
clang/test/Analysis/PR7218.c
clang/test/Analysis/analyzeOneFunction.m
clang/test/Analysis/array-struct.c
clang/test/Analysis/blocks.m
clang/test/Analysis/bool-assignment.c
clang/test/Analysis/bstring.cpp
clang/test/Analysis/casts.c
clang/test/Analysis/casts.cpp
clang/test/Analysis/casts.m
clang/test/Analysis/cfref_PR2519.c
clang/test/Analysis/cfref_rdar6080742.c
clang/test/Analysis/chroot.c
clang/test/Analysis/concrete-address.c
clang/test/Analysis/coverage.c
clang/test/Analysis/cstring-syntax-cxx.cpp
clang/test/Analysis/cxx-method-names.cpp
clang/test/Analysis/dead-stores.cpp
clang/test/Analysis/default-diagnostic-visitors.c
clang/test/Analysis/delegates.m
clang/test/Analysis/deprecated-flags-and-options.cpp
clang/test/Analysis/disable-all-checks.c
clang/test/Analysis/elementtype.c
clang/test/Analysis/fields.c
clang/test/Analysis/free.c
clang/test/Analysis/free.cpp
clang/test/Analysis/func.c
clang/test/Analysis/gmalloc.c
clang/test/Analysis/ivars.m
clang/test/Analysis/keychainAPI-diagnostic-visitor.m
clang/test/Analysis/localization-aggressive.m
clang/test/Analysis/localization.m
clang/test/Analysis/lvalue.cpp
clang/test/Analysis/malloc-annotations.c
clang/test/Analysis/malloc-annotations.cpp
clang/test/Analysis/malloc.c
clang/test/Analysis/malloc.m
clang/test/Analysis/method-call-intra-p.cpp
clang/test/Analysis/misc-ps-64.m
clang/test/Analysis/misc-ps-arm.m
clang/test/Analysis/misc-ps-eager-assume.m
clang/test/Analysis/misc-ps-ranges.m
clang/test/Analysis/misc-ps-region-store-i386.m
clang/test/Analysis/misc-ps-region-store-x86_64.m
clang/test/Analysis/misc-ps-region-store.cpp
clang/test/Analysis/misc-ps-region-store.m
clang/test/Analysis/misc-ps-region-store.mm
clang/test/Analysis/misc-ps.m
clang/test/Analysis/new-with-exceptions.cpp
clang/test/Analysis/new.cpp
clang/test/Analysis/nil-receiver-undefined-larger-than-voidptr-ret-region.m
clang/test/Analysis/nil-receiver-undefined-larger-than-voidptr-ret.m
clang/test/Analysis/no-exit-cfg.c
clang/test/Analysis/no-outofbounds.c
clang/test/Analysis/null-deref-path-notes.m
clang/test/Analysis/null-deref-ps.c
clang/test/Analysis/nullptr.cpp
clang/test/Analysis/objc-boxing.m
clang/test/Analysis/objc-message.m
clang/test/Analysis/objc-subscript.m
clang/test/Analysis/outofbound-notwork.c
clang/test/Analysis/outofbound.c
clang/test/Analysis/override-werror.c
clang/test/Analysis/pr22954.c
clang/test/Analysis/pr4209.m
clang/test/Analysis/pr_2542_rdar_6793404.m
clang/test/Analysis/pr_4164.c
clang/test/Analysis/properties.m
clang/test/Analysis/properties.mm
clang/test/Analysis/ptr-arith.c
clang/test/Analysis/qt_malloc.cpp
clang/test/Analysis/range_casts.c
clang/test/Analysis/rdar-6442306-1.m
clang/test/Analysis/rdar-6541136-region.c
clang/test/Analysis/rdar-6562655.m
clang/test/Analysis/rdar-6600344-nil-receiver-undefined-struct-ret.m
clang/test/Analysis/rdar-7168531.m
clang/test/Analysis/refcnt_naming.m
clang/test/Analysis/reference.cpp
clang/test/Analysis/region-1.m
clang/test/Analysis/retain-release-path-notes.m
clang/test/Analysis/retain-release-region-store.m
clang/test/Analysis/retain-release.mm
clang/test/Analysis/stack-addr-ps.c
clang/test/Analysis/stack-addr-ps.cpp
clang/test/Analysis/stack-block-returned.cpp
clang/test/Analysis/string-fail.c
clang/test/Analysis/undef-buffers.c
clang/test/Analysis/uninit-ps-rdar6145427.m
clang/test/Analysis/uninit-vals-union.c
clang/test/Analysis/uninit-vals.m
clang/test/Analysis/unions-region.m
clang/test/Analysis/unix-fns.c
clang/test/Analysis/valist-as-lazycompound.c
clang/test/Analysis/valist-uninitialized-no-undef.c
clang/test/Analysis/valist-unterminated.c
clang/test/Analysis/variadic-method-types.m
clang/test/Analysis/weak-functions.c
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D126215.431618.patch
Type: text/x-patch
Size: 80245 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20220524/3100dc85/attachment-0001.bin>
More information about the cfe-commits
mailing list