diff options
Diffstat (limited to 'clang/lib/Format/UnwrappedLineParser.h')
| -rw-r--r-- | clang/lib/Format/UnwrappedLineParser.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/clang/lib/Format/UnwrappedLineParser.h b/clang/lib/Format/UnwrappedLineParser.h index 3bde7819d60..63f3659706b 100644 --- a/clang/lib/Format/UnwrappedLineParser.h +++ b/clang/lib/Format/UnwrappedLineParser.h @@ -79,11 +79,12 @@ public: UnwrappedLineParser(Lexer &Lex, SourceManager &SourceMgr, UnwrappedLineConsumer &Callback); - void parse(); + /// Returns true in case of a structural error. + bool parse(); private: - void parseLevel(); - void parseBlock(); + bool parseLevel(); + bool parseBlock(); void parsePPDirective(); void parseComment(); void parseStatement(); |

