[all-commits] [llvm/llvm-project] 3c6876: DeferredDiagnosticsEmitter crashes
Geoff Levner via All-commits
all-commits at lists.llvm.org
Mon Nov 2 21:04:34 PST 2020
Branch: refs/heads/release/11.x
Home: https://github.com/llvm/llvm-project
Commit: 3c687677678c382e8d13d6583c3f8cdf3fd301dd
https://github.com/llvm/llvm-project/commit/3c687677678c382e8d13d6583c3f8cdf3fd301dd
Author: Geoff Levner <glevner at gmail.com>
Date: 2020-11-03 (Tue, 03 Nov 2020)
Changed paths:
M clang/lib/Sema/UsedDeclVisitor.h
Log Message:
-----------
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
(cherry picked from commit b9225543e844bee5091aa16108e0c54bd2abe485)
More information about the All-commits
mailing list