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 | ebbcd1de4f6b0a88b5c9108529b21306968bd79f (patch) | |
tree | dea04a37cbd64e8cee07a38650df3ef8b061abee /lib/CodeGen/BackendUtil.cpp | |
parent | 3dfb3fa859218272dcb6bf7a79dae533e245ba15 (diff) |
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.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@168010 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/BackendUtil.cpp')
0 files changed, 0 insertions, 0 deletions