With different clang-format versions between CI and the development machine, the check-format step might fail as clang-format will generate different outputs even with the same .clang-format file.
References: https://stackoverflow.com/questions/59395507/how-to-maintain-a-clang-format-file-for-different-clang-format-versions
With different
clang-formatversions between CI and the development machine, thecheck-formatstep might fail asclang-formatwill generate different outputs even with the same.clang-formatfile.References: https://stackoverflow.com/questions/59395507/how-to-maintain-a-clang-format-file-for-different-clang-format-versions