[PATCH] D125535: [clang][NFC] Cleanup some coroutine tests

Nathan Sidwell via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon May 16 05:15:28 PDT 2022


This revision was automatically updated to reflect the committed changes.
Closed by commit rG80bebbc7cb77: [clang][NFC] Cleanup some coroutine tests (authored by urnathan).
Herald added a project: clang.
Herald added a subscriber: cfe-commits.

Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D125535/new/

https://reviews.llvm.org/D125535

Files:
  clang/test/CodeGenCoroutines/coro-ret-void.cpp
  clang/test/CoverageMapping/coroutine.cpp


Index: clang/test/CoverageMapping/coroutine.cpp
===================================================================
--- clang/test/CoverageMapping/coroutine.cpp
+++ clang/test/CoverageMapping/coroutine.cpp
@@ -30,6 +30,7 @@
     int get_return_object();
     suspend_always initial_suspend();
     suspend_always final_suspend() noexcept;
+    void unhandled_exception() noexcept;
     void return_value(int);
   };
 };
Index: clang/test/CodeGenCoroutines/coro-ret-void.cpp
===================================================================
--- clang/test/CodeGenCoroutines/coro-ret-void.cpp
+++ clang/test/CodeGenCoroutines/coro-ret-void.cpp
@@ -8,6 +8,7 @@
     std::suspend_never initial_suspend();
     std::suspend_never final_suspend() noexcept;
     void return_void();
+    void unhandled_exception() noexcept;
   };
 };
 
@@ -39,6 +40,7 @@
     std::suspend_never initial_suspend();
     std::suspend_never final_suspend() noexcept;
     void return_value(int);
+    void unhandled_exception() noexcept;
   };
 };
 


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D125535.429687.patch
Type: text/x-patch
Size: 1026 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20220516/6fb501e3/attachment-0001.bin>


More information about the cfe-commits mailing list