[llvm-branch-commits] [cfe-branch] r105055 - /cfe/branches/Apple/whitney/lib/Sema/SemaAttr.cpp

Daniel Dunbar daniel at zuster.org
Fri May 28 16:07:36 PDT 2010


Author: ddunbar
Date: Fri May 28 18:07:36 2010
New Revision: 105055

URL: http://llvm.org/viewvc/llvm-project?rev=105055&view=rev
Log:
Merge r105000:
--
Author: Daniel Dunbar <daniel at zuster.org>
Date:   Fri May 28 20:08:00 2010 +0000

    Sema: Fix comment, apparently #pragma options align=power is just the same as
    align=native, at least for the platforms we support.

Modified:
    cfe/branches/Apple/whitney/lib/Sema/SemaAttr.cpp

Modified: cfe/branches/Apple/whitney/lib/Sema/SemaAttr.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/branches/Apple/whitney/lib/Sema/SemaAttr.cpp?rev=105055&r1=105054&r2=105055&view=diff
==============================================================================
--- cfe/branches/Apple/whitney/lib/Sema/SemaAttr.cpp (original)
+++ cfe/branches/Apple/whitney/lib/Sema/SemaAttr.cpp Fri May 28 18:07:36 2010
@@ -140,13 +140,8 @@
     //
     // FIXME: This is not true on Darwin/PPC.
   case POAK_Native:
-  case POAK_Natural:
-    Context->push(0);
-    Context->setAlignment(0);
-    break;
-
-    // FIXME: We just ignore #pragma options align=power for now.
   case POAK_Power:
+  case POAK_Natural:
     Context->push(0);
     Context->setAlignment(0);
     break;





More information about the llvm-branch-commits mailing list