[clang] [clang-format] Fix operator overload inconsistency in `BreakAfterAttributes: Always` (PR #74943)

via cfe-commits cfe-commits at lists.llvm.org
Sat Dec 9 13:49:01 PST 2023


================
@@ -26417,6 +26417,20 @@ TEST_F(FormatTest, BreakAfterAttributes) {
                "void g() {}",
                CtorDtorCode, Style);
 
+  Style.ReferenceAlignment = FormatStyle::ReferenceAlignmentStyle::RAS_Left;
+  constexpr StringRef OperatorOverloadCode(
----------------
XDeme wrote:

Fixed

https://github.com/llvm/llvm-project/pull/74943


More information about the cfe-commits mailing list