diff options
| author | Manna, Soumi <soumi.manna@intel.com> | 2023-05-30 07:58:02 -0700 |
|---|---|---|
| committer | Manna, Soumi <soumi.manna@intel.com> | 2023-05-30 08:00:12 -0700 |
| commit | f64f760e2d20340ef7d1a95c8598a90e42ac31e7 (patch) | |
| tree | 5da00afbd3e900e3a3f27d3d152bdd47ed025d90 /lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.h | |
| parent | 1a28b9bce75d184a74012fdf9f6e0fcbb7fd0e1c (diff) | |
| download | llvm-f64f760e2d20340ef7d1a95c8598a90e42ac31e7.zip llvm-f64f760e2d20340ef7d1a95c8598a90e42ac31e7.tar.gz llvm-f64f760e2d20340ef7d1a95c8598a90e42ac31e7.tar.bz2 | |
[NFC][CLANG] Fix nullptr dereference issue in Type::getSveEltType()
This patch uses castAs instead of getAs which will assert if the type
doesn't match in clang::Type::getSveEltType(clang::ASTContext const &)
Reviewed By: erichkeane
Differential Revision: https://reviews.llvm.org/D151525
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.h')
0 files changed, 0 insertions, 0 deletions
