forked from OSchip/llvm-project
Supress MSVC padding warning in alignment test
llvm-svn: 233305
This commit is contained in:
parent
05cd92922d
commit
f8fea09542
|
@ -7,6 +7,12 @@
|
||||||
//
|
//
|
||||||
//===----------------------------------------------------------------------===//
|
//===----------------------------------------------------------------------===//
|
||||||
|
|
||||||
|
#ifdef _MSC_VER
|
||||||
|
// Disable warnings about alignment-based structure padding.
|
||||||
|
// This must be above the includes to suppress warnings in included templates.
|
||||||
|
#pragma warning(disable:4324)
|
||||||
|
#endif
|
||||||
|
|
||||||
#include "llvm/Support/AlignOf.h"
|
#include "llvm/Support/AlignOf.h"
|
||||||
#include "llvm/Support/Compiler.h"
|
#include "llvm/Support/Compiler.h"
|
||||||
#include "gtest/gtest.h"
|
#include "gtest/gtest.h"
|
||||||
|
|
Loading…
Reference in New Issue