https://llvm.org/bugs/show_bug.cgi?id=31906
Bug ID: 31906 Summary: ObjC formatting: bias towards breaking between selector and arguments Product: clang Version: unspecified Hardware: PC OS: Windows NT Status: NEW Severity: normal Priority: P Component: Formatter Assignee: unassignedclangb...@nondot.org Reporter: dch...@google.com CC: djas...@google.com, kli...@google.com, llvm-bugs@lists.llvm.org Classification: Unclassified Here's the code before formatting: [destWindow setCollectionBehavior: NSWindowCollectionBehaviorMoveToActiveSpace]; item->menu_item.reset( [[NSMenuItem alloc] initWithTitle:base::SysUTF16ToNSString(title) action:nil keyEquivalent:@""]); Here's the code after formatting: [destWindow setCollectionBehavior:NSWindowCollectionBehaviorMoveToActiveSpace]; item->menu_item.reset([[NSMenuItem alloc] initWithTitle:base::SysUTF16ToNSString(title) action:nil keyEquivalent:@""]); Here's how it ought to look: [destWindow setCollectionBehavior: NSWindowCollectionBehaviorMoveToActiveSpace]; item->menu_item.reset( [[NSMenuItem alloc] initWithTitle:base::SysUTF16ToNSString(title) action:nil keyEquivalent:@""]); -- You are receiving this mail because: You are on the CC list for the bug.
_______________________________________________ llvm-bugs mailing list llvm-bugs@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs