[PATCH] D33672: [analyzer] INT50-CPP. Do not cast to an out-of-range enumeration checker

Alexander Zaitsev via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Sun Oct 28 12:20:33 PDT 2018


ZaMaZaN4iK updated this revision to Diff 171438.
ZaMaZaN4iK added a comment.

1. Changed std::transform to llvm::transform
2. Described the check in .html file
3. Fixed RUN command for the test file


https://reviews.llvm.org/D33672

Files:
  include/clang/StaticAnalyzer/Checkers/Checkers.td
  lib/StaticAnalyzer/Checkers/CMakeLists.txt
  lib/StaticAnalyzer/Checkers/EnumCastOutOfRangeChecker.cpp
  test/Analysis/enum-cast-out-of-range.cpp
  www/analyzer/alpha_checks.html

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D33672.171438.patch
Type: text/x-patch
Size: 23052 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20181028/dd388f28/attachment-0001.bin>


More information about the cfe-commits mailing list