summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--llvm/include/llvm/Support/AlignOf.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/llvm/include/llvm/Support/AlignOf.h b/llvm/include/llvm/Support/AlignOf.h
index 4e0a899fbbe..061d5acf232 100644
--- a/llvm/include/llvm/Support/AlignOf.h
+++ b/llvm/include/llvm/Support/AlignOf.h
@@ -22,11 +22,6 @@ namespace llvm {
template <typename T>
struct AlignmentCalcImpl {
char x;
-#if defined(_MSC_VER)
-// Disables "structure was padded due to __declspec(align())" warnings that are
-// generated by any class using AlignOf<T> with a manually specified alignment.
-#pragma warning(suppress : 4324)
-#endif
T t;
private:
AlignmentCalcImpl() {} // Never instantiate.
OpenPOWER on IntegriCloud