aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorEli Friedman <efriedma@quicinc.com>2020-06-24 15:54:21 -0700
committerEli Friedman <efriedma@quicinc.com>2020-06-30 12:37:53 -0700
commit15440191b57237eafb18600ac653b9a0023db391 (patch)
tree56d33b57ff84da3653e156c67c8030a2512cd31f /clang/lib/Frontend/CompilerInvocation.cpp
parent1ccc49924aeb7bb5fbd2eb956243d16db3a02b08 (diff)
downloadllvm-15440191b57237eafb18600ac653b9a0023db391.zip
llvm-15440191b57237eafb18600ac653b9a0023db391.tar.gz
llvm-15440191b57237eafb18600ac653b9a0023db391.tar.bz2
[IR] Delete llvm::Constants using the correct type.
In most cases, this doesn't have much impact: the destructors just call the base class destructor anyway. A few subclasses of ConstantExpr actually store non-trivial data, though. Make sure we clean up appropriately. This is sort of ugly, but I don't see a good alternative given the constraints. Issue found by asan buildbots running the testcase for D80330. Differential Revision: https://reviews.llvm.org/D82509
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions