Pass postfix attributes to ActOnFields (mismarked a file).

llvm-svn: 56993
This commit is contained in:
Daniel Dunbar 2008-10-03 02:05:12 +00:00
parent 15619c7e4b
commit 4d601119c3
2 changed files with 2 additions and 3 deletions

View File

@ -225,7 +225,8 @@ public:
virtual void ActOnFields(Scope* S, SourceLocation RecLoc, DeclTy *TagDecl,
DeclTy **Fields, unsigned NumFields,
SourceLocation LBrac, SourceLocation RBrac) {}
SourceLocation LBrac, SourceLocation RBrac,
AttributeList *AttrList) {}
virtual DeclTy *ActOnEnumConstant(Scope *S, DeclTy *EnumDecl,
DeclTy *LastEnumConstant,

View File

@ -492,8 +492,6 @@ ASTContext::getASTObjCInterfaceLayout(const ObjCInterfaceDecl *D) {
/// specified record (struct/union/class), which indicates its size and field
/// position information.
const ASTRecordLayout &ASTContext::getASTRecordLayout(const RecordDecl *D) {
fprintf(stderr, "%p\n", D->getAttr<PackedAttr>());
D = D->getDefinition(*this);
assert(D && "Cannot get layout of forward declarations!");