GabrielDosReis / ipr

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

Built-in types as `constexpr` objects #220

Closed GabrielDosReis closed 2 years ago

GabrielDosReis commented 2 years ago

This patch moves the representation of elementary, built-in types to be constexpr objects instead of being dynamically constructed at startup time. In addition to improving reliability, it simplifies the structure of the implementation.