]> granicus.if.org Git - clang/commit
Formatting: In @implementation etc lines, put a space before protocol lists.
authorNico Weber <nicolasweber@gmx.de>
Thu, 10 Jan 2013 20:12:55 +0000 (20:12 +0000)
committerNico Weber <nicolasweber@gmx.de>
Thu, 10 Jan 2013 20:12:55 +0000 (20:12 +0000)
commit5f500df1b28e6b1c49d4256dda130ecd8696ea2e
tree8cbbe4aa95069fc949286f67bae3d0b5a11eadf0
parentf9ea2ed30a8dec954f3d78ca43afc0be914bb1db
Formatting: In @implementation etc lines, put a space before protocol lists.

Don't do this in Google style though:
http://google-styleguide.googlecode.com/svn/trunk/objcguide.xml#Protocols

Most other places (function declarations, variable declarations) still get
this wrong, and since this looks very similiar to template instantiations to
the lexer (`id <MyProtocol> a = ...`), it's going to be hard to fix in some
places.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@172099 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Format/Format.cpp
test/Index/comment-objc-decls.m
unittests/Format/FormatTest.cpp