summaryrefslogtreecommitdiffstats
path: root/clang/test/Sema/constructor-attribute.c
diff options
context:
space:
mode:
authorDaniel Jasper <djasper@google.com>2013-11-21 01:46:33 +0000
committerDaniel Jasper <djasper@google.com>2013-11-21 01:46:33 +0000
commita78d7d45022522f9bb04ee2ac801222f93a48e86 (patch)
treef6b2dfd2ee1647d731de8463e7c511f01cc3778d /clang/test/Sema/constructor-attribute.c
parent29b8fc4da9abc1c599899c3cd90dfb88fcd71562 (diff)
downloadbcm5719-llvm-a78d7d45022522f9bb04ee2ac801222f93a48e86.tar.gz
bcm5719-llvm-a78d7d45022522f9bb04ee2ac801222f93a48e86.zip
clang-format: Improve formatting of ObjC method expressions.
In particular, make breaking after a parameter's ":" more of a last resort choice as it significantly affects the readability gained by aligning the parameters. Before (in Chromium style - which doesn't allow bin-packing): { popup_window_.reset([[RenderWidgetPopupWindow alloc] initWithContentRect: NSMakeRect( origin_global.x, origin_global.y, pos.width(), pos.height()) styleMask:NSBorderlessWindowMask backing:NSBackingStoreBuffered defer:NO]); } After: { popup_window_.reset([[RenderWidgetPopupWindow alloc] initWithContentRect:NSMakeRect(origin_global.x, origin_global.y, pos.width(), pos.height()) styleMask:NSBorderlessWindowMask backing:NSBackingStoreBuffered defer:NO]); } llvm-svn: 195301
Diffstat (limited to 'clang/test/Sema/constructor-attribute.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud