forked from OSchip/llvm-project
Minor name change (move the ObjC prefix to a more appropriate place).
llvm-svn: 65695
This commit is contained in:
parent
d123bd05ca
commit
70f41d6f07
|
@ -134,7 +134,7 @@ namespace {
|
|||
return 0;
|
||||
}
|
||||
|
||||
virtual void ObjCActOnStartOfMethodDef(Scope *FnBodyScope, DeclTy *D) {
|
||||
virtual void ActOnStartOfObjCMethodDef(Scope *FnBodyScope, DeclTy *D) {
|
||||
llvm::cout << __FUNCTION__ << "\n";
|
||||
}
|
||||
|
||||
|
|
|
@ -262,7 +262,7 @@ public:
|
|||
return D;
|
||||
}
|
||||
|
||||
virtual void ObjCActOnStartOfMethodDef(Scope *FnBodyScope, DeclTy *D) {
|
||||
virtual void ActOnStartOfObjCMethodDef(Scope *FnBodyScope, DeclTy *D) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
|
@ -1377,7 +1377,7 @@ Parser::DeclTy *Parser::ParseObjCMethodDefinition() {
|
|||
|
||||
// Tell the actions module that we have entered a method definition with the
|
||||
// specified Declarator for the method.
|
||||
Actions.ObjCActOnStartOfMethodDef(CurScope, MDecl);
|
||||
Actions.ActOnStartOfObjCMethodDef(CurScope, MDecl);
|
||||
|
||||
OwningStmtResult FnBody(ParseCompoundStatementBody());
|
||||
|
||||
|
|
|
@ -295,7 +295,7 @@ public:
|
|||
virtual void ActOnFinishKNRParamDeclarations(Scope *S, Declarator &D);
|
||||
virtual DeclTy *ActOnStartOfFunctionDef(Scope *S, Declarator &D);
|
||||
virtual DeclTy *ActOnStartOfFunctionDef(Scope *S, DeclTy *D);
|
||||
virtual void ObjCActOnStartOfMethodDef(Scope *S, DeclTy *D);
|
||||
virtual void ActOnStartOfObjCMethodDef(Scope *S, DeclTy *D);
|
||||
|
||||
virtual DeclTy *ActOnFinishFunctionBody(DeclTy *Decl, StmtArg Body);
|
||||
virtual DeclTy *ActOnFileScopeAsmDecl(SourceLocation Loc, ExprArg expr);
|
||||
|
|
|
@ -17,9 +17,9 @@
|
|||
#include "clang/Parse/DeclSpec.h"
|
||||
using namespace clang;
|
||||
|
||||
/// ObjCActOnStartOfMethodDef - This routine sets up parameters; invisible
|
||||
/// ActOnStartOfObjCMethodDef - This routine sets up parameters; invisible
|
||||
/// and user declared, in the method definition's AST.
|
||||
void Sema::ObjCActOnStartOfMethodDef(Scope *FnBodyScope, DeclTy *D) {
|
||||
void Sema::ActOnStartOfObjCMethodDef(Scope *FnBodyScope, DeclTy *D) {
|
||||
assert(getCurMethodDecl() == 0 && "Method parsing confused");
|
||||
ObjCMethodDecl *MDecl = dyn_cast_or_null<ObjCMethodDecl>((Decl *)D);
|
||||
|
||||
|
|
Loading…
Reference in New Issue