Rename several ObjC action methods to use the "ActOn" prefix (still a few more to do).
Remove Action::ObjCStartCategoryInterface/ObjCFinishInterface - they are unused.
.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@42559 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/Sema/Sema.h b/Sema/Sema.h
index e9dc4d0..6e87331 100644
--- a/Sema/Sema.h
+++ b/Sema/Sema.h
@@ -415,19 +415,19 @@
                                                   IdentifierInfo *CatName,
                                                   SourceLocation CatLoc);
   
-  virtual DeclTy *ObjcClassDeclaration(Scope *S, SourceLocation AtClassLoc,
-                                       IdentifierInfo **IdentList,
-                                       unsigned NumElts);
+  virtual DeclTy *ActOnForwardClassDeclaration(Scope *S, SourceLocation Loc,
+                                               IdentifierInfo **IdentList,
+                                               unsigned NumElts);
   
-  virtual DeclTy *ObjcForwardProtocolDeclaration(Scope *S, 
-                                                 SourceLocation AtProtocolLoc,
-                                                 IdentifierInfo **IdentList,
-                                                 unsigned NumElts);
+  virtual DeclTy *ActOnForwardProtocolDeclaration(Scope *S, 
+                                                  SourceLocation AtProtocolLoc,
+                                                  IdentifierInfo **IdentList,
+                                                  unsigned NumElts);
 
   virtual void ObjcAddMethodsToClass(Scope* S, DeclTy *ClassDecl, 
 				     DeclTy **allMethods, unsigned allNum);
   
-  virtual DeclTy *ObjcBuildMethodDeclaration(SourceLocation MethodLoc, 
+  virtual DeclTy *ActOnMethodDeclaration(SourceLocation MethodLoc, 
     tok::TokenKind MethodType, TypeTy *ReturnType, Selector Sel,
     // optional arguments. The number of types/arguments is obtained
     // from the Sel.getNumArgs().
diff --git a/Sema/SemaDecl.cpp b/Sema/SemaDecl.cpp
index 82c4596..69e8b83 100644
--- a/Sema/SemaDecl.cpp
+++ b/Sema/SemaDecl.cpp
@@ -1006,10 +1006,10 @@
   return PDecl;
 }
 
-/// ObjcForwardProtocolDeclaration - 
+/// ActOnForwardProtocolDeclaration - 
 /// Scope will always be top level file scope. 
 Action::DeclTy *
-Sema::ObjcForwardProtocolDeclaration(Scope *S, SourceLocation AtProtocolLoc,
+Sema::ActOnForwardProtocolDeclaration(Scope *S, SourceLocation AtProtocolLoc,
         IdentifierInfo **IdentList, unsigned NumElts) {
   ObjcForwardProtocolDecl *FDecl = new ObjcForwardProtocolDecl(AtProtocolLoc, 
                                                                NumElts);
@@ -1343,11 +1343,12 @@
          CatClassDecl->getCatName()->getName());
 }
 
-/// ObjcClassDeclaration - 
+/// ActOnForwardClassDeclaration - 
 /// Scope will always be top level file scope. 
 Action::DeclTy *
-Sema::ObjcClassDeclaration(Scope *S, SourceLocation AtClassLoc,
-                           IdentifierInfo **IdentList, unsigned NumElts) {
+Sema::ActOnForwardClassDeclaration(Scope *S, SourceLocation AtClassLoc,
+                                   IdentifierInfo **IdentList, unsigned NumElts) 
+{
   ObjcClassDecl *CDecl = new ObjcClassDecl(AtClassLoc, NumElts);
 
   for (unsigned i = 0; i != NumElts; ++i) {
@@ -1750,7 +1751,7 @@
   return;
 }
 
-Sema::DeclTy *Sema::ObjcBuildMethodDeclaration(SourceLocation MethodLoc, 
+Sema::DeclTy *Sema::ActOnMethodDeclaration(SourceLocation MethodLoc, 
     tok::TokenKind MethodType, TypeTy *ReturnType, Selector Sel,
     // optional arguments. The number of types/arguments is obtained
     // from the Sel.getNumArgs().