]> granicus.if.org Git - clang/commitdiff
Pass postfix attributes to ActOnFields (mismarked a file).
authorDaniel Dunbar <daniel@zuster.org>
Fri, 3 Oct 2008 02:05:12 +0000 (02:05 +0000)
committerDaniel Dunbar <daniel@zuster.org>
Fri, 3 Oct 2008 02:05:12 +0000 (02:05 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@56993 91177308-0d34-0410-b5e6-96231b3b80d8

include/clang/Parse/Action.h
lib/AST/ASTContext.cpp

index 705d99ceedba56e16f2c1c62ec512948f2bf319c..99f8b46622bd9c766b182467b6f8c7283703ec7f 100644 (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,
index b373f3ac2ab1d6b4a30867b2a3575dfc1a16adc9..feb1bad4f95943d38f3b1ddc3abf99c57171c41a 100644 (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!");