diff options
| author | John McCall <rjmccall@apple.com> | 2010-08-21 09:40:31 +0000 |
|---|---|---|
| committer | John McCall <rjmccall@apple.com> | 2010-08-21 09:40:31 +0000 |
| commit | 4887165193e8830f2cda9a53663a6ef21d8467b3 (patch) | |
| tree | 9aa31d0704b141d07d6bc3c6ad40359760287130 /clang/lib/Sema/Action.cpp | |
| parent | e70b6d17a4a31ac3a96710f15995fbc4ccd8a543 (diff) | |
| download | bcm5719-llvm-4887165193e8830f2cda9a53663a6ef21d8467b3.tar.gz bcm5719-llvm-4887165193e8830f2cda9a53663a6ef21d8467b3.zip | |
DeclPtrTy -> Decl *
llvm-svn: 111733
Diffstat (limited to 'clang/lib/Sema/Action.cpp')
| -rw-r--r-- | clang/lib/Sema/Action.cpp | 37 |
1 files changed, 19 insertions, 18 deletions
diff --git a/clang/lib/Sema/Action.cpp b/clang/lib/Sema/Action.cpp index db0779f8b36..32d537d2dc1 100644 --- a/clang/lib/Sema/Action.cpp +++ b/clang/lib/Sema/Action.cpp @@ -11,6 +11,7 @@ // //===----------------------------------------------------------------------===// +#include "clang/Sema/Action.h" #include "clang/Sema/DeclSpec.h" #include "clang/Sema/Scope.h" #include "clang/Basic/TargetInfo.h" @@ -69,35 +70,35 @@ Action::ObjCMessageKind Action::getObjCMessageKind(Scope *S, } // Defined out-of-line here because of dependecy on AttributeList -Action::DeclPtrTy Action::ActOnUsingDirective(Scope *CurScope, - SourceLocation UsingLoc, - SourceLocation NamespcLoc, - CXXScopeSpec &SS, - SourceLocation IdentLoc, - IdentifierInfo *NamespcName, - AttributeList *AttrList) { +Decl *Action::ActOnUsingDirective(Scope *CurScope, + SourceLocation UsingLoc, + SourceLocation NamespcLoc, + CXXScopeSpec &SS, + SourceLocation IdentLoc, + IdentifierInfo *NamespcName, + AttributeList *AttrList) { // FIXME: Parser seems to assume that Action::ActOn* takes ownership over // passed AttributeList, however other actions don't free it, is it // temporary state or bug? delete AttrList; - return DeclPtrTy(); + return 0; } // Defined out-of-line here because of dependency on AttributeList -Action::DeclPtrTy Action::ActOnUsingDeclaration(Scope *CurScope, - AccessSpecifier AS, - bool HasUsingKeyword, - SourceLocation UsingLoc, - CXXScopeSpec &SS, - UnqualifiedId &Name, - AttributeList *AttrList, - bool IsTypeName, - SourceLocation TypenameLoc) { +Decl *Action::ActOnUsingDeclaration(Scope *CurScope, + AccessSpecifier AS, + bool HasUsingKeyword, + SourceLocation UsingLoc, + CXXScopeSpec &SS, + UnqualifiedId &Name, + AttributeList *AttrList, + bool IsTypeName, + SourceLocation TypenameLoc) { // FIXME: Parser seems to assume that Action::ActOn* takes ownership over // passed AttributeList, however other actions don't free it, is it // temporary state or bug? delete AttrList; - return DeclPtrTy(); + return 0; } |

