[clang] [clang-format] Fix operator overload inconsistency in `BreakAfterAttributes: Always` (PR #74943)
Björn Schäpers via cfe-commits
cfe-commits at lists.llvm.org
Sat Dec 9 10:18:19 PST 2023
================
@@ -26417,6 +26417,20 @@ TEST_F(FormatTest, BreakAfterAttributes) {
"void g() {}",
CtorDtorCode, Style);
+ Style.ReferenceAlignment = FormatStyle::ReferenceAlignmentStyle::RAS_Left;
----------------
HazardyKnusperkeks wrote:
You are changing the style for all following tests. (Although it may not have an effect on them.) I don't think you should do that.
Put your test at the bottom, or restore the value.
https://github.com/llvm/llvm-project/pull/74943
More information about the cfe-commits
mailing list