зеркало из https://github.com/microsoft/clang-1.git
Pass postfix attributes to ActOnFields (mismarked a file).
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@56993 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Родитель
1bfe1c2129
Коммит
f7bb8b91bb
|
@ -225,7 +225,8 @@ public:
|
||||||
|
|
||||||
virtual void ActOnFields(Scope* S, SourceLocation RecLoc, DeclTy *TagDecl,
|
virtual void ActOnFields(Scope* S, SourceLocation RecLoc, DeclTy *TagDecl,
|
||||||
DeclTy **Fields, unsigned NumFields,
|
DeclTy **Fields, unsigned NumFields,
|
||||||
SourceLocation LBrac, SourceLocation RBrac) {}
|
SourceLocation LBrac, SourceLocation RBrac,
|
||||||
|
AttributeList *AttrList) {}
|
||||||
|
|
||||||
virtual DeclTy *ActOnEnumConstant(Scope *S, DeclTy *EnumDecl,
|
virtual DeclTy *ActOnEnumConstant(Scope *S, DeclTy *EnumDecl,
|
||||||
DeclTy *LastEnumConstant,
|
DeclTy *LastEnumConstant,
|
||||||
|
|
|
@ -492,8 +492,6 @@ ASTContext::getASTObjCInterfaceLayout(const ObjCInterfaceDecl *D) {
|
||||||
/// specified record (struct/union/class), which indicates its size and field
|
/// specified record (struct/union/class), which indicates its size and field
|
||||||
/// position information.
|
/// position information.
|
||||||
const ASTRecordLayout &ASTContext::getASTRecordLayout(const RecordDecl *D) {
|
const ASTRecordLayout &ASTContext::getASTRecordLayout(const RecordDecl *D) {
|
||||||
fprintf(stderr, "%p\n", D->getAttr<PackedAttr>());
|
|
||||||
|
|
||||||
D = D->getDefinition(*this);
|
D = D->getDefinition(*this);
|
||||||
assert(D && "Cannot get layout of forward declarations!");
|
assert(D && "Cannot get layout of forward declarations!");
|
||||||
|
|
||||||
|
|
Загрузка…
Ссылка в новой задаче