I have a large code base that I want to standardise the indent width for. How can I do this with clang-format without making other changes?
Passing -style='{IndentWidth: 2}'
to clang-format
makes other changes to the source files as -dump-config
implies.