diff options
| author | Gor Nishanov <GorNishanov@gmail.com> | 2017-05-29 21:15:31 +0000 |
|---|---|---|
| committer | Gor Nishanov <GorNishanov@gmail.com> | 2017-05-29 21:15:31 +0000 |
| commit | 75a8ea5e88a8aa97b032dd7f93e9499ad9ba5e27 (patch) | |
| tree | 27fa7005a1a810047e5fca8da1059edc5ca366e0 | |
| parent | 74de08031f5d31da055eead7af9e22411cd794b4 (diff) | |
| download | bcm5719-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.cpp | 3 |
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); } |

