[PATCH] D133052: [clang] Avoid crash when expanding conversion templates in concepts.

Yuanfang Chen via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Sep 1 17:33:16 PDT 2022


ychen requested changes to this revision.
ychen added a comment.
This revision now requires changes to proceed.

Oh, one more thing, we probably need to handle nested levels too, for example, `foo(a);` might be triggered by a template which may be in turn triggered by the concept check. So only checking `S.CodeSynthesisContexts.back()` seems not enough. We need to check if we're in concept check context regardless of instantiation levels.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D133052



More information about the cfe-commits mailing list