return 0;
}
- virtual void ObjCActOnStartOfMethodDef(Scope *FnBodyScope, DeclTy *D) {
+ virtual void ActOnStartOfObjCMethodDef(Scope *FnBodyScope, DeclTy *D) {
llvm::cout << __FUNCTION__ << "\n";
}
return D;
}
- virtual void ObjCActOnStartOfMethodDef(Scope *FnBodyScope, DeclTy *D) {
+ virtual void ActOnStartOfObjCMethodDef(Scope *FnBodyScope, DeclTy *D) {
return;
}
// 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());
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);
#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);