This is an archive of the discontinued LLVM Phabricator instance.

[NFC] Update formatting of some symbolizer tests
ClosedPublic

Authored by sepavloff on Jul 21 2023, 4:46 AM.

Details

Summary

These tests are touched in D149757 and to reduce the number of changes
in that patch, the tests are updated here. The test format is fixed
according to the rules:

  • # for actual comments;
  • RUN and CHECK lines are specified without #;
  • all comment markers should have a space between them and the rest of the line (e.g. # This is a comment).

In some cases lines are reordered to make CHECK commands closer to the
corresponding RUN lines.

No other changes are made.

Diff Detail

Event Timeline

sepavloff created this revision.Jul 21 2023, 4:46 AM
Herald added a project: Restricted Project. · View Herald TranscriptJul 21 2023, 4:46 AM
sepavloff requested review of this revision.Jul 21 2023, 4:46 AM
Herald added a project: Restricted Project. · View Herald TranscriptJul 21 2023, 4:46 AM

(personally, I'd probably standardize on not prefixing everything with # since it just means /everything/ in the file is prefixed, so it maybe doesn't add value?)

(personally, I'd probably standardize on not prefixing everything with # since it just means /everything/ in the file is prefixed, so it maybe doesn't add value?)

I'm happy to do it this way (I personally have no preference, as long as comments are clearly distinguished from real lit/FileCheck stuff). You can reduce the diff size whilst still maintaining this clear distinction by following @dblaikie's approach, at least with some of the tests.

sepavloff updated this revision to Diff 547588.Aug 6 2023, 9:12 AM

Change rules for .test files

sepavloff edited the summary of this revision. (Show Details)Aug 6 2023, 9:13 AM
jhenderson accepted this revision.Aug 7 2023, 12:44 AM

LGTM. Thanks for the improvement!

This revision is now accepted and ready to land.Aug 7 2023, 12:44 AM
This revision was automatically updated to reflect the committed changes.