This is an archive of the discontinued LLVM Phabricator instance.

[UTC] Add do-not-autogenerate capability
ClosedPublic

Authored by probinson on Jul 3 2023, 11:44 AM.

Details

Summary

A file with manual checks that should be preserved can now be
protected against accidental updates by a script.

Diff Detail

Event Timeline

probinson created this revision.Jul 3 2023, 11:44 AM
Herald added a project: Restricted Project. · View Herald TranscriptJul 3 2023, 11:44 AM
Herald added a subscriber: arichardson. · View Herald Transcript
probinson requested review of this revision.Jul 3 2023, 11:44 AM
Herald added a project: Restricted Project. · View Herald TranscriptJul 3 2023, 11:44 AM

If there is someplace where tests and/or documentation live that should be updated, let me know, a casual look didn't turn up anything.

We have a small section in the documentation describing generated assertions: https://llvm.org/docs/TestingGuide.html#generating-assertions-in-regression-tests . If you want to try to expand it a bit, that could be useful.

llvm/utils/UpdateTestChecks/common.py
473–475

Maybe delete the trailing space?

probinson updated this revision to Diff 537752.Jul 6 2023, 8:54 AM

Update docs; remove trailing space from the key string.

probinson marked an inline comment as done.Jul 6 2023, 8:54 AM
efriedma accepted this revision.Jul 6 2023, 9:48 AM

LGTM

This revision is now accepted and ready to land.Jul 6 2023, 9:48 AM
This revision was automatically updated to reflect the committed changes.