Add a super-cool code completion for send-to-super. When we're typing
a message send to "super" from a method that appears to be meant to override a superclass method (same kind, same selector, same argument types), provide a "super" completion that fills in the selector along with forwarding the method's arguments (as placeholders). llvm-svn: 112263
Showing
- clang/include/clang/Sema/CodeCompleteConsumer.h 2 additions, 0 deletionsclang/include/clang/Sema/CodeCompleteConsumer.h
- clang/include/clang/Sema/Sema.h 9 additions, 1 deletionclang/include/clang/Sema/Sema.h
- clang/lib/Sema/SemaCodeComplete.cpp 144 additions, 4 deletionsclang/lib/Sema/SemaCodeComplete.cpp
- clang/test/Index/complete-super.m 55 additions, 0 deletionsclang/test/Index/complete-super.m
Loading
Please register or sign in to comment