aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorSteve Naroff <snaroff@apple.com>2009-02-28 16:59:13 +0000
committerSteve Naroff <snaroff@apple.com>2009-02-28 16:59:13 +0000
commitebf6443a4f493233f7e8d92b3a991848c8b1c00d (patch)
tree56ae661873be3c744d7ae630f3475f2baea58fc6 /lib
parentf3cf89737965352ee02026992e2dc735824e185e (diff)
Minor name change (move the ObjC prefix to a more appropriate place).
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@65695 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib')
-rw-r--r--lib/Parse/ParseObjc.cpp2
-rw-r--r--lib/Sema/Sema.h2
-rw-r--r--lib/Sema/SemaDeclObjC.cpp4
3 files changed, 4 insertions, 4 deletions
diff --git a/lib/Parse/ParseObjc.cpp b/lib/Parse/ParseObjc.cpp
index 4ddddb3749..3aa525b796 100644
--- a/lib/Parse/ParseObjc.cpp
+++ b/lib/Parse/ParseObjc.cpp
@@ -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());
diff --git a/lib/Sema/Sema.h b/lib/Sema/Sema.h
index 1b6d6c1406..ead93cb749 100644
--- a/lib/Sema/Sema.h
+++ b/lib/Sema/Sema.h
@@ -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);
diff --git a/lib/Sema/SemaDeclObjC.cpp b/lib/Sema/SemaDeclObjC.cpp
index cc86786255..654891d5ab 100644
--- a/lib/Sema/SemaDeclObjC.cpp
+++ b/lib/Sema/SemaDeclObjC.cpp
@@ -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);