Home
last modified time | relevance | path

Searched defs:promise (Results 1 – 14 of 14) sorted by relevance

/llvm-project/clang/test/SemaCXX/
H A Dwarn-throw-out-noexcept-coro.cpp20 struct promise { struct
21 task<T> get_return_object() { return task{*this}; } in get_return_object()
23 std::suspend_never initial_suspend() const noexcept { return {}; } in initial_suspend()
25 std::suspend_never final_suspend() const noexcept { return {}; } in final_suspend()
28 void return_value(U&& val) { return_val->value = static_cast<U&&>(val); } in return_value()
30 void unhandled_exception() { throw 1; } in unhandled_exception()
32 task<T>* return_val;
H A Dcoroutine-vla.cpp10 struct promise struct
H A Dcoroutines.cpp129 struct promise { global() struct
[all...]
/llvm-project/clang/test/CodeGenCoroutines/
H A Dcoro-builtins.c9 int promise; in f() local
H A Dpr56329.cpp19 Promise& promise; member
96 Promise& promise; in final_suspend() member
H A Dpr59221.cpp39 promise_type & promise{nullptr}; member
/llvm-project/lldb/unittests/Host/
H A DThreadLauncherTest.cpp17 std::promise<int> promise; in TEST() local
/llvm-project/clang/test/SemaTemplate/
H A Dlate-parsing-eager-instantiation.cpp24 Promise &promise() const { return in promise() function
/llvm-project/clang/test/AST/
H A Dast-dump-coroutine.cpp20 promise_type *promise; in await_transform() member
H A Dcoroutine-co_yield-source-range.cpp21 promise_type *promise; in await_transform() member
/llvm-project/libcxx/src/
H A Dfuture.cpp141 promise<void>::promise() : __state_(new __assoc_sub_state) {} in promise() function in promise
[all...]
/llvm-project/lldb/source/Plugins/Language/CPlusPlus/
H A DCoroutines.cpp192 lldb::ValueObjectSP promise = CreateValueObjectFromAddress( in Update() local
/llvm-project/lldb/test/API/tools/lldb-server/
H A Dmain.cpp357 std::promise<void> promise; in main() local
/llvm-project/clang-tools-extra/test/clang-tidy/checkers/misc/
H A Dcoroutine-hostile-raii.cpp48 Promise &promise() const { in promise() function