forked from OSchip/llvm-project
[ASTContext] Call APValue destructors for MaterializedTemporaryValues
Hopefully this makes the sanitizer build bot happy. llvm-svn: 245054
This commit is contained in:
parent
3bf356ee9c
commit
e694f3e847
|
@ -783,6 +783,10 @@ ASTContext::~ASTContext() {
|
|||
A != AEnd; ++A)
|
||||
A->second->~AttrVec();
|
||||
|
||||
for (std::pair<const MaterializeTemporaryExpr *, APValue *> &MTVPair :
|
||||
MaterializedTemporaryValues)
|
||||
MTVPair.second->~APValue();
|
||||
|
||||
llvm::DeleteContainerSeconds(MangleNumberingContexts);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue