diff options
author | Douglas Gregor <dgregor@apple.com> | 2009-06-20 00:51:54 +0000 |
---|---|---|
committer | Douglas Gregor <dgregor@apple.com> | 2009-06-20 00:51:54 +0000 |
commit | 9cfbe48a7a20a217fdb2920b29b67ae7941cb116 (patch) | |
tree | 43a0039929a24ceb9f232089e83fda23c07c7ff1 /include/clang/Parse/Action.h | |
parent | 6aed766538c9d996b709354386c861037b9eedba (diff) |
Parsing and AST support for using declarations, from John Thompson!
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@73812 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/clang/Parse/Action.h')
-rw-r--r-- | include/clang/Parse/Action.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/include/clang/Parse/Action.h b/include/clang/Parse/Action.h index 47583993bc..5b57521f67 100644 --- a/include/clang/Parse/Action.h +++ b/include/clang/Parse/Action.h @@ -932,6 +932,15 @@ public: IdentifierInfo *Ident) { return DeclPtrTy(); } + + /// ActOnUsingDirective - This is called when using-directive is parsed. + virtual DeclPtrTy ActOnUsingDeclaration(Scope *CurScope, + SourceLocation UsingLoc, + const CXXScopeSpec &SS, + SourceLocation IdentLoc, + IdentifierInfo *TargetName, + AttributeList *AttrList, + bool IsTypeName); /// ActOnParamDefaultArgument - Parse default argument for function parameter virtual void ActOnParamDefaultArgument(DeclPtrTy param, |