[PATCH] D123243: [pseudo] Strip directives from a token stream

Sam McCall via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri May 6 03:11:35 PDT 2022


sammccall updated this revision to Diff 427581.
sammccall marked an inline comment as done.
sammccall added a comment.

rebase
add include to testcase
rename preprocess => strip-includes, and testcase
move print directivetree test to strip-includes.c
fix tests to not cook before parsing directivetree


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D123243

Files:
  clang-tools-extra/pseudo/include/clang-pseudo/DirectiveTree.h
  clang-tools-extra/pseudo/lib/DirectiveTree.cpp
  clang-tools-extra/pseudo/test/lex.c
  clang-tools-extra/pseudo/test/strip-directives.c
  clang-tools-extra/pseudo/tool/ClangPseudo.cpp
  clang-tools-extra/pseudo/unittests/DirectiveTreeTest.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D123243.427581.patch
Type: text/x-patch
Size: 10143 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20220506/556cd477/attachment-0001.bin>


More information about the cfe-commits mailing list