r304176 - CGCoroutine.cpp: (NFC) clang-format misplaced brace

Gor Nishanov via cfe-commits cfe-commits at lists.llvm.org
Mon May 29 14:15:32 PDT 2017


Author: gornishanov
Date: Mon May 29 16:15:31 2017
New Revision: 304176

URL: http://llvm.org/viewvc/llvm-project?rev=304176&view=rev
Log:
CGCoroutine.cpp: (NFC) clang-format misplaced brace

Modified:
    cfe/trunk/lib/CodeGen/CGCoroutine.cpp

Modified: cfe/trunk/lib/CodeGen/CGCoroutine.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/CodeGen/CGCoroutine.cpp?rev=304176&r1=304175&r2=304176&view=diff
==============================================================================
--- cfe/trunk/lib/CodeGen/CGCoroutine.cpp (original)
+++ cfe/trunk/lib/CodeGen/CGCoroutine.cpp Mon May 29 16:15:31 2017
@@ -578,8 +578,7 @@ void CodeGenFunction::EmitCoroutineBody(
       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);
     }




More information about the cfe-commits mailing list