diff options
| author | Daniel Dunbar <daniel@zuster.org> | 2010-05-27 01:53:40 +0000 |
|---|---|---|
| committer | Daniel Dunbar <daniel@zuster.org> | 2010-05-27 01:53:40 +0000 |
| commit | 8804f2e253e792fa27267ec3a28e324abcd216a5 (patch) | |
| tree | c6bef490f8762b69bd0081e977a2d08c7cdfad4b /clang/lib/Sema/Sema.h | |
| parent | c2af939ab4f5f1439ab155e0177a4ce3a0796b6a (diff) | |
| download | bcm5719-llvm-8804f2e253e792fa27267ec3a28e324abcd216a5.tar.gz bcm5719-llvm-8804f2e253e792fa27267ec3a28e324abcd216a5.zip | |
Sema: Replace getPragmaPackAlignment with AddAlignmentAttributesForRecord, which
exposes less details.
llvm-svn: 104797
Diffstat (limited to 'clang/lib/Sema/Sema.h')
| -rw-r--r-- | clang/lib/Sema/Sema.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/clang/lib/Sema/Sema.h b/clang/lib/Sema/Sema.h index da3937ff835..dfc45ace0e0 100644 --- a/clang/lib/Sema/Sema.h +++ b/clang/lib/Sema/Sema.h @@ -4050,9 +4050,9 @@ public: SourceLocation WeakNameLoc, SourceLocation AliasNameLoc); - /// getPragmaPackAlignment() - Return the current alignment as specified by - /// the current #pragma pack directive, or 0 if none is currently active. - unsigned getPragmaPackAlignment() const; + /// AddAlignmentAttributesForRecord - Adds any needed alignment attributes to + /// a the record decl, to handle '#pragma pack' and '#pragma options align'. + void AddAlignmentAttributesForRecord(RecordDecl *RD); /// FreePackedContext - Deallocate and null out PackContext. void FreePackedContext(); |

