]> granicus.if.org Git - clang/commit
Formatter: Add space before '(' in @implemenation, @interface, @protocol lines
authorNico Weber <nicolasweber@gmx.de>
Thu, 10 Jan 2013 19:19:14 +0000 (19:19 +0000)
committerNico Weber <nicolasweber@gmx.de>
Thu, 10 Jan 2013 19:19:14 +0000 (19:19 +0000)
commited91bbaa8c4c92a1c94c9a7a5f4141551718cf6b
tree1f120c5e44c207bcf3fa215827cef3f44532e120
parent94fc6f15d99a16abe6c28a7baa3f2358450920d1
Formatter: Add space before '(' in @implemenation, @interface, @protocol lines

The first token in @implementation, @interface, and @protocol lines is now
marked TT_ObjCDecl, and lines starting with a TT_ObjCDecl token are now marked
LT_ObjCMethodDecl.

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