summaryrefslogtreecommitdiffstats
path: root/clang/lib/Format/UnwrappedLineParser.h
diff options
context:
space:
mode:
authorNico Weber <nicolasweber@gmx.de>2013-01-09 20:25:35 +0000
committerNico Weber <nicolasweber@gmx.de>2013-01-09 20:25:35 +0000
commit7eecf4b6e3c7d9ccc29df528fc746b1e9d18ec88 (patch)
tree2a5d001c955431b20f765bf1847fce83aed26545 /clang/lib/Format/UnwrappedLineParser.h
parent46e432fb8a6fe09db852a85091cdb7aa5684a041 (diff)
downloadbcm5719-llvm-7eecf4b6e3c7d9ccc29df528fc746b1e9d18ec88.tar.gz
bcm5719-llvm-7eecf4b6e3c7d9ccc29df528fc746b1e9d18ec88.zip
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. llvm-svn: 171995
Diffstat (limited to 'clang/lib/Format/UnwrappedLineParser.h')
-rw-r--r--clang/lib/Format/UnwrappedLineParser.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/clang/lib/Format/UnwrappedLineParser.h b/clang/lib/Format/UnwrappedLineParser.h
index 500054fe9a2..28ef2351900 100644
--- a/clang/lib/Format/UnwrappedLineParser.h
+++ b/clang/lib/Format/UnwrappedLineParser.h
@@ -142,6 +142,7 @@ private:
void parseAccessSpecifier();
void parseEnum();
void parseStructOrClass();
+ void parseObjCInterface();
void addUnwrappedLine();
bool eof() const;
void nextToken();
OpenPOWER on IntegriCloud