]> granicus.if.org Git - clang/commit
Add a warning for implicit truncation of constant values due to
authorJohn McCall <rjmccall@apple.com>
Tue, 9 Nov 2010 23:24:47 +0000 (23:24 +0000)
committerJohn McCall <rjmccall@apple.com>
Tue, 9 Nov 2010 23:24:47 +0000 (23:24 +0000)
commitbeb22aaa22e255241d6a81e8b0a9239f5fa584f3
tree40d99917b6b32f9a949eea1e51e8109e608bf1d3
parent15952c91671ce2d7a3da9e219d923a104cc432ec
Add a warning for implicit truncation of constant values due to
bitfield assignment.

Implements rdar://problem/7809123

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