[all-commits] [llvm/llvm-project] 1116ed: [clang-format] Correctly count a tab's width in a ...
Björn Schäpers via All-commits
all-commits at lists.llvm.org
Wed Jul 12 03:23:50 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 1116ed2beb1cd62a4b450efead481009af19df62
https://github.com/llvm/llvm-project/commit/1116ed2beb1cd62a4b450efead481009af19df62
Author: Björn Schäpers <bjoern at hazardy.de>
Date: 2023-07-12 (Wed, 12 Jul 2023)
Changed paths:
M clang/lib/Format/BreakableToken.cpp
M clang/unittests/Format/FormatTestComments.cpp
Log Message:
-----------
[clang-format] Correctly count a tab's width in a comment
It worked only correct for a tab as the first char.
Fixes https://github.com/llvm/llvm-project/issues/56769
Differential Revision: https://reviews.llvm.org/D138402
Commit: ce7356f08194083c205b92e77d1a4cd515a2a5b8
https://github.com/llvm/llvm-project/commit/ce7356f08194083c205b92e77d1a4cd515a2a5b8
Author: Björn Schäpers <bjoern at hazardy.de>
Date: 2023-07-12 (Wed, 12 Jul 2023)
Changed paths:
M clang/lib/Format/UnwrappedLineParser.cpp
Log Message:
-----------
[clang-format] Don't eat two semicolons after namespace
Remove the double check, move the comment.
This changes behavior, but I think for the better. Despite the comment
my personal opinion would be to not even gracefully handle the one
semicolon, it shouldn't be there.
Differential Revision: https://reviews.llvm.org/D138373
Compare: https://github.com/llvm/llvm-project/compare/6aa94c64a532...ce7356f08194
More information about the All-commits
mailing list