Skip to content
Commit 37feb2d6 authored by Eli Friedman's avatar Eli Friedman
Browse files

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
parent ab83a917
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment