[PATCH] D146234: [clang] Fix crash when handling nested immediate invocations
Shafik Yaghmour via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Thu Mar 16 11:09:34 PDT 2023
shafik added a comment.
Thank you for the fix.
================
Comment at: clang/lib/Sema/SemaExpr.cpp:17897
+ if (SemaRef.FailedImmediateInvocations.contains(E))
+ CurrentII->setInt(1);
+ } else {
----------------
It is not obvious to me why this is correct, can you please explain.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D146234/new/
https://reviews.llvm.org/D146234
More information about the cfe-commits
mailing list