clang-apply-replacements leaves behind commas when it removes multiple member initializers, whereas clang-tidy cleans them up. * This file: struct S { S() : a_(false), b_(false) {} bool a_; bool b_; }; * is transformed to this: struct S { S() : , {} bool a_ = false; bool b_ = false; }; * When running this command: $llvm_src/tools/clang/tools/extra/clang-tidy/tool/run-clang-tidy.py -p ../ -clang-tidy-binary $llvm_out/bin/clang-tidy -clang-apply-replacements-binary $llvm_out/bin/clang-apply-replacements -fix
FTR, patch at: https://reviews.llvm.org/D43500