[all-commits] [llvm/llvm-project] b0525f: [NFC][CLANG] [NFC][CLANG] Fix nullptr dereference ...
smanna12 via All-commits
all-commits at lists.llvm.org
Sun Jun 4 09:41:18 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: b0525f66988eac69138ba4ca30f5f07ff5218093
https://github.com/llvm/llvm-project/commit/b0525f66988eac69138ba4ca30f5f07ff5218093
Author: Manna, Soumi <soumi.manna at intel.com>
Date: 2023-06-04 (Sun, 04 Jun 2023)
Changed paths:
M clang/lib/Interpreter/Value.cpp
Log Message:
-----------
[NFC][CLANG] [NFC][CLANG] Fix nullptr dereference issue in ConvertQualTypeToKind()
This patch uses castAs instead of getAs which will assert if the type doesn't match in ConvertQualTypeToKind(clang::ASTContext const &, clang::QualType).
Reviewed By: erichkeane
Differential Revision: https://reviews.llvm.org/D151928
More information about the All-commits
mailing list