[clang] [Clang] Tolerate constant evaluation failure when transforming SubstNonTypeTemplateParmExpr in unevaluated contexts (PR #196791)
Younan Zhang via cfe-commits
cfe-commits at lists.llvm.org
Sun May 10 04:50:17 PDT 2026
================
@@ -543,6 +543,7 @@ Bug Fixes in This Version
- Fixed a crash when parsing invalid ``static_assert`` declarations with string-literal messages (#GH187690).
- Fixed a potential stack-use-after-return issue in Clang when copy-initializing
an array via an element-at-a-time copy loop (#GH192026)
+- Fixed a regression where calling a function that takes a class-type parameter by value inside ``decltype`` of a concept could be incorrectly rejected when used as a non-type template argument. (#GH175831)
----------------
zyn0217 wrote:
We might want to backport it to clang 22 if possible, as it breaks mpunits in some way
https://github.com/llvm/llvm-project/pull/196791
More information about the cfe-commits
mailing list