]> granicus.if.org Git - clang/commit
When combining the code-completion results from Sema long with the
authorDouglas Gregor <dgregor@apple.com>
Wed, 25 Aug 2010 18:41:16 +0000 (18:41 +0000)
committerDouglas Gregor <dgregor@apple.com>
Wed, 25 Aug 2010 18:41:16 +0000 (18:41 +0000)
commit721f359a350059a81945baa08f63b2e5feceb044
tree48f2502b9bee43cc09c17139cf317c77fea5366a
parent8bea82f6699e4384ef823cdc8800ad5db271177c
When combining the code-completion results from Sema long with the
code-completion results cached by ASTUnit, sort the resulting result
set. This makes testing far, far easier, so this commit also includes
tests for the previous few fixes.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@112070 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Sema/CodeCompleteConsumer.h
lib/Frontend/ASTUnit.cpp
lib/Sema/CodeCompleteConsumer.cpp
lib/Sema/SemaCodeComplete.cpp
test/Index/complete-exprs.c
test/Index/complete-preprocessor.m