Tweak to bitfield-overflow warning: don't warn about storing
authorJohn McCall <rjmccall@apple.com>
Wed, 10 Nov 2010 00:26:50 +0000 (00:26 +0000)
committerJohn McCall <rjmccall@apple.com>
Wed, 10 Nov 2010 00:26:50 +0000 (00:26 +0000)
commit935cd6e8529edbb3b0eba660bd934b508766de37
treee0be1c09938fb806774f7ce3ebba0a89ad2969d4
parent5dac4c222d9ff25488ac6f0b9642fa0d939ba2f8
Tweak to bitfield-overflow warning:  don't warn about storing
a positive value into a signed bitfield of the exact width of
the value.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@118657 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Sema/SemaChecking.cpp
test/Sema/constant-conversion.c