[PATCH] D53276: [analyzer][NFC] Fix some incorrect uses of -analyzer-config options
Umann Kristóf via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Sat Oct 20 13:25:33 PDT 2018
Szelethus updated this revision to Diff 170315.
Szelethus edited the summary of this revision.
Szelethus added a comment.
Herald added a subscriber: mgorny.
Added two more fixes, and added this to the summary:
- `lib/StaticAnalyzer/Checkers/AllocationDiagnostics.cpp` and `lib/StaticAnalyzer/Checkers/AllocationDiagnostics.h` are weird, they actually only contain an option getter. I deleted them, and fixed `RetainCountChecker` to get it's `"leak-diagnostics-reference-allocation"` option as a checker option,
- `"region-store-small-struct-limit"` has a proper getter now.
https://reviews.llvm.org/D53276
Files:
include/clang/StaticAnalyzer/Core/AnalyzerOptions.h
lib/StaticAnalyzer/Checkers/AllocationDiagnostics.cpp
lib/StaticAnalyzer/Checkers/AllocationDiagnostics.h
lib/StaticAnalyzer/Checkers/CMakeLists.txt
lib/StaticAnalyzer/Checkers/RetainCountChecker/RetainCountChecker.h
lib/StaticAnalyzer/Core/AnalyzerOptions.cpp
lib/StaticAnalyzer/Core/RegionStore.cpp
test/Analysis/analyzer-config.c
test/Analysis/analyzer-config.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D53276.170315.patch
Type: text/x-patch
Size: 7416 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20181020/efa7d6ce/attachment-0001.bin>
More information about the cfe-commits
mailing list