aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Target/WebAssembly/WebAssemblyTargetMachine.cpp
diff options
context:
space:
mode:
authorAlex Lorenz <arphaman@gmail.com>2019-01-08 22:32:51 +0000
committerAlex Lorenz <arphaman@gmail.com>2019-01-08 22:32:51 +0000
commit65317e1ca0700fc124612cb6659679b6d8e73601 (patch)
tree2391646812587a49135048cf61bba19bf937199f /llvm/lib/Target/WebAssembly/WebAssemblyTargetMachine.cpp
parentb6d674f6feca095a52891ac692858e1a251cb5c3 (diff)
downloadllvm-65317e1ca0700fc124612cb6659679b6d8e73601.zip
llvm-65317e1ca0700fc124612cb6659679b6d8e73601.tar.gz
llvm-65317e1ca0700fc124612cb6659679b6d8e73601.tar.bz2
[libclang] Recommit r336590 with a fix for the memory leak in the test
The original commit had a memory leak in the test has a leak as it doesn't dispose of the evaluated cursor result. This also contains the follow-up NFC refactoring commit r336591. rdar://45893054 Original commit message: [libclang] evalute compound statement cursors before trying to evaluate the cursor like a declaration This change fixes a bug in libclang in which it tries to evaluate a statement cursor as a declaration cursor, because that statement still has a pointer to the declaration parent. rdar://38888477 Differential Revision: https://reviews.llvm.org/D49051 llvm-svn: 350666
Diffstat (limited to 'llvm/lib/Target/WebAssembly/WebAssemblyTargetMachine.cpp')
0 files changed, 0 insertions, 0 deletions