aboutsummaryrefslogtreecommitdiff
path: root/lib/Sema/SemaDecl.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2009-02-17 01:09:29 +0000
committerChris Lattner <sabre@nondot.org>2009-02-17 01:09:29 +0000
commit574aa40703ffb2fddad5b076cec1c2fc27f0b2d3 (patch)
tree78171f064cde4246caa6b8947ab020621b84a689 /lib/Sema/SemaDecl.cpp
parent3e00bad490f1bae8a2c60f934e7eb5dbb9752c5d (diff)
Make PragmaPackStack be a private class in SemaAttr and make its
instance in Sema be a pimpl. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@64718 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Sema/SemaDecl.cpp')
-rw-r--r--lib/Sema/SemaDecl.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Sema/SemaDecl.cpp b/lib/Sema/SemaDecl.cpp
index 70990a87a3..7b8373ca39 100644
--- a/lib/Sema/SemaDecl.cpp
+++ b/lib/Sema/SemaDecl.cpp
@@ -3276,7 +3276,7 @@ CreateNewDecl:
// many points during the parsing of a struct declaration (because
// the #pragma tokens are effectively skipped over during the
// parsing of the struct).
- if (unsigned Alignment = PackContext.getAlignment())
+ if (unsigned Alignment = getPragmaPackAlignment())
New->addAttr(new PackedAttr(Alignment * 8));
}