This is an archive of the discontinued LLVM Phabricator instance.

[FileCheck] Added documentation for --allow-unused-prefixes
ClosedPublic

Authored by mtrofin on Nov 2 2020, 8:54 AM.

Diff Detail

Event Timeline

mtrofin created this revision.Nov 2 2020, 8:54 AM
Herald added a project: Restricted Project. · View Herald TranscriptNov 2 2020, 8:54 AM
mtrofin requested review of this revision.Nov 2 2020, 8:54 AM
thopre added inline comments.Nov 2 2020, 9:58 AM
llvm/docs/CommandGuide/FileCheck.rst
69–70

Nit: Although this is common sense, the phrasing doesn't look like it includes the case of one --check-prefix and one --check-prefixes with a single value. How about:

This option controls the behavior when using more than one prefix as specified by :option:--check-prefix or :option:--check-prefixes and some of these prefixes are missing in the test file.

Rest is fine.

mtrofin marked an inline comment as done.Nov 2 2020, 10:31 AM
thopre accepted this revision.Nov 2 2020, 12:09 PM

LGTM, thanks!

This revision is now accepted and ready to land.Nov 2 2020, 12:09 PM
This revision was landed with ongoing or failed builds.Nov 2 2020, 12:16 PM
This revision was automatically updated to reflect the committed changes.
jhenderson added inline comments.Nov 3 2020, 12:44 AM
llvm/docs/CommandGuide/FileCheck.rst
72

Nit. Feel free to directly commit that fix.

mtrofin marked an inline comment as done.Nov 3 2020, 7:10 AM