The qualifier alignment fixer appeared to ignore any ranges specified for limiting formatting.
This change ensures that it only formats affected lines to avoid unexpected changes as reported by:
https://github.com/llvm/llvm-project/issues/54888
Details
Details
Diff Detail
Diff Detail
Event Timeline
Comment Actions
Thanks for the patch...this tells me people are starting to use this feature in anger!! i.e. your formatting via git-clang-format (which is brave!) ;-) which means you have the code modifying features perhaps on my default...
LGTM, if you will need someone to land this for you we'll need your name and email address, if not please wait for @owenpan
Comment Actions
Thanks for the reviews.
Yes formatting modifications by default seems to work well when working on older codebases where applying changes to the whole file hides the real intent of a change.
Please submit this for me with the details Colin Ogilvie colin.ogilvie@kdab.com