Author: ddunbar
Date: Thu Oct  2 21:05:12 2008
New Revision: 56993

URL: http://llvm.org/viewvc/llvm-project?rev=56993&view=rev
Log:
Pass postfix attributes to ActOnFields (mismarked a file).

Modified:
    cfe/trunk/include/clang/Parse/Action.h
    cfe/trunk/lib/AST/ASTContext.cpp

Modified: cfe/trunk/include/clang/Parse/Action.h
URL: 
http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/Parse/Action.h?rev=56993&r1=56992&r2=56993&view=diff

==============================================================================
--- cfe/trunk/include/clang/Parse/Action.h (original)
+++ cfe/trunk/include/clang/Parse/Action.h Thu Oct  2 21:05:12 2008
@@ -225,7 +225,8 @@
   
   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,

Modified: cfe/trunk/lib/AST/ASTContext.cpp
URL: 
http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/AST/ASTContext.cpp?rev=56993&r1=56992&r2=56993&view=diff

==============================================================================
--- cfe/trunk/lib/AST/ASTContext.cpp (original)
+++ cfe/trunk/lib/AST/ASTContext.cpp Thu Oct  2 21:05:12 2008
@@ -492,8 +492,6 @@
 /// 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!");
 


_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to