Skip to content
Commit da7c4ba1 authored by Richard Smith's avatar Richard Smith
Browse files

Implement the agreed resolution to DR1457: a signed left shift of a 1 bit into

the sign bit doesn't have undefined behavior, but a signed left shift of a 1 bit
out of the sign bit still does. As promised to Howard :)

The suppression of the potential constant expression checking in system headers
is also removed, since the problem it was working around is gone.

llvm-svn: 150059
parent 5bc17129
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