[PATCH] D153954: Relax alpha.cplusplusEnumCastOutOfRangeThis checker previously gave many false positives, because only the enum
Endre Fülöp via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Wed Jun 28 01:38:54 PDT 2023
gamesh411 created this revision.
Herald added subscribers: steakhal, martong, Szelethus, dkrupp.
Herald added a reviewer: Szelethus.
Herald added a reviewer: NoQ.
Herald added a project: All.
gamesh411 requested review of this revision.
Herald added a project: clang.
Herald added a subscriber: cfe-commits.
Modify EnumCastOutOfRange implementation
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D153954
Files:
clang/lib/StaticAnalyzer/Checkers/EnumCastOutOfRangeChecker.cpp
clang/test/Analysis/enum-cast-out-of-range.c
clang/test/Analysis/enum-cast-out-of-range.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D153954.535285.patch
Type: text/x-patch
Size: 27928 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20230628/06c7fc20/attachment-0001.bin>
More information about the cfe-commits
mailing list