Commit file missing from r242629

git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@242630 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Eric Fiselier 2015-07-19 00:11:50 +00:00
parent 02bb4bdb49
commit b0be44f963

View File

@ -0,0 +1,8 @@
#ifndef SUPPRESS_ARRAY_WARNINGS_H
#define SUPPRESS_ARRAY_WARNINGS_H
// std::array is explicitly allowed to be initialized with A a = { init-list };.
// Disable the missing braces warning for this reason.
#pragma GCC diagnostic ignored "-Wmissing-braces"
#endif // SUPPRESS_ARRAY_WARNINGS