[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 10:55:42 PDT 2022


ychen added a comment.

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?


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D136975/new/

https://reviews.llvm.org/D136975



More information about the cfe-commits mailing list