[cfe-commits] r89267 - in /cfe/trunk: include/clang/Parse/Action.h lib/Parse/ParseObjc.cpp lib/Sema/Sema.h lib/Sema/SemaCodeComplete.cpp

Douglas Gregor dgregor at apple.com
Wed Nov 18 15:08:08 PST 2009


Author: dgregor
Date: Wed Nov 18 17:08:07 2009
New Revision: 89267

URL: http://llvm.org/viewvc/llvm-project?rev=89267&view=rev
Log:
Rename CodeCompleteObjCProperty to something more specific. No functionality change.

Modified:
    cfe/trunk/include/clang/Parse/Action.h
    cfe/trunk/lib/Parse/ParseObjc.cpp
    cfe/trunk/lib/Sema/Sema.h
    cfe/trunk/lib/Sema/SemaCodeComplete.cpp

Modified: cfe/trunk/include/clang/Parse/Action.h
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/Parse/Action.h?rev=89267&r1=89266&r2=89267&view=diff

==============================================================================
--- cfe/trunk/include/clang/Parse/Action.h (original)
+++ cfe/trunk/include/clang/Parse/Action.h Wed Nov 18 17:08:07 2009
@@ -2329,7 +2329,7 @@
   /// found after the left paren.
   ///
   /// \param S the scope in which the operator keyword occurs.  
-  virtual void CodeCompleteObjCProperty(Scope *S, ObjCDeclSpec &ODS) { }
+  virtual void CodeCompleteObjCPropertyFlags(Scope *S, ObjCDeclSpec &ODS) { }
   
   /// \brief Code completion for an ObjC message expression that refers to
   /// a class method.

Modified: cfe/trunk/lib/Parse/ParseObjc.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Parse/ParseObjc.cpp?rev=89267&r1=89266&r2=89267&view=diff

==============================================================================
--- cfe/trunk/lib/Parse/ParseObjc.cpp (original)
+++ cfe/trunk/lib/Parse/ParseObjc.cpp Wed Nov 18 17:08:07 2009
@@ -431,7 +431,7 @@
 
   while (1) {
     if (Tok.is(tok::code_completion)) {
-      Actions.CodeCompleteObjCProperty(CurScope, DS);
+      Actions.CodeCompleteObjCPropertyFlags(CurScope, DS);
       ConsumeToken();
     }
     const IdentifierInfo *II = Tok.getIdentifierInfo();

Modified: cfe/trunk/lib/Sema/Sema.h
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Sema/Sema.h?rev=89267&r1=89266&r2=89267&view=diff

==============================================================================
--- cfe/trunk/lib/Sema/Sema.h (original)
+++ cfe/trunk/lib/Sema/Sema.h Wed Nov 18 17:08:07 2009
@@ -3646,7 +3646,7 @@
   virtual void CodeCompleteNamespaceAliasDecl(Scope *S);
   virtual void CodeCompleteOperatorName(Scope *S);
   
-  virtual void CodeCompleteObjCProperty(Scope *S, ObjCDeclSpec &ODS);
+  virtual void CodeCompleteObjCPropertyFlags(Scope *S, ObjCDeclSpec &ODS);
   virtual void CodeCompleteObjCClassMessage(Scope *S, IdentifierInfo *FName,
                                             SourceLocation FNameLoc);
   virtual void CodeCompleteObjCInstanceMessage(Scope *S, ExprTy *Receiver);

Modified: cfe/trunk/lib/Sema/SemaCodeComplete.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Sema/SemaCodeComplete.cpp?rev=89267&r1=89266&r2=89267&view=diff

==============================================================================
--- cfe/trunk/lib/Sema/SemaCodeComplete.cpp (original)
+++ cfe/trunk/lib/Sema/SemaCodeComplete.cpp Wed Nov 18 17:08:07 2009
@@ -1615,7 +1615,7 @@
   HandleCodeCompleteResults(this, CodeCompleter, Results.data(),Results.size());
 }
 
-void Sema::CodeCompleteObjCProperty(Scope *S, ObjCDeclSpec &ODS) { 
+void Sema::CodeCompleteObjCPropertyFlags(Scope *S, ObjCDeclSpec &ODS) { 
   if (!CodeCompleter)
     return;
   unsigned Attributes = ODS.getPropertyAttributes();





More information about the cfe-commits mailing list