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

Jonas Hahnfeld via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Sep 15 01:13:53 PDT 2023


Hahnfeld updated this revision to Diff 556834.
Hahnfeld marked an inline comment as done.
Hahnfeld added a comment.

Handle all of `tok::unknown, tok::eof, tok::eod`.


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

https://reviews.llvm.org/D158413

Files:
  clang/include/clang/Lex/Preprocessor.h
  clang/lib/Lex/Preprocessor.cpp
  clang/unittests/Analysis/MacroExpansionContextTest.cpp
  clang/unittests/Basic/SourceManagerTest.cpp
  clang/unittests/Lex/LexerTest.cpp
  clang/unittests/Lex/ModuleDeclStateTest.cpp
  clang/unittests/Lex/PPCallbacksTest.cpp
  clang/unittests/Lex/PPConditionalDirectiveRecordTest.cpp
  clang/unittests/Lex/PPDependencyDirectivesTest.cpp
  clang/unittests/Lex/PPMemoryAllocationsTest.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D158413.556834.patch
Type: text/x-patch
Size: 7937 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20230915/0deb825e/attachment-0001.bin>


More information about the cfe-commits mailing list