diff options
author | John McCall <rjmccall@apple.com> | 2010-05-21 20:45:30 +0000 |
---|---|---|
committer | John McCall <rjmccall@apple.com> | 2010-05-21 20:45:30 +0000 |
commit | b54367d2f8f776583c2c77075fc0460e663c743f (patch) | |
tree | fc24b978d014364289eef4d16779a2cf5e020135 /clang/lib/Sema/Sema.h | |
parent | 304a9537e116d54d2d9af9fa0b48009aac3b9926 (diff) | |
download | bcm5719-llvm-b54367d2f8f776583c2c77075fc0460e663c743f.tar.gz bcm5719-llvm-b54367d2f8f776583c2c77075fc0460e663c743f.zip |
Propagate access specifiers to anonymous union members nested within classes.
Fixes <rdar://problem/7987650>.
llvm-svn: 104376
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 4d9463f6523..0870431a0de 100644 --- a/clang/lib/Sema/Sema.h +++ b/clang/lib/Sema/Sema.h @@ -907,11 +907,11 @@ public: /// ParsedFreeStandingDeclSpec - This method is invoked when a declspec with /// no declarator (e.g. "struct foo;") is parsed. - virtual DeclPtrTy ParsedFreeStandingDeclSpec(Scope *S, DeclSpec &DS); + virtual DeclPtrTy ParsedFreeStandingDeclSpec(Scope *S, AccessSpecifier AS, + DeclSpec &DS); - bool InjectAnonymousStructOrUnionMembers(Scope *S, DeclContext *Owner, - RecordDecl *AnonRecord); virtual DeclPtrTy BuildAnonymousStructOrUnion(Scope *S, DeclSpec &DS, + AccessSpecifier AS, RecordDecl *Record); bool isAcceptableTagRedeclaration(const TagDecl *Previous, |