if you use clang-format on the whole file, if it's something already existing, it might also format code that has not been changed.
Afaik the decision has been taken due to different clang-format versions having a different output with the same configuration.. so to avoid noise in the diff, only modified lines are formatted.