forked from OSchip/llvm-project
Disable 'suggest braces' warnings for std::array in tests
llvm-svn: 337808
This commit is contained in:
parent
5ccdd923ed
commit
8bbf22ed72
|
@ -37,6 +37,10 @@
|
|||
|
||||
#include "test_macros.h"
|
||||
|
||||
// std::array is explicitly allowed to be initialized with A a = { init-list };.
|
||||
// Disable the missing braces warning for this reason.
|
||||
#include "disable_missing_braces_warning.h"
|
||||
|
||||
int main ()
|
||||
{
|
||||
{
|
||||
|
|
|
@ -27,6 +27,9 @@
|
|||
#include <string>
|
||||
|
||||
#include "test_macros.h"
|
||||
// std::array is explicitly allowed to be initialized with A a = { init-list };.
|
||||
// Disable the missing braces warning for this reason.
|
||||
#include "disable_missing_braces_warning.h"
|
||||
|
||||
|
||||
void checkCV()
|
||||
|
|
Loading…
Reference in New Issue