[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:12:11 PDT 2022
ychen added inline comments.
================
Comment at: clang/lib/Sema/SemaInit.cpp:4012
+ // Avoid an infinite template expansion loop in requirements checking by
+ // skipping the conversion functions check.
----------------
Would be better to check this lazily (inside the if statement below).
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