mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2025-04-01 12:43:47 +00:00
[libc++] Assume that coroutines are available in C++20
All supported compilers have support for coroutines in C++20 now. Differential Revision: https://reviews.llvm.org/D145086
This commit is contained in:
parent
ce12d6563e
commit
e5ec498fc5
@ -156,7 +156,7 @@ We have not yet shipped an implementation of the Parallelism TS.
|
||||
The Coroutines TS was accepted for C++20.
|
||||
An implementation of the Coroutines TS was shipped in LLVM 5.0 in namespace ``std::experimental``,
|
||||
and C++20 Coroutines shipped in LLVM 14.0. The implementation of the Coroutines TS in ``std::experimental``
|
||||
will be removed in LLVM 16.0.
|
||||
has been removed in LLVM 17.0.
|
||||
|
||||
`Networking TS <https://wg21.link/N4656>`__
|
||||
-------------------------------------------
|
||||
|
@ -7,7 +7,6 @@
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
// UNSUPPORTED: c++03, c++11, c++14, c++17
|
||||
// UNSUPPORTED: libcpp-no-coroutines
|
||||
|
||||
// <coroutine>
|
||||
|
||||
|
@ -7,7 +7,6 @@
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
// UNSUPPORTED: c++03, c++11, c++14, c++17
|
||||
// UNSUPPORTED: libcpp-no-coroutines
|
||||
|
||||
// <coroutine>
|
||||
|
||||
|
@ -7,7 +7,6 @@
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
// UNSUPPORTED: c++03, c++11, c++14, c++17
|
||||
// UNSUPPORTED: libcpp-no-coroutines
|
||||
|
||||
// <coroutine>
|
||||
|
||||
|
@ -7,7 +7,6 @@
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
// UNSUPPORTED: c++03, c++11, c++14, c++17
|
||||
// UNSUPPORTED: libcpp-no-coroutines
|
||||
|
||||
// <coroutine>
|
||||
|
||||
|
@ -7,7 +7,6 @@
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
// UNSUPPORTED: c++03, c++11, c++14, c++17
|
||||
// UNSUPPORTED: libcpp-no-coroutines
|
||||
|
||||
// <coroutine>
|
||||
|
||||
|
@ -7,7 +7,6 @@
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
// UNSUPPORTED: c++03, c++11, c++14, c++17
|
||||
// UNSUPPORTED: libcpp-no-coroutines
|
||||
|
||||
// <coroutine>
|
||||
|
||||
|
@ -7,7 +7,6 @@
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
// UNSUPPORTED: c++03, c++11, c++14, c++17
|
||||
// UNSUPPORTED: libcpp-no-coroutines
|
||||
|
||||
// <coroutine>
|
||||
|
||||
|
@ -7,7 +7,6 @@
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
// UNSUPPORTED: c++03, c++11, c++14, c++17
|
||||
// UNSUPPORTED: libcpp-no-coroutines
|
||||
|
||||
// <coroutine>
|
||||
|
||||
|
@ -7,7 +7,6 @@
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
// UNSUPPORTED: c++03, c++11, c++14, c++17
|
||||
// UNSUPPORTED: libcpp-no-coroutines
|
||||
|
||||
// <coroutine>
|
||||
|
||||
|
@ -8,7 +8,6 @@
|
||||
|
||||
// UNSUPPORTED: c++03, c++11, c++14, c++17
|
||||
// UNSUPPORTED: ubsan
|
||||
// UNSUPPORTED: libcpp-no-coroutines
|
||||
|
||||
// <coroutine>
|
||||
// struct noop_coroutine_promise;
|
||||
|
@ -7,7 +7,6 @@
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
// UNSUPPORTED: c++03, c++11, c++14, c++17
|
||||
// UNSUPPORTED: libcpp-no-coroutines
|
||||
|
||||
// <coroutine>
|
||||
|
||||
|
@ -7,7 +7,6 @@
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
// UNSUPPORTED: c++03, c++11, c++14, c++17
|
||||
// UNSUPPORTED: libcpp-no-coroutines
|
||||
|
||||
// <coroutine>
|
||||
|
||||
|
@ -7,7 +7,6 @@
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
// UNSUPPORTED: c++03, c++11, c++14, c++17
|
||||
// UNSUPPORTED: libcpp-no-coroutines
|
||||
|
||||
// <coroutine>
|
||||
|
||||
|
@ -7,7 +7,6 @@
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
// UNSUPPORTED: c++03, c++11, c++14, c++17
|
||||
// UNSUPPORTED: libcpp-no-coroutines
|
||||
|
||||
#include <coroutine>
|
||||
#include <type_traits>
|
||||
|
@ -7,7 +7,6 @@
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
// UNSUPPORTED: c++03, c++11, c++14, c++17
|
||||
// UNSUPPORTED: libcpp-no-coroutines
|
||||
|
||||
#include <coroutine>
|
||||
#include <type_traits>
|
||||
|
@ -7,7 +7,6 @@
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
// UNSUPPORTED: c++03, c++11, c++14, c++17
|
||||
// UNSUPPORTED: libcpp-no-coroutines
|
||||
|
||||
#include <coroutine>
|
||||
#include <type_traits>
|
||||
|
@ -7,7 +7,6 @@
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
// UNSUPPORTED: c++03, c++11, c++14, c++17
|
||||
// UNSUPPORTED: libcpp-no-coroutines
|
||||
|
||||
#include <coroutine>
|
||||
#include <type_traits>
|
||||
|
@ -7,7 +7,6 @@
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
// UNSUPPORTED: c++03, c++11, c++14, c++17
|
||||
// UNSUPPORTED: libcpp-no-coroutines
|
||||
|
||||
#include <coroutine>
|
||||
#include <cassert>
|
||||
|
@ -7,7 +7,6 @@
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
// UNSUPPORTED: c++03, c++11, c++14, c++17
|
||||
// UNSUPPORTED: libcpp-no-coroutines
|
||||
|
||||
// See https://llvm.org/PR33271
|
||||
// UNSUPPORTED: ubsan
|
||||
|
@ -7,7 +7,6 @@
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
// UNSUPPORTED: c++03, c++11, c++14, c++17
|
||||
// UNSUPPORTED: libcpp-no-coroutines
|
||||
|
||||
#include <coroutine>
|
||||
#include <cassert>
|
||||
|
@ -7,7 +7,6 @@
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
// UNSUPPORTED: c++03, c++11, c++14, c++17
|
||||
// UNSUPPORTED: libcpp-no-coroutines
|
||||
|
||||
#include <coroutine>
|
||||
#include <cassert>
|
||||
|
@ -7,7 +7,6 @@
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
// UNSUPPORTED: c++03, c++11, c++14, c++17
|
||||
// UNSUPPORTED: libcpp-no-coroutines
|
||||
|
||||
// See https://llvm.org/PR33271
|
||||
// UNSUPPORTED: ubsan
|
||||
|
@ -7,7 +7,6 @@
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
// UNSUPPORTED: c++03, c++11, c++14, c++17
|
||||
// UNSUPPORTED: libcpp-no-coroutines
|
||||
|
||||
#include <cassert>
|
||||
#include <coroutine>
|
||||
|
@ -7,7 +7,6 @@
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
// UNSUPPORTED: c++03, c++11, c++14, c++17
|
||||
// UNSUPPORTED: libcpp-no-coroutines
|
||||
|
||||
#include <coroutine>
|
||||
#include <cassert>
|
||||
|
@ -7,7 +7,6 @@
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
// UNSUPPORTED: c++03, c++11, c++14, c++17
|
||||
// UNSUPPORTED: libcpp-no-coroutines
|
||||
|
||||
#include <coroutine>
|
||||
#include <vector>
|
||||
|
@ -81,10 +81,6 @@ DEFAULT_FEATURES = [
|
||||
name="fdelayed-template-parsing",
|
||||
when=lambda cfg: hasCompileFlag(cfg, "-fdelayed-template-parsing"),
|
||||
),
|
||||
Feature(
|
||||
name="libcpp-no-coroutines",
|
||||
when=lambda cfg: featureTestMacros(cfg).get("__cpp_impl_coroutine", 0) < 201902,
|
||||
),
|
||||
Feature(
|
||||
name="has-fobjc-arc",
|
||||
when=lambda cfg: hasCompileFlag(cfg, "-xobjective-c++ -fobjc-arc")
|
||||
|
Loading…
x
Reference in New Issue
Block a user