aboutsummaryrefslogtreecommitdiff
path: root/lib/Sema/SemaAttr.cpp
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2010-05-28 20:08:00 +0000
committerDaniel Dunbar <daniel@zuster.org>2010-05-28 20:08:00 +0000
commitd6b305dcba95fc4928a2baa6bbeb15d22db9d061 (patch)
tree8922501301b0a51d2eabf59e86b98888d48083f9 /lib/Sema/SemaAttr.cpp
parent8019c45024be3026f854e3d22bfd89842be82266 (diff)
Sema: Fix comment, apparently #pragma options align=power is just the same as
align=native, at least for the platforms we support. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@105000 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Sema/SemaAttr.cpp')
-rw-r--r--lib/Sema/SemaAttr.cpp7
1 files changed, 1 insertions, 6 deletions
diff --git a/lib/Sema/SemaAttr.cpp b/lib/Sema/SemaAttr.cpp
index df68f53da6..69f27b0ada 100644
--- a/lib/Sema/SemaAttr.cpp
+++ b/lib/Sema/SemaAttr.cpp
@@ -140,13 +140,8 @@ void Sema::ActOnPragmaOptionsAlign(PragmaOptionsAlignKind Kind,
//
// 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;