summaryrefslogtreecommitdiff
path: root/lib/CodeGen/CGExprConstant.cpp
diff options
context:
space:
mode:
authorManuel Klimek <klimek@google.com>2013-06-03 13:51:33 +0000
committerManuel Klimek <klimek@google.com>2013-06-03 13:51:33 +0000
commitf0f353b36f173ea282209070fcdbbedab84c19db (patch)
tree77ea2a6c1c92de014ace8b5695a09ec4867baf0a /lib/CodeGen/CGExprConstant.cpp
parentce912f45660613c1bc49696eb07ff7f8aecffe18 (diff)
downloadclang-f0f353b36f173ea282209070fcdbbedab84c19db.tar.gz
clang-f0f353b36f173ea282209070fcdbbedab84c19db.tar.bz2
clang-f0f353b36f173ea282209070fcdbbedab84c19db.tar.xz
Fix memory leak for APValues that do memory allocation.
This patch ensures that APValues are deallocated with the ASTContext by registering a deallocation function for APValues to the ASTContext. Original version of the patch by James Dennett. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@183101 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CGExprConstant.cpp')
0 files changed, 0 insertions, 0 deletions