[PATCH] D111000: [clang-format] allow clang-format to be passed a file of filenames so we can add a regression suite of "clean clang-formatted files" from LLVM
Paul Robinson via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Thu Sep 29 12:00:42 PDT 2022
probinson added a comment.
In D111000#3822354 <https://reviews.llvm.org/D111000#3822354>, @ychen wrote:
> It is possible to just use `clang-format @response.txt`? That should also invoke the executable once.
It's true that whatever file you're handing to `--files` could just as easily be specified with `@file.txt`. `--files` could be removed and whatever script is driving it could be fixed accordingly. The argument to `--files` is really just a limited form of response file (you can't put options into it).
@MyDeveloperDay WDYT?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D111000/new/
https://reviews.llvm.org/D111000
More information about the cfe-commits
mailing list