[clang] [Clang] Do not create dependent CallExpr having UnresolvedLookupExpr inside non-dependent context (PR #124609)

Matheus Izvekov via cfe-commits cfe-commits at lists.llvm.org
Thu Mar 20 14:01:50 PDT 2025


mizvekov wrote:

Clang does crash with one of the included test cases, if you try to actually use the function: https://godbolt.org/z/e6e6Ehjoj

My reading is that using a static function with placeholder type before it has been deduced is ill-formed, per https://eel.is/c++draft/dcl.spec.auto#general-13

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


More information about the cfe-commits mailing list