[PATCH] Implementation for completion in call context for C++

Francisco Lopes da Silva francisco.mailing.lists at oblita.com
Mon Jan 12 13:50:00 PST 2015


As per conversation at cfe-dev, I've agreed it's best for now to have the original ordinary name code-completion behavior preserved while providing the new set of overload candidates completions.

I had to create an additional CXCursorKind named CXCursor_OverloadCandidate, so that there's any way to discern overload candidates results.

Futurely there may be an API with specific purpose of querying for overload candidates solely, I won't implement it for now.

The tests that were deprecated before were added back.


http://reviews.llvm.org/D6880

Files:
  include/clang-c/Index.h
  lib/Sema/SemaCodeComplete.cpp
  test/CodeCompletion/call.cpp
  test/Index/code-completion.cpp
  test/Index/complete-call.cpp
  test/Index/complete-constructor-params.cpp
  test/Index/complete-exprs.c
  test/Index/complete-exprs.cpp
  test/Index/complete-functor-call.cpp
  test/Index/complete-macros.c
  test/Index/complete-type-factors.m
  tools/libclang/CIndex.cpp
  tools/libclang/CIndexCodeCompletion.cpp

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D6880.18044.patch
Type: text/x-patch
Size: 69494 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20150112/c6f85f1a/attachment.bin>


More information about the cfe-commits mailing list