clang-1/tools
Douglas Gregor 8071e4212a Extend the code-completion caching infrastructure to include global
declarations (in addition to macros). Each kind of declaration maps to
a certain set of completion contexts, and the ASTUnit completion logic
introduces the completion strings for those declarations if the actual
code-completion occurs in one of the contexts where it matters. 

There are a few new code-completion-context kinds. Without these,
certain completions (e.g., after "using namespace") would need to
suppress all global completions, which would be unfortunate.

Note that we don't get the priorities right for global completions,
because we don't have enough type information. We'll need a way to
compare types in an ASTContext-agnostic way before this can be
implemented.



git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@111093 91177308-0d34-0410-b5e6-96231b3b80d8
2010-08-15 06:18:01 +00:00
..
c-index-test Implement caching of code-completion results for macro definitions 2010-08-13 22:48:40 +00:00
driver Frontend: Move the bulk of the cc1_main() processing into 2010-08-12 02:53:12 +00:00
libclang Extend the code-completion caching infrastructure to include global 2010-08-15 06:18:01 +00:00
scan-build Forward -fno-builtin to clang, add .cp as a supported 2010-07-03 03:08:23 +00:00
scan-view Increase scan-view max timeout to 1 minute. 2009-05-04 19:02:41 +00:00
CMakeLists.txt Rename 'CIndex' to 'libclang', since it has basically become our stable public 2010-04-30 21:51:10 +00:00
Makefile Minix doesn't support dylibs, PR7294 2010-06-29 05:05:09 +00:00