[all-commits] [llvm/llvm-project] 00dc97: [clang-format] PR48594 BraceWrapping: SplitEmptyRe...
MyDeveloperDay via All-commits
all-commits at lists.llvm.org
Sun Jan 17 03:19:34 PST 2021
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: 00dc97f16708aad67834552285c0af01b37303d6
https://github.com/llvm/llvm-project/commit/00dc97f16708aad67834552285c0af01b37303d6
Author: mydeveloperday <mydeveloperday at gmail.com>
Date: 2021-01-17 (Sun, 17 Jan 2021)
Changed paths:
M clang/lib/Format/UnwrappedLineFormatter.cpp
M clang/unittests/Format/FormatTest.cpp
M clang/unittests/Format/FormatTestCSharp.cpp
Log Message:
-----------
[clang-format] PR48594 BraceWrapping: SplitEmptyRecord ignored for templates
https://bugs.llvm.org/show_bug.cgi?id=48594
Empty or small templates were not being treated the same way as small classes especially when SplitEmptyRecord was set to true
This revision aims to help this by identifying a case when we should try not to merge the lines together
Reviewed By: curdeius, JohelEGP
Differential Revision: https://reviews.llvm.org/D93839
More information about the All-commits
mailing list