]> granicus.if.org Git - clang/commit
Various improvements to Clang's code-completion infrastructure:
authorDouglas Gregor <dgregor@apple.com>
Sat, 7 Nov 2009 00:00:49 +0000 (00:00 +0000)
committerDouglas Gregor <dgregor@apple.com>
Sat, 7 Nov 2009 00:00:49 +0000 (00:00 +0000)
commit0c8296dfb495f41d6f0de6fe1d03014ffd063674
tree0d9bfd8e8a4b996ec6fcd402bc052fc00e978514
parent9e7e3c6c47f2819bce456950617a966d26839eb4
Various improvements to Clang's code-completion infrastructure:
  - Introduce more code-completion string "chunk" kinds that describe
  symbols, the actual text that the user is expected to type, etc.
  - Make the generation of macro results optional, since it can be
  slow
  - Make code-completion accessible through the C API, marshalling the
  code-completion results through a temporary file (ick) to maintain
  process separation.

The last doesn't have tests yet.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@86306 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang-c/Index.h
include/clang/Sema/CodeCompleteConsumer.h
lib/Sema/CodeCompleteConsumer.cpp
lib/Sema/SemaCodeComplete.cpp
test/CodeCompletion/macros.c
tools/CIndex/CIndex.cpp
tools/CIndex/CIndex.exports
tools/c-index-test/c-index-test.c
tools/clang-cc/clang-cc.cpp