GabrielDosReis / ipr

Compiler-neutral Internal Program Representation for C++
BSD 3-Clause "New" or "Revised" License
221 stars 23 forks source link

Expand on C++ forms for initialization #292

Closed GabrielDosReis closed 1 year ago

GabrielDosReis commented 1 year ago

This patch expands on the various forms of initializers in a proclamator form for C++ source code. As a small extension, these initializer forms are capable of also representing C99's designated initializers for arrays, which is not ISO C++ but common in practice.