summaryrefslogtreecommitdiffstats
path: root/clang/lib/Parse/MinimalAction.cpp
diff options
context:
space:
mode:
authorAnders Carlsson <andersca@mac.com>2009-08-29 19:54:19 +0000
committerAnders Carlsson <andersca@mac.com>2009-08-29 19:54:19 +0000
commit7b194b780d3bb152ef25b37911c818b3e16bdce0 (patch)
tree21bb87cc156fe518ffd3311534964c3a8d84d9dc /clang/lib/Parse/MinimalAction.cpp
parent4bb87ce33e80efe4c01c7f94d9681bbeef5c92d9 (diff)
downloadbcm5719-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.cpp15
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
OpenPOWER on IntegriCloud