upsj wrote:

I just checked the AST, the necessary type information is already in there 
through the nesting of the InitListExprs
```cpp
  `-InitListExpr 0x8eccde0 <col:4, col:34> 'B'
    |-InitListExpr 0x8ecce30 <col:12, col:23> 'A'
    | |-IntegerLiteral 0x8ecc7d0 <col:12> 'int' 1
    | `-IntegerLiteral 0x8ecc7f0 <col:23> 'int' 2
    `-IntegerLiteral 0x8ecc810 <col:33> 'int' 2
```

https://github.com/llvm/llvm-project/pull/176635
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to