Author: Nathan Sidwell Date: 2022-05-16T05:15:12-07:00 New Revision: 80bebbc7cb77979ef9d229450b7ea84e3e9c6a5a
URL: https://github.com/llvm/llvm-project/commit/80bebbc7cb77979ef9d229450b7ea84e3e9c6a5a DIFF: https://github.com/llvm/llvm-project/commit/80bebbc7cb77979ef9d229450b7ea84e3e9c6a5a.diff LOG: [clang][NFC] Cleanup some coroutine tests I noticed these two tests emit a warning about a missing unhandled_exception. That's irrelevant to what is being tested, but is unnecessary noise. Reviewed By: dblaikie Differential Revision: https://reviews.llvm.org/D125535 Added: Modified: clang/test/CodeGenCoroutines/coro-ret-void.cpp clang/test/CoverageMapping/coroutine.cpp Removed: ################################################################################ diff --git a/clang/test/CodeGenCoroutines/coro-ret-void.cpp b/clang/test/CodeGenCoroutines/coro-ret-void.cpp index 7bc1bcd958b7a..ae139afabc4d4 100644 --- a/clang/test/CodeGenCoroutines/coro-ret-void.cpp +++ b/clang/test/CodeGenCoroutines/coro-ret-void.cpp @@ -8,6 +8,7 @@ struct coro1 { std::suspend_never initial_suspend(); std::suspend_never final_suspend() noexcept; void return_void(); + void unhandled_exception() noexcept; }; }; @@ -39,6 +40,7 @@ struct coro2 { std::suspend_never initial_suspend(); std::suspend_never final_suspend() noexcept; void return_value(int); + void unhandled_exception() noexcept; }; }; diff --git a/clang/test/CoverageMapping/coroutine.cpp b/clang/test/CoverageMapping/coroutine.cpp index c9de301f81757..da38acc442be2 100644 --- a/clang/test/CoverageMapping/coroutine.cpp +++ b/clang/test/CoverageMapping/coroutine.cpp @@ -30,6 +30,7 @@ struct std::coroutine_traits<int, int> { int get_return_object(); suspend_always initial_suspend(); suspend_always final_suspend() noexcept; + void unhandled_exception() noexcept; void return_value(int); }; }; _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits