summaryrefslogtreecommitdiffstats
path: root/clang/lib/Sema
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2010-03-17 18:51:01 +0000
committerDan Gohman <gohman@apple.com>2010-03-17 18:51:01 +0000
commit5c9b0e1a6ec2aa948e6fef51aca4235b4d4fae82 (patch)
tree019c19d21a027ff17cb964b61791d420f0cad7b1 /clang/lib/Sema
parentee8fed0146eb78c29cee02a1c610f46708ca1864 (diff)
downloadbcm5719-llvm-5c9b0e1a6ec2aa948e6fef51aca4235b4d4fae82.tar.gz
bcm5719-llvm-5c9b0e1a6ec2aa948e6fef51aca4235b4d4fae82.zip
Change SCEVNAryExpr's operand array from a SmallVector to a plain
pointer and length, and allocate the arrays in ScalarEvolution's BumpPtrAllocator, so that they get released when their owning SCEV gets released. SCEVs are immutable, so they don't need to worry about operand array resizing. This fixes a memory leak reported in PR6637. llvm-svn: 98755
Diffstat (limited to 'clang/lib/Sema')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud