Commit 0c05128a authored by Manna, Soumi's avatar Manna, Soumi
Browse files

[NFC][CLANG] Fix nullptr dereference issue in Type::getRVVEltType()

This patch uses castAs instead of getAs which will assert if the type
doesn't match in clang::Type::getRVVEltType(clang::ASTContext const &)

Reviewed By: erichkeane

Differential Revision: https://reviews.llvm.org/D151721
parent d146fc8f
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment