[clang-tools-extra] [clang-apply-replacements] Apply format only if --format is specified (PR #70801)

Malcolm Parsons via cfe-commits cfe-commits at lists.llvm.org
Thu Nov 23 07:31:55 PST 2023


pepsiman wrote:

`createReplacementsForHeaders()` is applying a cleanup without checking the `Cleanup` flag.
But clang-apply-replacements always sets `Cleanup` to `true` anyway.
The change looks good to me, but it might be working around a bug elsewhere.

https://github.com/llvm/llvm-project/pull/70801


More information about the cfe-commits mailing list