GabrielDosReis / ipr

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

Remove `ipr::Decl::position` #199

Closed GabrielDosReis closed 2 years ago

GabrielDosReis commented 2 years ago

The operation Decl::position() was to enable indexing into a scope based on position. That model breaks down when a scope is made of pieces coming from various places (e.g. import of modules) in contemporary C++. It does not seem to have lived up to its promises. Removed thusly.