commit | 0ed8330ab593fc9af1d0e4cf863fc62827a905df | [log] [tgz] |
---|---|---|
author | Manna, Soumi <soumi.manna@intel.com> | Sun Jun 04 16:09:59 2023 |
committer | mdb:chrome-ops-source <superproject-auto-update@invalid> | Sun Jun 04 16:15:02 2023 |
tree | 3cace34e35b22c7b0af31f499724ef866f01e2e0 | |
parent | 1d30a0f7178b199f1e64645470ea6b01093de0bd [diff] |
[NFC][CLANG] Fix Static Code Analyzer Concerns This patch uses castAs instead of getAs which will assert if the type doesn't match to resolve dereference issue with nullptr FPT when calling getThisType() in clang::CodeGen::CGDebugInfo::CreateType(clang::MemberPointerType const *, llvm::DIFile *). Reviewed By: erichkeane Differential Revision: https://reviews.llvm.org/D151947