Skip to content

Handle annotations in update_lit_checks.py#8320

Merged
tlively merged 1 commit intomainfrom
update-lit-func-annotations
Feb 13, 2026
Merged

Handle annotations in update_lit_checks.py#8320
tlively merged 1 commit intomainfrom
update-lit-func-annotations

Conversation

@tlively
Copy link
Member

@tlively tlively commented Feb 13, 2026

Update the auto-update script for lit/filecheck output to handle
annotations appearing on top-level module items such as functions. When
parsing test ouput to find named items, search backward to find the
start of the annotations attached to each item. When printing the
updated file, collect annotations to be printed after the check lines
for an item have been printed.

Update the auto-update script for lit/filecheck output to handle
annotations appearing on top-level module items such as functions. When
parsing test ouput to find named items, search backward to find the
start of the annotations attached to each item. When printing the
updated file, collect annotations to be printed after the check lines
for an item have been printed.
@tlively tlively requested a review from kripken February 13, 2026 00:05
@tlively tlively enabled auto-merge (squash) February 13, 2026 00:39
@tlively tlively merged commit 916c4da into main Feb 13, 2026
17 checks passed
@tlively tlively deleted the update-lit-func-annotations branch February 13, 2026 01:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants