Skip to content

[TableGen] Track location for Inits #121792

@jurahul

Description

@jurahul

TableGen's Init and subclasses do not track locations. This issue is to enhance the Init to also track its location. Currently, the Init nodes are uniqued using a FoldingSet, so we can either do away with that or add an indirection so that an Init node is its location + a pointer to the uniqued "contents".

Once locations are tracked for Inits, we also need to enhance the error reporting to use these locations.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions