[clang] [clang-format] Add ObjCSpaceBeforeMethodDeclColon option to control space before Objective-C method return type (PR #170579)

Björn Schäpers via cfe-commits cfe-commits at lists.llvm.org
Sat Dec 6 12:32:58 PST 2025


================
@@ -5778,6 +5783,7 @@ struct FormatStyle {
            ObjCPropertyAttributeOrder == R.ObjCPropertyAttributeOrder &&
            ObjCSpaceAfterProperty == R.ObjCSpaceAfterProperty &&
            ObjCSpaceBeforeProtocolList == R.ObjCSpaceBeforeProtocolList &&
+           ObjCSpaceBeforeMethodDeclColon == R.ObjCSpaceBeforeMethodDeclColon &&
----------------
HazardyKnusperkeks wrote:

Still one line up. :)

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


More information about the cfe-commits mailing list