diff options
author | Endre Fülöp <endre.fulop@sigmatechnology.se> | 2023-07-24 10:30:46 +0200 |
---|---|---|
committer | Endre Fülöp <endre.fulop@sigmatechnology.se> | 2023-08-09 15:12:09 +0200 |
commit | 90c1f51c4b3e7a38a5e1b75de75d15757fc861e4 (patch) | |
tree | 1812b8c8984ce6a498185856395dc866e5021880 /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | b808648ac1308cc2563fdc1fc7796da704dc1ce5 (diff) | |
download | llvm-90c1f51c4b3e7a38a5e1b75de75d15757fc861e4.zip llvm-90c1f51c4b3e7a38a5e1b75de75d15757fc861e4.tar.gz llvm-90c1f51c4b3e7a38a5e1b75de75d15757fc861e4.tar.bz2 |
[clang][analyzer] Fix empty enum handling in EnumCastOutOfRange checker
The alpha.cplusplus.EnumCastOutOfRange checker previously gave many
false positives because a warning was given if the initializer value
did not appear in the enumerator list.
The strict handling caused std::byte to always give a warning, as it
is implemented as an enum class without any declarators.
Reviewed By: donat.nagy, steakhal
Differential Revision: https://reviews.llvm.org/D153954
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions