[all-commits] [llvm/llvm-project] 5efa84: [clang-format] Don't align comments over scopes
Björn Schäpers via All-commits
all-commits at lists.llvm.org
Wed Oct 25 03:50:28 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 5efa84cf6feaaa03e6325836f89503b0ab2be0d8
https://github.com/llvm/llvm-project/commit/5efa84cf6feaaa03e6325836f89503b0ab2be0d8
Author: Björn Schäpers <bjoern at hazardy.de>
Date: 2023-10-25 (Wed, 25 Oct 2023)
Changed paths:
M clang/docs/ClangFormatStyleOptions.rst
M clang/include/clang/Format/Format.h
M clang/lib/Format/WhitespaceManager.cpp
M clang/unittests/Format/FormatTestComments.cpp
Log Message:
-----------
[clang-format] Don't align comments over scopes
We now stop aligning trailing comments on all closing braces, for
classes etc. we even check for the semicolon between the comment and the
brace.
Fixes #67906.
More information about the All-commits
mailing list