This is an archive of the discontinued LLVM Phabricator instance.

[LexerTest] Use LexTokensUntilEOF() in StringifyArgs
Needs ReviewPublic

Authored by Hahnfeld on Aug 21 2023, 5:08 AM.

Details

Reviewers
erichkeane
Summary

Rely on Preprocessor::LexTokensUntilEOF() and just replace tok::comma by tok::eof and push a tok::eof as the last element.

Diff Detail

Event Timeline

Hahnfeld created this revision.Aug 21 2023, 5:08 AM
Herald added a project: Restricted Project. · View Herald TranscriptAug 21 2023, 5:09 AM
Hahnfeld requested review of this revision.Aug 21 2023, 5:09 AM
Herald added a project: Restricted Project. · View Herald TranscriptAug 21 2023, 5:09 AM
Herald added a subscriber: cfe-commits. · View Herald Transcript
Hahnfeld updated this revision to Diff 556848.Sep 15 2023, 5:33 AM
Hahnfeld retitled this revision from [LexerTest] Use LexAll() in StringifyArgs to [LexerTest] Use LexTokensUntilEOF() in StringifyArgs.
Hahnfeld edited the summary of this revision. (Show Details)