diff options
| author | Kristof Umann <dkszelethus@gmail.com> | 2018-11-24 12:24:27 +0000 | 
|---|---|---|
| committer | Kristof Umann <dkszelethus@gmail.com> | 2018-11-24 12:24:27 +0000 | 
| commit | e0466f570e6cd170f74da8e8557e9e511f7c10c0 (patch) | |
| tree | d8b19132c6308b5d0cd5bf29c4d212f2488a6203 /llvm/tools/llvm-mca/lib/InstrBuilder.cpp | |
| parent | 1af8dd6a1edb1d3a2e302b1e92d53d877a7892e1 (diff) | |
| download | bcm5719-llvm-e0466f570e6cd170f74da8e8557e9e511f7c10c0.tar.gz bcm5719-llvm-e0466f570e6cd170f74da8e8557e9e511f7c10c0.zip | |
[analyzer] INT50-CPP. Do not cast to an out-of-range enumeration checker
This checker implements a solution to the "INT50-CPP. Do not cast to an
out-of-range enumeration value" rule [1].
It lands in alpha for now, and a number of followup patches are planned in order
to enable it by default.
[1] https://www.securecoding.cert.org/confluence/display/cplusplus/INT50-CPP.+Do+not+cast+to+an+out-of-range+enumeration+value
Patch by: Endre Fülöp and Alexander Zaitsev!
Differential Revision: https://reviews.llvm.org/D33672
llvm-svn: 347513
Diffstat (limited to 'llvm/tools/llvm-mca/lib/InstrBuilder.cpp')
0 files changed, 0 insertions, 0 deletions

