[clang] [Clang] Correctly propagate type aliases' unexpanded flags up to lambda (PR #122875)
Shafik Yaghmour via cfe-commits
cfe-commits at lists.llvm.org
Thu Jan 16 17:45:33 PST 2025
================
@@ -47,6 +49,10 @@ template <class = void> void f() {
}(), ...);
}(1, 2);
+ []<class... Is>(Is...) {
+ ([] { using T = ElementType<Is>; }(), ...);
----------------
shafik wrote:
Out of curiosity were applying the `getCanonicalType` to `T` and getting `int` while we really wanted `ElementType<Is>`?
https://github.com/llvm/llvm-project/pull/122875
More information about the cfe-commits
mailing list