[llvm] r235480 - Revert r235219, it's not needed after r235450.

Yaron Keren yaron.keren at gmail.com
Tue Apr 21 22:06:58 PDT 2015


Author: yrnkrn
Date: Wed Apr 22 00:06:57 2015
New Revision: 235480

URL: http://llvm.org/viewvc/llvm-project?rev=235480&view=rev
Log:
Revert r235219, it's not needed after r235450.


Modified:
    llvm/trunk/include/llvm/Support/AlignOf.h

Modified: llvm/trunk/include/llvm/Support/AlignOf.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Support/AlignOf.h?rev=235480&r1=235479&r2=235480&view=diff
==============================================================================
--- llvm/trunk/include/llvm/Support/AlignOf.h (original)
+++ llvm/trunk/include/llvm/Support/AlignOf.h Wed Apr 22 00:06:57 2015
@@ -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.





More information about the llvm-commits mailing list