[PATCH] D133357: [Lex/DependencyDirectivesScanner] Keep track of the presence of tokens between the last scanned directive and EOF

Argyrios Kyrtzidis via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Sep 6 22:20:54 PDT 2022


akyrtzi updated this revision to Diff 458360.
akyrtzi added a comment.

Always print `tokens_present_before_eof` and print it as "<TokBeforeEOF>" for clarity.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D133357

Files:
  clang/include/clang/Lex/DependencyDirectivesScanner.h
  clang/lib/Lex/DependencyDirectivesScanner.cpp
  clang/lib/Lex/Lexer.cpp
  clang/unittests/Lex/CMakeLists.txt
  clang/unittests/Lex/DependencyDirectivesScannerTest.cpp
  clang/unittests/Lex/PPDependencyDirectivesTest.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D133357.458360.patch
Type: text/x-patch
Size: 16295 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20220907/fbb4ecfd/attachment-0001.bin>


More information about the cfe-commits mailing list