[cfe-commits] [PATCH] [patch] Formatter: Put spaces in ObjC method declarations in the right place for Google style
Daniel Jasper
djasper at google.com
Thu Jan 10 15:03:48 PST 2013
Looks good.
================
Comment at: lib/Format/Format.cpp:111
@@ -109,2 +110,3 @@
LLVMStyle.ObjCSpaceBeforeProtocolList = true;
+ LLVMStyle.ObjCSpaceBeforeReturnType = true;
return LLVMStyle;
----------------
So this controls both, whether there is a space before the return type and whether there is a space after the return type. Could we have style guides requiring other combinations?
http://llvm-reviews.chandlerc.com/D280
More information about the cfe-commits
mailing list