[clang-format] Top-level unwrapped lines don't follow a left brace

Differential Revision: https://reviews.llvm.org/D109752
This commit is contained in:
owenca 2021-09-14 02:34:11 -07:00
parent 065bb08bb8
commit 8025c03f70
1 changed files with 1 additions and 1 deletions

View File

@ -431,7 +431,7 @@ void UnwrappedLineParser::parseLevel(bool HasOpeningBrace) {
}
LLVM_FALLTHROUGH;
default:
parseStructuralElement(/*IsTopLevel=*/true);
parseStructuralElement(!HasOpeningBrace);
break;
}
} while (!eof());