[PATCH] D136975: [Concepts] Correctly handle failure when checking concepts recursively
Yuanfang Chen via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Tue Nov 1 11:32:23 PDT 2022
ychen added a comment.
In D136975#3899717 <https://reviews.llvm.org/D136975#3899717>, @erichkeane wrote:
> In D136975#3899703 <https://reviews.llvm.org/D136975#3899703>, @ychen wrote:
>
>> Thanks for the patch. It looks good to me.
>>
>> About
>>
>>> Note that we DO need to be careful to make sure we still check
>>> constraints properly that are caused by a previous constraint, but not
>>> derived from (such as when a check causes us to check special member
>>> function generation), so we cannot use the existing logic to see if this
>>> is being instantiated.
>>
>> For the `derived from` case, I think we also end up getting the infinite recursion? Why do we disable the check for the `derived from` case?
>
> Can you clarify what you mean? I'm not sure which test case you're speaking of.
I was confused about the reason for resetting SatisfactionStack. Never mind :-). I think I understand it now.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D136975/new/
https://reviews.llvm.org/D136975
More information about the cfe-commits
mailing list