aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorManna, Soumi <soumi.manna@intel.com>2023-05-30 18:46:40 -0700
committerManna, Soumi <soumi.manna@intel.com>2023-05-30 18:46:56 -0700
commit0c05128aeaf8611f835ee59f96467100e1bec6dc (patch)
tree5fe6b20420fa8f11f4342bd3f69d73c2eb2673cc /clang/lib/Frontend/CompilerInvocation.cpp
parentd146fc8fba34c8e41b8e0e161ea99017eafebfad (diff)
downloadllvm-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