[PATCH] D104462: [clang][lex] Add minimizer option to pad the output to the input size

Jan Svoboda via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Jun 17 07:25:47 PDT 2021


jansvoboda11 created this revision.
jansvoboda11 added reviewers: Bigcheese, dexonsmith, arphaman.
jansvoboda11 requested review of this revision.
Herald added a project: clang.
Herald added a subscriber: cfe-commits.

This patch adds a configuration point to the source minimizer to pad the output to the input size with whitespace. This is useful in Dxxxxxx.

Depends on D104459 <https://reviews.llvm.org/D104459>.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D104462

Files:
  clang/include/clang/Lex/DependencyDirectivesSourceMinimizer.h
  clang/lib/Lex/DependencyDirectivesSourceMinimizer.cpp
  clang/unittests/Lex/DependencyDirectivesSourceMinimizerTest.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D104462.352716.patch
Type: text/x-patch
Size: 28329 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20210617/66a55402/attachment-0001.bin>


More information about the cfe-commits mailing list