Formatting: Add support for @protocol.
Pull pieces of the @interface code into reusable methods.
llvm-svn: 172001
diff --git a/clang/lib/Format/UnwrappedLineParser.h b/clang/lib/Format/UnwrappedLineParser.h
index 28ef235..303afc2 100644
--- a/clang/lib/Format/UnwrappedLineParser.h
+++ b/clang/lib/Format/UnwrappedLineParser.h
@@ -142,7 +142,10 @@
void parseAccessSpecifier();
void parseEnum();
void parseStructOrClass();
+ void parseObjCProtocolList();
+ void parseObjCUntilAtEnd();
void parseObjCInterface();
+ void parseObjCProtocol();
void addUnwrappedLine();
bool eof() const;
void nextToken();