[PATCH] D154383: [UTC] Add do-not-autogenerate capability

Eli Friedman via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jul 3 12:04:40 PDT 2023


efriedma added a comment.

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.



================
Comment at: llvm/utils/UpdateTestChecks/common.py:469-470
 UTC_ARGS_CMD = re.compile(r".*" + UTC_ARGS_KEY + "\s*(?P<cmd>.*)\s*$")
 UTC_ADVERT = "NOTE: Assertions have been autogenerated by "
+UTC_AVOID = "NOTE: Do not autogenerate "
 UNUSED_NOTE = "NOTE: These prefixes are unused and the list is autogenerated. Do not add tests below this line:"
----------------
Maybe delete the trailing space?


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D154383/new/

https://reviews.llvm.org/D154383



More information about the llvm-commits mailing list