diff options
author | Martin Bohme <mboehme@google.com> | 2016-12-05 11:33:19 +0000 |
---|---|---|
committer | Martin Bohme <mboehme@google.com> | 2016-12-05 11:33:19 +0000 |
commit | f44cde8b7320933d77efbb00a9383e1a7f06617c (patch) | |
tree | 8edbdb71a72f8a2faa44ce1cfac31dc50ed07a3f /llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp | |
parent | 9ac117ea1c2c7bcd99a7d10d161ee17aef51292d (diff) | |
download | llvm-f44cde8b7320933d77efbb00a9383e1a7f06617c.zip llvm-f44cde8b7320933d77efbb00a9383e1a7f06617c.tar.gz llvm-f44cde8b7320933d77efbb00a9383e1a7f06617c.tar.bz2 |
CFGBuilder: Fix crash when visiting delete expression on dependent type
Summary:
CXXDeleteExpr::getDestroyedType() can return a null QualType if the destroyed
type is a dependent type. This patch protects against this.
Reviewers: klimek
Subscribers: cfe-commits
Differential Revision: https://reviews.llvm.org/D27350
llvm-svn: 288665
Diffstat (limited to 'llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp')
0 files changed, 0 insertions, 0 deletions