[PATCH] D84316: [analyzer][NFC] Split CStringChecker to modeling and reporting
Balázs Benics via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Fri Jul 24 04:25:43 PDT 2020
steakhal updated this revision to Diff 280398.
steakhal added a comment.
- Created the `CStringChecker` subdirectory holding the related files.
- `CStringChecker` split up to 4 files:
- `CStringChecker.h`: Declaration of the checker class.
- `CStringChecker.cpp`: Definitions ONLY of the cstirng modeling functions.
- `CStringLength.h`: The interface declaration of the cstring query/modification API (aka. //API header//).
- `CStringLengthModeling.cpp`: Definitions of the bookkeeping part of the `CStringChecker` class AND the definitions of the //API header//.
- Added the `CStringChecker` folder as an include directory for the analyzer library, to make it easier to include the //API header//.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D84316/new/
https://reviews.llvm.org/D84316
Files:
clang/lib/StaticAnalyzer/Checkers/CMakeLists.txt
clang/lib/StaticAnalyzer/Checkers/CStringChecker.cpp
clang/lib/StaticAnalyzer/Checkers/CStringChecker/CStringChecker.cpp
clang/lib/StaticAnalyzer/Checkers/CStringChecker/CStringChecker.h
clang/lib/StaticAnalyzer/Checkers/CStringChecker/CStringLength.h
clang/lib/StaticAnalyzer/Checkers/CStringChecker/CStringLengthModeling.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D84316.280398.patch
Type: text/x-patch
Size: 58608 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20200724/51fa6113/attachment-0001.bin>
More information about the cfe-commits
mailing list