Rely on Preprocessor::LexTokensUntilEOF() and just replace tok::comma by tok::eof and push a tok::eof as the last element.
Details
Details
Diff Detail
Diff Detail
Unit Tests
Unit Tests
Differential D158414
[LexerTest] Use LexTokensUntilEOF() in StringifyArgs Hahnfeld on Aug 21 2023, 5:08 AM. Authored by
Details
Rely on Preprocessor::LexTokensUntilEOF() and just replace tok::comma by tok::eof and push a tok::eof as the last element.
Diff Detail
Unit Tests |