aboutsummaryrefslogtreecommitdiff
path: root/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorTed Kremenek <kremenek@apple.com>2010-05-25 20:43:29 +0000
committerTed Kremenek <kremenek@apple.com>2010-05-25 20:43:29 +0000
commit3458d43b68cc2fd1cb2b2304614e1dc3419820d8 (patch)
treeed82c0ffd8f564e219b9986b83b797e197b7d955 /lib/Frontend/CompilerInvocation.cpp
parentff3dc395ba08b3a3cadc8d3121a4cb086ab287d6 (diff)
Allocate the contents of TemplateArgumentList using ASTContext's allocator. This fixes
a massive memory leak when using a BumpPtrAllocator in ASTContext. Added a FIXME, as the Destroy method for TemplateArgumentList isn't getting called. This means we will instead leak when using the MallocAllocator. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@104633 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions