]> granicus.if.org Git - clang/commitdiff
CGCoroutine.cpp: (NFC) clang-format misplaced brace
authorGor Nishanov <GorNishanov@gmail.com>
Mon, 29 May 2017 21:15:31 +0000 (21:15 +0000)
committerGor Nishanov <GorNishanov@gmail.com>
Mon, 29 May 2017 21:15:31 +0000 (21:15 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@304176 91177308-0d34-0410-b5e6-96231b3b80d8

lib/CodeGen/CGCoroutine.cpp

index c468c1bb4b5f3e332435baa517134df409a0c9c6..f65fb5b9232ab08c699a0fe90dd51edf0140eddc 100644 (file)
@@ -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);
     }