diff options
author | Eli Friedman <eli.friedman@gmail.com> | 2012-11-15 00:29:07 +0000 |
---|---|---|
committer | Eli Friedman <eli.friedman@gmail.com> | 2012-11-15 00:29:07 +0000 |
commit | 37feb2d6a65f84baa4c299871636a49a8e3a8eb9 (patch) | |
tree | cdc1e546200262289dd4ed5bf5d8c18ae2eee8df /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | ab83a91709b1c0735e75f30edbde505e9f840cf0 (diff) | |
download | llvm-37feb2d6a65f84baa4c299871636a49a8e3a8eb9.zip llvm-37feb2d6a65f84baa4c299871636a49a8e3a8eb9.tar.gz llvm-37feb2d6a65f84baa4c299871636a49a8e3a8eb9.tar.bz2 |
Fix DiagnoseBitwisePrecedence so it doesn't cast "-1" to the type
BinaryOperator::Opcode. This is bad form, and the behavior of the static_cast
in this case is unspecified according to the standard.
Fixes a warning that showed up from r167992 on self-host.
llvm-svn: 168010
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions