[PATCH] D114718: [analyzer] Implement a new checker for Strict Aliasing Rule.
Denys Petrov via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Mon Dec 20 09:58:40 PST 2021
ASDenysPetrov updated this revision to Diff 395486.
ASDenysPetrov added a comment.
Improved `AccessInferrer::isOppositeSign`. Reworked tests.
TODO: Write more synthetic and real-world tests.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D114718/new/
https://reviews.llvm.org/D114718
Files:
clang/include/clang/StaticAnalyzer/Checkers/Checkers.td
clang/lib/StaticAnalyzer/Checkers/CMakeLists.txt
clang/lib/StaticAnalyzer/Checkers/StrictAliasingChecker.cpp
clang/test/Analysis/Checkers/StrictAliasingChecker/cv.cpp
clang/test/Analysis/Checkers/StrictAliasingChecker/scalar-ptr-to-enum.cpp
clang/test/Analysis/Checkers/StrictAliasingChecker/scalar-ptr-to-scalar.cpp
clang/test/Analysis/Checkers/StrictAliasingChecker/scalar-var-to-enum.cpp
clang/test/Analysis/Checkers/StrictAliasingChecker/scalar-var-to-scalar.cpp
clang/test/Analysis/Checkers/StrictAliasingChecker/typedef.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D114718.395486.patch
Type: text/x-patch
Size: 120052 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20211220/48282caa/attachment-0001.bin>
More information about the cfe-commits
mailing list