llvm-project/clang/tools
Argyrios Kyrtzidis 9d7c0fef65 [code-complete] Introduce CodeCompletionTUInfo which will be used for caching
code-completion related strings specific to a translation unit (ASTContext and related data)

CodeCompletionAllocator does such limited caching, by caching the name assigned
to a DeclContext*, but that is not the appropriate place since that object has
a lifetime that can extend beyond that of an ASTContext.

Introduce CodeCompletionTUInfo which will be always tied to a translation unit
to do this kind of caching and move the caching of CodeCompletionAllocator into this
object, and propagate it to all the places where it will be needed.

The plan is to extend the caching where appropriate, using CodeCompletionTUInfo,
to avoid re-calculating code-completion strings.

Part of rdar://10796159.

llvm-svn: 154408
2012-04-10 17:23:48 +00:00
..
arcmt-test Unify naming of LangOptions variable/get function across the Clang stack (Lex to AST). 2012-03-11 07:00:24 +00:00
c-arcmt-test [Cygwin] Work around to flush stdout in a thread, or stdout in threads won't be flushed at exit. 2012-04-07 06:59:28 +00:00
c-index-test [Cygwin] Work around to flush stdout in a thread, or stdout in threads won't be flushed at exit. 2012-04-07 06:59:28 +00:00
clang-check clangFrontend depends on clangEdit. 2012-04-04 12:25:11 +00:00
diagtool Provide common include for all diagnostic headers. 2012-02-15 21:58:34 +00:00
driver Fix build by passing in the needed variable after r153860. 2012-04-02 06:17:37 +00:00
libclang [code-complete] Introduce CodeCompletionTUInfo which will be used for caching 2012-04-10 17:23:48 +00:00
scan-build Add static analyzer support for new NSArray/NSDictionary/NSNumber literals. 2012-03-06 20:06:12 +00:00
scan-view Fix call to send_error() in scan-view. An int error code is expected but a string was being sent. Patch by Andrew Price! 2011-02-21 19:26:48 +00:00
CMakeLists.txt Adds a tooling library. 2012-04-04 12:07:46 +00:00
Makefile Adds a tooling library. 2012-04-04 12:07:46 +00:00