forked from OSchip/llvm-project
parent
2decfad7c5
commit
80fe6bd142
libcxx/test/std/containers/sequences/array
|
@ -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
|
Loading…
Reference in New Issue