[PATCH] D158413: [Lex] Introduce Preprocessor::LexTokensUntilEOF()

Aaron Ballman via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Oct 4 07:02:44 PDT 2023


aaron.ballman accepted this revision.
aaron.ballman added a comment.
This revision is now accepted and ready to land.

LGTM aside from a minor naming nit. I think finding a way to unify with `SkipUntil` would be good follow-up work, though.



================
Comment at: clang/lib/Lex/Preprocessor.cpp:1000
+  while (1) {
+    Token tok;
+    Lex(tok);
----------------
Minor naming convention nit.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D158413/new/

https://reviews.llvm.org/D158413



More information about the cfe-commits mailing list