diff options
author | Daniel Jasper <djasper@google.com> | 2016-07-27 10:13:24 +0000 |
---|---|---|
committer | Daniel Jasper <djasper@google.com> | 2016-07-27 10:13:24 +0000 |
commit | 9f35d626bfe6b121766352cfbd3f11bb04232f5b (patch) | |
tree | 32bc1a8c6be2ba769d921b56e51c6a7cdc66be7d /lib/Format/UnwrappedLineParser.cpp | |
parent | 4368b2f937a74d95e211c3b11617c84d864f5d0c (diff) |
clang-format: Fix incorrect detection of QT-signals access specifier.
Before:
void f() {
label:
signals
.baz();
}
After:
void f() {
label:
signals.baz();
}
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@276854 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Format/UnwrappedLineParser.cpp')
-rw-r--r-- | lib/Format/UnwrappedLineParser.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Format/UnwrappedLineParser.cpp b/lib/Format/UnwrappedLineParser.cpp index 2fe72987bc..9f79ba60f3 100644 --- a/lib/Format/UnwrappedLineParser.cpp +++ b/lib/Format/UnwrappedLineParser.cpp @@ -906,8 +906,8 @@ void UnwrappedLineParser::parseStructuralElement() { if (FormatTok->is(tok::colon)) { nextToken(); addUnwrappedLine(); + return; } - return; } // In all other cases, parse the declaration. break; |