]> granicus.if.org Git - clang/commit
Move the sorting of code-completion results out of the main path and
authorDouglas Gregor <dgregor@apple.com>
Thu, 26 Aug 2010 13:48:20 +0000 (13:48 +0000)
committerDouglas Gregor <dgregor@apple.com>
Thu, 26 Aug 2010 13:48:20 +0000 (13:48 +0000)
commit1e5e6684b0f27701e6f7c65f8c6a32a10cbcc3ed
treee6ffa9f08a0b7e237c01aef2000cfbbd1f4404fa
parentf29815affe5d28c499d21c0be9bb078c52025ae6
Move the sorting of code-completion results out of the main path and
into the clients, e.g., the printing code-completion consumer and
c-index-test. Clients may want to re-sort the results anyway.

Provide a libclang function that sorts the results.

3rd try. How embarrassing.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@112180 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang-c/Index.h
lib/Frontend/ASTUnit.cpp
lib/Sema/CodeCompleteConsumer.cpp
lib/Sema/SemaCodeComplete.cpp
test/Index/complete-objc-message.m
tools/c-index-test/c-index-test.c
tools/libclang/CIndexCodeCompletion.cpp
tools/libclang/libclang.darwin.exports
tools/libclang/libclang.exports