HomePhabricator

DeferredDiagnosticsEmitter crashes

Authored by glevner on Thu, Oct 8, 7:59 AM.

Description

DeferredDiagnosticsEmitter crashes

Patch VisitCXXDeleteExpr() in clang::UsedDeclVisitor to avoid it crashing
when the expression's destroyed type is null. According to the comments
in CXXDeleteExpr::getDestroyedType(), this can happen when the type to
delete is a dependent type.

Patch by Geoff Levner.

Differential Revision: https://reviews.llvm.org/D88949

Details

Committed
yaxunlThu, Oct 8, 8:42 AM
Differential Revision
D88949: DeferredDiagnosticsEmitter crashes
Parents
rGdb1988f03884: [ELF] Don't change binding to STB_WEAK for an undefined specified by -u
Branches
Unknown
Tags
Unknown