-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove Parse::Node, add ElementIndex in docs for typed insts (#4604)
The documentation still referred to typed instructions having a Parse::Node field, however that was removed and moved to the InstStore in f197219. Then GetParseNode() was renamed to GetNodeId() in 86a7c9f and then GetLocationId() in b079acd and finally GetLocId() in b5d28f2. The comment in typed_inst.h mentions only three fields now, but some types still have four, thanks to the unmentioned `ElementIndex index` field. Normally this field comes last, after the `[...]Id` fields except for in one case, AssociatedEntity. Rather than write ambiguously ordered documentation, update the comment to and docs to say that the ElementIndex comes last, and move it to the last position in AssociatedEntity. Tests are rebased accordingly. --------- Co-authored-by: Richard Smith <[email protected]>
- Loading branch information
Showing
3 changed files
with
38 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters