[all-commits] [llvm/llvm-project] 6cb288: [clang-format] [NFC] Use some constexpr StringRef
Björn Schäpers via All-commits
all-commits at lists.llvm.org
Mon Jan 25 12:08:26 PST 2021
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: 6cb288797122ad931aba91e05030c24984e1031c
https://github.com/llvm/llvm-project/commit/6cb288797122ad931aba91e05030c24984e1031c
Author: Björn Schäpers <bjoern at hazardy.de>
Date: 2021-01-25 (Mon, 25 Jan 2021)
Changed paths:
M clang/lib/Format/BreakableToken.cpp
Log Message:
-----------
[clang-format] [NFC] Use some constexpr StringRef
Instead of const char*.
Differential Revision: https://reviews.llvm.org/D95078
Commit: 7c8b9c102f38a4d29ac56ef7bd1da003f03900d0
https://github.com/llvm/llvm-project/commit/7c8b9c102f38a4d29ac56ef7bd1da003f03900d0
Author: Björn Schäpers <bjoern at hazardy.de>
Date: 2021-01-25 (Mon, 25 Jan 2021)
Changed paths:
M clang/lib/Format/BreakableToken.cpp
Log Message:
-----------
[clang-format] [NFC] Restructure getLineCommentIndentPrefix
When sorting the known prefixes after length the if in the loop will hit
at most once, so we can return from there.
Also replace the inner loop with an algorithm, that makes it more
readable.
Differential Revision: https://reviews.llvm.org/D95081
Commit: 9aa38a0615119a7a9f3bee33a2b8915c45f1cab9
https://github.com/llvm/llvm-project/commit/9aa38a0615119a7a9f3bee33a2b8915c45f1cab9
Author: Björn Schäpers <bjoern at hazardy.de>
Date: 2021-01-25 (Mon, 25 Jan 2021)
Changed paths:
M clang/lib/Format/BreakableToken.cpp
M clang/lib/Format/BreakableToken.h
M clang/lib/Format/ContinuationIndenter.cpp
Log Message:
-----------
[clang-format] [NFC] Remove unsued arguments
Commit: 60bf5826cfd3629b5200a8ab743d701c90f66af0
https://github.com/llvm/llvm-project/commit/60bf5826cfd3629b5200a8ab743d701c90f66af0
Author: Albertas Vyšniauskas <thezbyg at gmail.com>
Date: 2021-01-25 (Mon, 25 Jan 2021)
Changed paths:
M clang/docs/ClangFormatStyleOptions.rst
M clang/include/clang/Format/Format.h
M clang/lib/Format/Format.cpp
M clang/lib/Format/UnwrappedLineFormatter.cpp
A clang/test/Format/access-modifiers.cpp
M clang/unittests/Format/FormatTest.cpp
Log Message:
-----------
[clang-format] PR16518 Add flag to suppress empty line insertion before access modifier
Add new option called InsertEmptyLineBeforeAccessModifier. Empty line
before access modifier is inerted if this option is set to true (which
is the default value, because clang-format always inserts empty lines
before access modifiers), otherwise empty lines are removed.
Fixes issue #16518.
Differential Revision: https://reviews.llvm.org/D93846
Commit: f02eca0f3feffc5e1afb92eeb4cfc23b9f28aa25
https://github.com/llvm/llvm-project/commit/f02eca0f3feffc5e1afb92eeb4cfc23b9f28aa25
Author: Björn Schäpers <bjoern at hazardy.de>
Date: 2021-01-25 (Mon, 25 Jan 2021)
Changed paths:
M clang/docs/ClangFormatStyleOptions.rst
Log Message:
-----------
[clang-format] [NFC] Rerun dump_format_style.py
Compare: https://github.com/llvm/llvm-project/compare/53176c168061...f02eca0f3fef
More information about the All-commits
mailing list