]> granicus.if.org Git - clang/commit
Formatter: Add support for @interface.
authorNico Weber <nicolasweber@gmx.de>
Wed, 9 Jan 2013 20:25:35 +0000 (20:25 +0000)
committerNico Weber <nicolasweber@gmx.de>
Wed, 9 Jan 2013 20:25:35 +0000 (20:25 +0000)
commit27d1367871a6eab347346497e87ea1adb2fd15a5
treec87bd5b78c37c01a6117e1213a378993bb7043a5
parentccdb2a5e0ab4b0a7fc9d3859c6bb1676182169d5
Formatter: Add support for @interface.

Previously:
@interface Foo + (id)init; @end

Now:
@interface Foo
+ (id)init;
@end

Some tweaking remains, but this is a good first step.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@171995 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Format/UnwrappedLineParser.cpp
lib/Format/UnwrappedLineParser.h
unittests/Format/FormatTest.cpp