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

Umann Kristóf via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Oct 12 05:07:47 PDT 2018


Szelethus added inline comments.


================
Comment at: include/clang/StaticAnalyzer/Checkers/Checkers.td:296-299
+def EnumCastOutOfRangeChecker : Checker<"EnumCastOutOfRange">,
+  HelpText<"Check integer to enumeration casts for out of range values">,
+  DescFile<"EnumCastOutOfRange.cpp">;
+
----------------
Sort alphabetically.


https://reviews.llvm.org/D33672





More information about the cfe-commits mailing list