diff options
| author | Serge Pavlov <sepavloff@gmail.com> | 2013-11-14 02:13:03 +0000 |
|---|---|---|
| committer | Serge Pavlov <sepavloff@gmail.com> | 2013-11-14 02:13:03 +0000 |
| commit | 142ab06ffb2ec286917554aa5d945323a1ebf359 (patch) | |
| tree | 555a9c7bb1ba49aae5fde435e05c2f07ba413288 /lib/CodeGen/CGExprComplex.cpp | |
| parent | 2e22f29b92768ea65ac5c26d354226ecc7509311 (diff) | |
| download | clang-142ab06ffb2ec286917554aa5d945323a1ebf359.tar.gz clang-142ab06ffb2ec286917554aa5d945323a1ebf359.tar.bz2 clang-142ab06ffb2ec286917554aa5d945323a1ebf359.tar.xz | |
Added warning on structures/unions that are empty or contain only
bit fields of zero size. Warnings are generated in C++ mode and if
only such type is defined inside extern "C" block.
The patch fixed PR5065.
Differential Revision: http://llvm-reviews.chandlerc.com/D2151
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@194653 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CGExprComplex.cpp')
0 files changed, 0 insertions, 0 deletions
