]> granicus.if.org Git - clang/commit
C11 _Bool bitfield diagnostic
authorRachel Craik <rcraik@ca.ibm.com>
Mon, 14 Sep 2015 21:27:36 +0000 (21:27 +0000)
committerRachel Craik <rcraik@ca.ibm.com>
Mon, 14 Sep 2015 21:27:36 +0000 (21:27 +0000)
commit146b63d2d0fccbee92fd886a6f6eb63cb32103df
tree9667c2d406a6aded0ad76bc627ad57be0e3c31e3
parentea63792547dc5b8781f0c036aecd142013ab514d
C11 _Bool bitfield diagnostic

Summary: Implement DR262 (for C). This patch will mainly affect bitfields of type _Bool

Reviewers: fraggamuffin, rsmith

Subscribers: hubert.reinterpretcast, cfe-commits

Differential Revision: http://reviews.llvm.org/D10018

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@247618 91177308-0d34-0410-b5e6-96231b3b80d8
12 files changed:
include/clang/Basic/DiagnosticGroups.td
include/clang/Basic/DiagnosticSemaKinds.td
lib/Sema/SemaDecl.cpp
test/CodeGen/bitfield-2.c
test/CodeGenCXX/warn-padded-packed.cpp
test/Misc/warning-flags.c
test/Sema/bitfield.c
test/SemaCXX/bitfield-layout.cpp
test/SemaCXX/constant-expression-cxx11.cpp
test/SemaCXX/constant-expression-cxx1y.cpp
test/SemaCXX/ms_wide_bitfield.cpp
test/SemaObjC/class-bitfield.m