summaryrefslogtreecommitdiffstats
path: root/clang/lib/Format/UnwrappedLineParser.h
diff options
context:
space:
mode:
authorDaniel Jasper <djasper@google.com>2015-05-31 08:51:54 +0000
committerDaniel Jasper <djasper@google.com>2015-05-31 08:51:54 +0000
commitbe520bd1a609778bcadd1adecd22ee2f3cb16c07 (patch)
treeab096228864f895a1f0640480942e520aaca99f2 /clang/lib/Format/UnwrappedLineParser.h
parentcd8d4ff98598b3234181e826a7a900eecf9bd455 (diff)
downloadbcm5719-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.h5
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();
OpenPOWER on IntegriCloud