diff options
author | Anders Carlsson <andersca@mac.com> | 2009-08-29 19:54:19 +0000 |
---|---|---|
committer | Anders Carlsson <andersca@mac.com> | 2009-08-29 19:54:19 +0000 |
commit | 7b194b780d3bb152ef25b37911c818b3e16bdce0 (patch) | |
tree | 21bb87cc156fe518ffd3311534964c3a8d84d9dc /clang/lib/Parse/MinimalAction.cpp | |
parent | 4bb87ce33e80efe4c01c7f94d9681bbeef5c92d9 (diff) | |
download | bcm5719-llvm-7b194b780d3bb152ef25b37911c818b3e16bdce0.tar.gz bcm5719-llvm-7b194b780d3bb152ef25b37911c818b3e16bdce0.zip |
Set the access specifier for using decls.
llvm-svn: 80435
Diffstat (limited to 'clang/lib/Parse/MinimalAction.cpp')
-rw-r--r-- | clang/lib/Parse/MinimalAction.cpp | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/clang/lib/Parse/MinimalAction.cpp b/clang/lib/Parse/MinimalAction.cpp index 4e32de34b7e..ee23c0038ac 100644 --- a/clang/lib/Parse/MinimalAction.cpp +++ b/clang/lib/Parse/MinimalAction.cpp @@ -44,13 +44,14 @@ Action::DeclPtrTy Action::ActOnUsingDirective(Scope *CurScope, // Defined out-of-line here because of dependecy on AttributeList Action::DeclPtrTy Action::ActOnUsingDeclaration(Scope *CurScope, - SourceLocation UsingLoc, - const CXXScopeSpec &SS, - SourceLocation IdentLoc, - IdentifierInfo *TargetName, - OverloadedOperatorKind Op, - AttributeList *AttrList, - bool IsTypeName) { + AccessSpecifier AS, + SourceLocation UsingLoc, + const CXXScopeSpec &SS, + SourceLocation IdentLoc, + IdentifierInfo *TargetName, + OverloadedOperatorKind Op, + AttributeList *AttrList, + bool IsTypeName) { // FIXME: Parser seems to assume that Action::ActOn* takes ownership over // passed AttributeList, however other actions don't free it, is it |