diff options
author | Daniel Jasper <djasper@google.com> | 2015-01-19 10:50:08 +0000 |
---|---|---|
committer | Daniel Jasper <djasper@google.com> | 2015-01-19 10:50:08 +0000 |
commit | b1567c106f6baa4f34174c09bf8adf03d2c28cef (patch) | |
tree | 0a67c3eddcc5243513398292f2e9b030f1419cf7 /clang/lib/Format | |
parent | 7a95ce4399a988821ce2637fd37d1dac93bc2e31 (diff) | |
download | bcm5719-llvm-b1567c106f6baa4f34174c09bf8adf03d2c28cef.tar.gz bcm5719-llvm-b1567c106f6baa4f34174c09bf8adf03d2c28cef.zip |
clang-format: Remove assert that isn't helpful.
This assert would trigger on:
#d , = }
llvm-svn: 226446
Diffstat (limited to 'clang/lib/Format')
-rw-r--r-- | clang/lib/Format/ContinuationIndenter.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/clang/lib/Format/ContinuationIndenter.cpp b/clang/lib/Format/ContinuationIndenter.cpp index 4cc92b02a9e..4b5ad599734 100644 --- a/clang/lib/Format/ContinuationIndenter.cpp +++ b/clang/lib/Format/ContinuationIndenter.cpp @@ -783,7 +783,6 @@ void ContinuationIndenter::moveStatePastFakeLParens(LineState &State, void ContinuationIndenter::moveStatePastFakeRParens(LineState &State) { for (unsigned i = 0, e = State.NextToken->FakeRParens; i != e; ++i) { unsigned VariablePos = State.Stack.back().VariablePos; - assert(State.Stack.size() > 1); if (State.Stack.size() == 1) { // Do not pop the last element. break; |