diff options
author | Daniel Jasper <djasper@google.com> | 2015-05-31 08:51:54 +0000 |
---|---|---|
committer | Daniel Jasper <djasper@google.com> | 2015-05-31 08:51:54 +0000 |
commit | be520bd1a609778bcadd1adecd22ee2f3cb16c07 (patch) | |
tree | ab096228864f895a1f0640480942e520aaca99f2 /clang/lib/Format/UnwrappedLineParser.h | |
parent | cd8d4ff98598b3234181e826a7a900eecf9bd455 (diff) | |
download | bcm5719-llvm-be520bd1a609778bcadd1adecd22ee2f3cb16c07.tar.gz bcm5719-llvm-be520bd1a609778bcadd1adecd22ee2f3cb16c07.zip |
clang-format: NFC. Cleanup after r237895.
Specifically adhere to LLVM Coding Standards (no 'else' after
return/break/continue) and remove yet another implementation of
paren counting. We already have enough of those in the
UnwrappedLineParser.
No functional changes intended.
llvm-svn: 238672
Diffstat (limited to 'clang/lib/Format/UnwrappedLineParser.h')
-rw-r--r-- | clang/lib/Format/UnwrappedLineParser.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/clang/lib/Format/UnwrappedLineParser.h b/clang/lib/Format/UnwrappedLineParser.h index 6a6e56fea02..c2fa0295768 100644 --- a/clang/lib/Format/UnwrappedLineParser.h +++ b/clang/lib/Format/UnwrappedLineParser.h @@ -107,11 +107,6 @@ private: bool tryToParseLambda(); bool tryToParseLambdaIntroducer(); void tryToParseJSFunction(); - /// \brief Parses tokens until encountering the CloseKind token, but balances - /// tokens when encountering more OpenKind tokens. Useful for e.g. parsing a - /// curly brace delimited block that can contain nested blocks. - /// The parser must be positioned on a token of OpenKind. - void parseBalanced(tok::TokenKind OpenKind, tok::TokenKind CloseKind); void addUnwrappedLine(); bool eof() const; void nextToken(); |