[all-commits] [llvm/llvm-project] 071d4a: [NFC][CLANG] Fix nullptr dereference issue in Hand...
smanna12 via All-commits
all-commits at lists.llvm.org
Wed May 31 10:02:45 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 071d4ab377d3a6f51150657c636d070e40ee2c34
https://github.com/llvm/llvm-project/commit/071d4ab377d3a6f51150657c636d070e40ee2c34
Author: Manna, Soumi <soumi.manna at intel.com>
Date: 2023-05-31 (Wed, 31 May 2023)
Changed paths:
M clang/lib/Sema/SemaType.cpp
Log Message:
-----------
[NFC][CLANG] Fix nullptr dereference issue in HandleRISCVRVVVectorBitsTypeAttr()
This patch uses castAs instead of getAs which will assert if the type doesn't match in HandleRISCVRVVVectorBitsTypeAttr(clang::QualType &, clang::ParsedAttr &, clang::Sema &)
Reviewed By: erichkeane
Differential Revision: https://reviews.llvm.org/D151769
More information about the All-commits
mailing list