This is an archive of the discontinued LLVM Phabricator instance.

[pseudo] Eliminate LRTable::Action. NFC
ClosedPublic

Authored by sammccall on Jul 4 2022, 11:35 AM.

Details

Summary

The last remaining uses are in tests/test builders.
Replace with a builder struct.

Diff Detail

Event Timeline

sammccall created this revision.Jul 4 2022, 11:35 AM
Herald added a project: Restricted Project. · View Herald TranscriptJul 4 2022, 11:35 AM
Herald added a subscriber: mgrang. · View Herald Transcript
sammccall requested review of this revision.Jul 4 2022, 11:35 AM
Herald added a project: Restricted Project. · View Herald TranscriptJul 4 2022, 11:35 AM
hokein accepted this revision.Jul 5 2022, 3:27 AM
hokein added inline comments.
clang-tools-extra/pseudo/include/clang-pseudo/grammar/LRTable.h
84

I think this comment has some value, it is worth to keep it in some form (might be append to the LRTable class comment).

This revision is now accepted and ready to land.Jul 5 2022, 3:27 AM
This revision was automatically updated to reflect the committed changes.
sammccall marked an inline comment as done.