summaryrefslogtreecommitdiffstats
path: root/lib/Format/UnwrappedLineParser.h
diff options
context:
space:
mode:
authorManuel Klimek <klimek@google.com>2014-01-24 09:25:23 +0000
committerManuel Klimek <klimek@google.com>2014-01-24 09:25:23 +0000
commit41628991fe36952cdc9268bec6dacbc60e4cff64 (patch)
tree545445057e9f3c899336790b6ad7218cb5d991ae /lib/Format/UnwrappedLineParser.h
parent8ec1366ea884bc60a49f642260c087e3704694ab (diff)
Get rid of special parsing for return statements.
This was done when we were not able to parse lambdas to handle some edge cases for block formatting different in return statements, but is not necessary any more. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@199982 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Format/UnwrappedLineParser.h')
-rw-r--r--lib/Format/UnwrappedLineParser.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/Format/UnwrappedLineParser.h b/lib/Format/UnwrappedLineParser.h
index a235960c79..ce48de2d4f 100644
--- a/lib/Format/UnwrappedLineParser.h
+++ b/lib/Format/UnwrappedLineParser.h
@@ -82,7 +82,6 @@ private:
void parseStructuralElement();
bool tryToParseBracedList();
bool parseBracedList(bool ContinueOnSemicolons = false);
- void parseReturn();
void parseParens();
void parseSquare();
void parseIfThenElse();