[Clang][Windows] Microsoft mangling cannot handle lambda in decltype in return type #131611
Labels
clang:frontend
Language frontend issues, e.g. anything involving "Sema"
lambda
C++11 lambda expressions
Given this code:
Clang on Windows error:
Similar error happens on simpler code:
On other platforms with Itanium mangling, or if using MSVC, it can be compiled.
See https://compiler-explorer.com/z/vPz6E5ve7. (Compiler explorer seems to only have version 18 for
clang-cl
)I can reproduce this using the main branch.
The text was updated successfully, but these errors were encountered: