[all-commits] [llvm/llvm-project] f3dcd3: [clang-format] Correctly limit formatted ranges wh...
Colin Ogilvie via All-commits
all-commits at lists.llvm.org
Thu May 4 02:59:38 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: f3dcd3ad992c82be4f652fd2aac6b0ef414566a2
https://github.com/llvm/llvm-project/commit/f3dcd3ad992c82be4f652fd2aac6b0ef414566a2
Author: Colin Ogilvie <colin.ogilvie at kdab.com>
Date: 2023-05-04 (Thu, 04 May 2023)
Changed paths:
M clang/lib/Format/QualifierAlignmentFixer.cpp
M clang/unittests/Format/QualifierFixerTest.cpp
Log Message:
-----------
[clang-format] Correctly limit formatted ranges when specifying qualifier alignment
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.
Fixes #54888.
Differential Revision: https://reviews.llvm.org/D149643
More information about the All-commits
mailing list