diff --git a/include/llvm/Support/AlignOf.h b/include/llvm/Support/AlignOf.h index 4e0a899fbbe..061d5acf232 100644 --- a/include/llvm/Support/AlignOf.h +++ b/include/llvm/Support/AlignOf.h @@ -22,11 +22,6 @@ namespace llvm { template 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 with a manually specified alignment. -#pragma warning(suppress : 4324) -#endif T t; private: AlignmentCalcImpl() {} // Never instantiate.