[all-commits] [llvm/llvm-project] 7b9d88: Revert "[clang-format] Add the possibility to alig...
Marek Kurdej via All-commits
all-commits at lists.llvm.org
Mon Jan 25 00:42:43 PST 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 7b9d88ab389e19d26432b1c1a6d57f554feb9a20
https://github.com/llvm/llvm-project/commit/7b9d88ab389e19d26432b1c1a6d57f554feb9a20
Author: Marek Kurdej <marek.kurdej at gmail.com>
Date: 2021-01-25 (Mon, 25 Jan 2021)
Changed paths:
M clang/docs/ClangFormatStyleOptions.rst
M clang/docs/ReleaseNotes.rst
M clang/docs/tools/dump_format_style.py
M clang/include/clang/Format/Format.h
M clang/lib/Format/Format.cpp
M clang/lib/Format/WhitespaceManager.cpp
M clang/unittests/Format/FormatTest.cpp
Log Message:
-----------
Revert "[clang-format] Add the possibility to align assignments spanning empty lines or comments"
This reverts commit f00a20e51c1d186e72844939aad10416e1cc99de.
Commit: 256314711f3fa724bff1bb2d8b93c5252265b5c7
https://github.com/llvm/llvm-project/commit/256314711f3fa724bff1bb2d8b93c5252265b5c7
Author: Lukas Barth <mail at lukas-barth.net>
Date: 2021-01-25 (Mon, 25 Jan 2021)
Changed paths:
M clang/docs/ClangFormatStyleOptions.rst
M clang/docs/ReleaseNotes.rst
M clang/docs/tools/dump_format_style.py
M clang/include/clang/Format/Format.h
M clang/lib/Format/Format.cpp
M clang/lib/Format/WhitespaceManager.cpp
M clang/unittests/Format/FormatTest.cpp
Log Message:
-----------
[clang-format] Add the possibility to align assignments spanning empty lines or comments
Currently, empty lines and comments break alignment of assignments on consecutive
lines. This makes the AlignConsecutiveAssignments option an enum that allows controlling
whether empty lines or empty lines and comments should be ignored when aligning
assignments.
Reviewed By: MyDeveloperDay, HazardyKnusperkeks, tinloaf
Differential Revision: https://reviews.llvm.org/D93986
Compare: https://github.com/llvm/llvm-project/compare/f00a20e51c1d...256314711f3f
More information about the All-commits
mailing list