summaryrefslogtreecommitdiffstats
path: root/clang/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
commit31180bbfb4da2e3e7bf1d7dc4d72b9decf9dcd78 (patch)
tree2cf8024d885cf7ac77720eaac9598cae212e0404 /clang/lib/Sema/SemaDecl.cpp
parent264ec4f2377624a9ef3418d40de67b7579b5c5f5 (diff)
downloadbcm5719-llvm-31180bbfb4da2e3e7bf1d7dc4d72b9decf9dcd78.tar.gz
bcm5719-llvm-31180bbfb4da2e3e7bf1d7dc4d72b9decf9dcd78.zip
Make PragmaPackStack be a private class in SemaAttr and make its
instance in Sema be a pimpl. llvm-svn: 64718
Diffstat (limited to 'clang/lib/Sema/SemaDecl.cpp')
-rw-r--r--clang/lib/Sema/SemaDecl.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/Sema/SemaDecl.cpp b/clang/lib/Sema/SemaDecl.cpp
index 70990a87a32..7b8373ca390 100644
--- a/clang/lib/Sema/SemaDecl.cpp
+++ b/clang/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));
}
OpenPOWER on IntegriCloud