]> 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 02:23:45 +0000 (02:23 +0000)
committerDouglas Gregor <dgregor@apple.com>
Thu, 26 Aug 2010 02:23:45 +0000 (02:23 +0000)
commitbe13afea6d9a5dc8877d5553552bd07c733a99bf
treece3d774ec7d365d58740dee8d50d700f19ffd4d0
parent9c3087b0b0bea2fd782205c1274ebfc4290265e0
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.

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