[cfe-commits] r100587 - in /cfe/trunk: include/clang/Parse/Action.h lib/Parse/ParseObjc.cpp lib/Sema/CodeCompleteConsumer.cpp lib/Sema/Sema.h lib/Sema/SemaCodeComplete.cpp test/Index/complete-method-decls.m

Fariborz Jahanian fjahanian at apple.com
Tue Apr 6 17:33:11 PDT 2010


On Apr 6, 2010, at 5:21 PM, Douglas Gregor wrote:

> Author: dgregor
> Date: Tue Apr  6 19:21:17 2010
> New Revision: 100587
>
> URL: http://llvm.org/viewvc/llvm-project?rev=100587&view=rev
> Log:
> Implement code completion for Objective-C method declarations and
> definitions, e.g., after
>
>  -
>
> or
>
>  - (id)
>
> we'll find all of the "likely" instance methods that one would want to
> declare or define at this point. In the latter case, we only produce
> results whose return types match "id".

I see that you can do code completion for definitions (as when user  
wants to implement methods
in an @implementation). But I don't see how you can do code completion  
for a method declaration
(as when user want to declare a new method in an @interface). Do you  
do the latter, or I misunderstood
above remarks.

- Fariborz

>
>
>



More information about the cfe-commits mailing list