[PATCH] D127379: [Lex] Keep track of skipped preprocessor blocks and advance the lexer directly if they are revisited

Argyrios Kyrtzidis via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Jun 13 13:55:56 PDT 2022


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

Assert that `SkipExcludedConditionalBlock()` is not recursively called.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D127379

Files:
  clang/include/clang/Lex/Preprocessor.h
  clang/lib/Lex/PPDirectives.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D127379.436554.patch
Type: text/x-patch
Size: 5996 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20220613/240bdbb1/attachment.bin>


More information about the cfe-commits mailing list