summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGor Nishanov <GorNishanov@gmail.com>2017-05-29 21:15:31 +0000
committerGor Nishanov <GorNishanov@gmail.com>2017-05-29 21:15:31 +0000
commit75a8ea5e88a8aa97b032dd7f93e9499ad9ba5e27 (patch)
tree27fa7005a1a810047e5fca8da1059edc5ca366e0
parent74de08031f5d31da055eead7af9e22411cd794b4 (diff)
downloadbcm5719-llvm-75a8ea5e88a8aa97b032dd7f93e9499ad9ba5e27.tar.gz
bcm5719-llvm-75a8ea5e88a8aa97b032dd7f93e9499ad9ba5e27.zip
CGCoroutine.cpp: (NFC) clang-format misplaced brace
llvm-svn: 304176
-rw-r--r--clang/lib/CodeGen/CGCoroutine.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/clang/lib/CodeGen/CGCoroutine.cpp b/clang/lib/CodeGen/CGCoroutine.cpp
index c468c1bb4b5..f65fb5b9232 100644
--- a/clang/lib/CodeGen/CGCoroutine.cpp
+++ b/clang/lib/CodeGen/CGCoroutine.cpp
@@ -578,8 +578,7 @@ void CodeGenFunction::EmitCoroutineBody(const CoroutineBodyStmt &S) {
EmitBlock(FinalBB);
CurCoro.Data->CurrentAwaitKind = AwaitKind::Final;
EmitStmt(S.getFinalSuspendStmt());
- }
- else {
+ } else {
// We don't need FinalBB. Emit it to make sure the block is deleted.
EmitBlock(FinalBB, /*IsFinished=*/true);
}
OpenPOWER on IntegriCloud