diff options
author | Manna, Soumi <soumi.manna@intel.com> | 2023-05-30 18:46:40 -0700 |
---|---|---|
committer | Manna, Soumi <soumi.manna@intel.com> | 2023-05-30 18:46:56 -0700 |
commit | 0c05128aeaf8611f835ee59f96467100e1bec6dc (patch) | |
tree | 5fe6b20420fa8f11f4342bd3f69d73c2eb2673cc /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | d146fc8fba34c8e41b8e0e161ea99017eafebfad (diff) | |
download | llvm-0c05128aeaf8611f835ee59f96467100e1bec6dc.zip llvm-0c05128aeaf8611f835ee59f96467100e1bec6dc.tar.gz llvm-0c05128aeaf8611f835ee59f96467100e1bec6dc.tar.bz2 |
[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
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions