diff options
author | Peter Wu <peter@lekensteyn.nl> | 2019-07-16 01:13:36 +0000 |
---|---|---|
committer | Peter Wu <peter@lekensteyn.nl> | 2019-07-16 01:13:36 +0000 |
commit | fa52e00c85ce3feeec14be34265781f721b966c0 (patch) | |
tree | 39f47928bcf49eabec1c274adf43008edcbfbdf4 /clang/lib/Serialization/ModuleManager.cpp | |
parent | 543ba4e9e0c421bedaea2d8a0f1965092cec300e (diff) | |
download | llvm-fa52e00c85ce3feeec14be34265781f721b966c0.zip llvm-fa52e00c85ce3feeec14be34265781f721b966c0.tar.gz llvm-fa52e00c85ce3feeec14be34265781f721b966c0.tar.bz2 |
[Sema] Suppress additional warnings for C's zero initializer
Summary:
D28148 relaxed some checks for assigning { 0 } to a structure for all C
standards, but it failed to handle structures with non-integer
subobjects. Relax -Wmissing-braces checks for such structures, and add
some additional tests.
This fixes PR39931.
Patch By: al3xtjames
Reviewed By: Lekensteyn
Differential Revision: https://reviews.llvm.org/D61838
llvm-svn: 366163
Diffstat (limited to 'clang/lib/Serialization/ModuleManager.cpp')
0 files changed, 0 insertions, 0 deletions