diff options
author | Richard Smith <richard-llvm@metafoo.co.uk> | 2017-10-03 20:36:00 +0000 |
---|---|---|
committer | Richard Smith <richard-llvm@metafoo.co.uk> | 2017-10-03 20:36:00 +0000 |
commit | 283e2076f6a6f23629475a25c64173843e72cf61 (patch) | |
tree | bd89ce68e591932aa9361e034111d3c9959879c9 /llvm/lib/IR/DIBuilder.cpp | |
parent | 389b7cedc311c785d9060d83197b555d227b4d7d (diff) | |
download | bcm5719-llvm-283e2076f6a6f23629475a25c64173843e72cf61.tar.gz bcm5719-llvm-283e2076f6a6f23629475a25c64173843e72cf61.zip |
Suppress -Wmissing-braces warning when aggregate-initializing a struct with a single field that is itself an aggregate.
In C++, such initialization of std::array<T, N> types is guaranteed to work by
the standard, is completely idiomatic, and the "suggested" alternative from
Clang was technically invalid.
llvm-svn: 314838
Diffstat (limited to 'llvm/lib/IR/DIBuilder.cpp')
0 files changed, 0 insertions, 0 deletions