[PATCH] D117033: [analyzer] Added more tests for scalars and enums for StrictAliasingChecker
Denys Petrov via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Tue Jan 11 09:35:51 PST 2022
ASDenysPetrov created this revision.
ASDenysPetrov added reviewers: NoQ, martong, steakhal, xazax.hun.
ASDenysPetrov added a project: clang.
Herald added subscribers: manas, jeroen.dobbelaere, dkrupp, donat.nagy, Szelethus, mikhail.ramalho, a.sidorin, rnkovacs, szepet, baloghadamsoftware.
ASDenysPetrov requested review of this revision.
Herald added a subscriber: cfe-commits.
Added tests to check aliasing:
- scalars through enums;
- enums through enums;
- enums through scalars.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D117033
Files:
clang/test/Analysis/Checkers/StrictAliasingChecker/enam-ptr-to-scalar.cpp
clang/test/Analysis/Checkers/StrictAliasingChecker/enam-var-to-scalar.cpp
clang/test/Analysis/Checkers/StrictAliasingChecker/enum-ptr-to-enum.cpp
clang/test/Analysis/Checkers/StrictAliasingChecker/enum-var-to-enum.cpp
clang/test/Analysis/Checkers/StrictAliasingChecker/enums.h
clang/test/Analysis/Checkers/StrictAliasingChecker/scalar-ptr-to-enum.cpp
clang/test/Analysis/Checkers/StrictAliasingChecker/scalar-var-to-enum.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D117033.398988.patch
Type: text/x-patch
Size: 56703 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20220111/850601d7/attachment-0001.bin>
More information about the cfe-commits
mailing list