[clang] [Clang] Fix Null Pointer Dereference in Sema::BuildClassMessageImplicit() (PR #90482)
via cfe-commits
cfe-commits at lists.llvm.org
Mon Apr 29 09:37:14 PDT 2024
================
@@ -2440,10 +2440,13 @@ ExprResult Sema::BuildClassMessageImplicit(QualType ReceiverType,
assert(((isSuperReceiver && Loc.isValid()) || receiverTypeInfo) &&
"Either the super receiver location needs to be valid or the receiver "
"needs valid type source information");
----------------
smanna12 wrote:
The assert was added part of commit https://reviews.llvm.org/D153236
https://github.com/llvm/llvm-project/pull/90482
More information about the cfe-commits
mailing list