[clang] [Clang] Fix handling of brace ellison when building deduction guides (PR #94889)
Haojian Wu via cfe-commits
cfe-commits at lists.llvm.org
Tue Jun 11 06:34:14 PDT 2024
================
@@ -335,3 +335,73 @@ namespace TTP {
// CHECK-NEXT: `-TemplateArgument type 'T':'type-parameter-0-0'{{$}}
// CHECK-NEXT: `-TemplateTypeParmType {{.+}} 'T' dependent depth 0 index 0{{$}}
// CHECK-NEXT: `-TemplateTypeParm {{.+}} 'T'{{$}}
+
+namespace GH64625 {
+
+template <class T> struct X {
----------------
hokein wrote:
Can you add a test with multiple array members? like
```
template <class T> struct X {
T t1[2];
T t2[3];
};
X x = {{1, 2}, {3, 4, 5}};
```
https://github.com/llvm/llvm-project/pull/94889
More information about the cfe-commits
mailing list