aboutsummaryrefslogtreecommitdiff
path: root/test/Driver/objc++-cpp-output.mm
diff options
context:
space:
mode:
authorArgyrios Kyrtzidis <akyrtzi@gmail.com>2012-11-16 03:34:57 +0000
committerArgyrios Kyrtzidis <akyrtzi@gmail.com>2012-11-16 03:34:57 +0000
commit7fdc8fdbfe0d2b4bc0f1a22b2560ca6d86a72c94 (patch)
tree4734ba02a6eea2698d3c7acbca08b79f91ffb536 /test/Driver/objc++-cpp-output.mm
parent03e1f76d6b65124b073f24a6d65dff8003954a67 (diff)
[libclang] When caching code-completion results, pass the CachedCompletionAllocator
to the CodeCompletionTUInfo that is going to be used to get the results. Previously we would use ASTUnit's CodeCompletionTUInfo which has its own allocator that will go away when we reparse. That could result in a use-after-free bug when getting the parent context name from a CodeCompletionString. Addresses rdar://12568377. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@168133 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Driver/objc++-cpp-output.mm')
0 files changed, 0 insertions, 0 deletions