]> granicus.if.org Git - clang/commit
Undo a refactor-o and base the bitfield-truncation warning on the
authorJohn McCall <rjmccall@apple.com>
Thu, 11 Nov 2010 05:33:51 +0000 (05:33 +0000)
committerJohn McCall <rjmccall@apple.com>
Thu, 11 Nov 2010 05:33:51 +0000 (05:33 +0000)
commit91b6014876e9186f968f74a8975ab8fc08ef1b68
treed0cf685bcdb3856951aa2cf5daf52cba83b6c71d
parentc84aca4b50ce29a66c9f18df49542c9f0dd025d4
Undo a refactor-o and base the bitfield-truncation warning on the
uncoerced value.  Also, whitelist bool bitfields, which aren't
really a truncation.

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