summaryrefslogtreecommitdiffstats
path: root/lldb/scripts/Python/edit-swig-python-wrapper-file.py
diff options
context:
space:
mode:
authorArgyrios Kyrtzidis <akyrtzi@gmail.com>2012-04-10 17:23:48 +0000
committerArgyrios Kyrtzidis <akyrtzi@gmail.com>2012-04-10 17:23:48 +0000
commit9d7c0fef6561cadc075071807fbc237c369d0794 (patch)
treec65323a05a49804a901f4ea10680ad1fdb65a31b /lldb/scripts/Python/edit-swig-python-wrapper-file.py
parent20fdef32dd31791d426121039d9756e7e354dab7 (diff)
downloadbcm5719-llvm-9d7c0fef6561cadc075071807fbc237c369d0794.tar.gz
bcm5719-llvm-9d7c0fef6561cadc075071807fbc237c369d0794.zip
[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
Diffstat (limited to 'lldb/scripts/Python/edit-swig-python-wrapper-file.py')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud