HomeSort by relevance Sort by last modified time
    Searched full:co_await (Results 1 - 20 of 20) sorted by null

  /external/clang/test/Parser/
cxx1z-coroutines.cpp 5 co_await t;
8 1 + co_await t;
11 auto x = co_await t;
14 for co_await (int x : t) {}
15 for co_await (int x = 0; x != 10; ++x) {} // expected-error {{'co_await' modifier can only be applied to range-based for loop}}
24 struct X { Y operator co_await(); };
26 Y operator co_await(Z);
29 x.operator co_await();
30 operator co_await(z)
    [all...]
  /external/clang/test/SemaCXX/
coroutines.cpp 22 co_await a; // expected-error {{need to include <coroutine>}}
36 co_await a; // expected-error {{implicit instantiation of undefined template 'std::coroutine_traits<void>'}}
42 co_await a; // expected-error {{this function cannot be a coroutine: 'std::coroutine_traits<int>' has no member named 'promise_type'}}
47 co_await a; // expected-error {{this function cannot be a coroutine: 'std::coroutine_traits<double, double>::promise_type' (aka 'int') is not a class}}
64 co_await a;
94 co_await a;
110 co_await a; // expected-note {{use of 'co_await'}}
115 co_return; // expected-warning {{'co_return' used in a function that uses neither 'co_await' nor 'co_yield'}}
132 co_await a; // expected-error {{'co_await' cannot be used in a constructor}
    [all...]
  /external/clang/test/Lexer/
coroutines.cpp 10 CORO_KEYWORD(co_await); variable
  /external/clang/lib/Sema/
SemaCoroutine.cpp 105 // 'co_await' and 'co_yield' are not permitted in unevaluated operands.
160 /// Build a call to 'operator co_await' if there is a suitable operator for
192 /// Build calls to await_ready, await_suspend, and await_resume for a co_await
228 auto *Coroutine = checkCoroutineContext(*this, Loc, "co_await");
287 // Build 'operator co_await' call.
396 // Form and check implicit 'co_await p.initial_suspend();' statement.
399 // FIXME: Support operator co_await here.
406 // Form and check implicit 'co_await p.final_suspend();' statement.
409 // FIXME: Support operator co_await here.
SemaStmt.cpp     [all...]
SemaOverload.cpp     [all...]
TreeTransform.h     [all...]
  /external/clang/include/clang/Basic/
OperatorKinds.def 104 OVERLOADED_OPERATOR(Coawait , "co_await", kw_co_await , true , false, false)
TokenKinds.def 362 KEYWORD(co_await , KEYCOROUTINES)
DiagnosticParseKinds.td     [all...]
DiagnosticSemaKinds.td     [all...]
  /external/clang/include/clang/AST/
OperationKinds.h 338 UO_Coawait // [C++ Coroutines] co_await operator
ExprCXX.h     [all...]
  /external/clang/lib/Parse/
ParseStmt.cpp     [all...]
ParseExpr.cpp 527 /// [Coro] 'co_await' cast-expression
    [all...]
  /external/clang/include/clang/Sema/
ScopeInfo.h 151 /// \brief The list of coroutine control flow constructs (co_await, co_yield,
  /external/clang/lib/AST/
Expr.cpp     [all...]
StmtPrinter.cpp     [all...]
MicrosoftMangle.cpp     [all...]
ItaniumMangle.cpp     [all...]

Completed in 1159 milliseconds