projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d6e2911
)
Supress MSVC padding warning in alignment test
author
Andrew Kaylor
<andrew.kaylor@intel.com>
Thu, 26 Mar 2015 18:48:42 +0000
(18:48 +0000)
committer
Andrew Kaylor
<andrew.kaylor@intel.com>
Thu, 26 Mar 2015 18:48:42 +0000
(18:48 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@233305
91177308
-0d34-0410-b5e6-
96231b3b80d8
unittests/Support/AlignOfTest.cpp
patch
|
blob
|
history
diff --git
a/unittests/Support/AlignOfTest.cpp
b/unittests/Support/AlignOfTest.cpp
index 1119019de012b6bbb751c2b9bf333fe4933df41c..d2090867e2639b1c6f2de896c4c3d1afecdd6b49 100644
(file)
--- a/
unittests/Support/AlignOfTest.cpp
+++ b/
unittests/Support/AlignOfTest.cpp
@@
-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/Compiler.h"
#include "gtest/gtest.h"