[clang] [Clang] Diagnose invalid function types in dependent contexts (PR #138731)

Yuxuan Chen via cfe-commits cfe-commits at lists.llvm.org
Thu May 8 13:59:27 PDT 2025


yuxuanchen1997 wrote:

Hi @cor3ntin, 

This patch seems to have made expression SFINAEs in variable template partial specialization an hard error: https://godbolt.org/z/3K6sh1cWM

Upstream clang rejects the program while clang-20, gcc, msvc accepted it. 

https://github.com/llvm/llvm-project/pull/138731


More information about the cfe-commits mailing list