Home
last modified time | relevance | path

Searched refs:CoawaitLoc (Results 1 – 18 of 18) sorted by relevance

/external/clang/lib/AST/
DStmtCXX.cpp58 : Stmt(CXXForRangeStmtClass), ForLoc(FL), CoawaitLoc(CAL), ColonLoc(CL), in CXXForRangeStmt()
/external/clang/include/clang/AST/
DStmtCXX.h134 SourceLocation CoawaitLoc; variable
194 SourceLocation getCoawaitLoc() const { return CoawaitLoc; } in getCoawaitLoc()
DExprCXX.h4208 CoawaitExpr(SourceLocation CoawaitLoc, Expr *Operand, Expr *Ready, in CoawaitExpr() argument
4210 : CoroutineSuspendExpr(CoawaitExprClass, CoawaitLoc, Operand, Ready, in CoawaitExpr()
4212 CoawaitExpr(SourceLocation CoawaitLoc, QualType Ty, Expr *Operand) in CoawaitExpr() argument
4213 : CoroutineSuspendExpr(CoawaitExprClass, CoawaitLoc, Ty, Operand) {} in CoawaitExpr()
/external/llvm-project/clang/lib/Sema/
DSemaStmt.cpp2144 SourceLocation CoawaitLoc, Stmt *InitStmt, in ActOnCXXForRangeStmt() argument
2178 if (!CoawaitLoc.isInvalid()) { in ActOnCXXForRangeStmt()
2179 if (!ActOnCoroutineBodyStart(S, CoawaitLoc, "co_await")) { in ActOnCXXForRangeStmt()
2208 ForLoc, CoawaitLoc, InitStmt, ColonLoc, RangeDecl.get(), in ActOnCXXForRangeStmt()
2231 SourceLocation ColonLoc, SourceLocation CoawaitLoc, in BuildNonArrayForRange() argument
2256 if (!CoawaitLoc.isInvalid()) { in BuildNonArrayForRange()
2365 SourceLocation CoawaitLoc, in RebuildForRangeWithDereference() argument
2383 S, ForLoc, CoawaitLoc, InitStmt, LoopVarDecl, ColonLoc, in RebuildForRangeWithDereference()
2395 S, ForLoc, CoawaitLoc, InitStmt, LoopVarDecl, ColonLoc, in RebuildForRangeWithDereference()
2401 SourceLocation CoawaitLoc, Stmt *InitStmt, in BuildCXXForRangeStmt() argument
[all …]
DTreeTransform.h1467 ExprResult RebuildCoawaitExpr(SourceLocation CoawaitLoc, Expr *Result, in RebuildCoawaitExpr() argument
1469 return getSema().BuildResolvedCoawaitExpr(CoawaitLoc, Result, IsImplicit); in RebuildCoawaitExpr()
1476 ExprResult RebuildDependentCoawaitExpr(SourceLocation CoawaitLoc, in RebuildDependentCoawaitExpr() argument
1479 return getSema().BuildUnresolvedCoawaitExpr(CoawaitLoc, Result, Lookup); in RebuildDependentCoawaitExpr()
2244 SourceLocation CoawaitLoc, Stmt *Init, in RebuildCXXForRangeStmt() argument
2274 return getSema().BuildCXXForRangeStmt(ForLoc, CoawaitLoc, Init, ColonLoc, in RebuildCXXForRangeStmt()
/external/llvm-project/clang/lib/AST/
DStmtCXX.cpp53 : Stmt(CXXForRangeStmtClass), ForLoc(FL), CoawaitLoc(CAL), ColonLoc(CL), in CXXForRangeStmt()
/external/llvm-project/clang/include/clang/AST/
DStmtCXX.h140 SourceLocation CoawaitLoc; variable
202 SourceLocation getCoawaitLoc() const { return CoawaitLoc; } in getCoawaitLoc()
DExprCXX.h4758 CoawaitExpr(SourceLocation CoawaitLoc, Expr *Operand, Expr *Ready,
4761 : CoroutineSuspendExpr(CoawaitExprClass, CoawaitLoc, Operand, Ready, in CoroutineSuspendExpr() argument
4766 CoawaitExpr(SourceLocation CoawaitLoc, QualType Ty, Expr *Operand,
4768 : CoroutineSuspendExpr(CoawaitExprClass, CoawaitLoc, Ty, Operand) { in CoroutineSuspendExpr() argument
/external/clang/lib/Parse/
DParseStmt.cpp1519 SourceLocation CoawaitLoc; in ParseForStatement() local
1521 CoawaitLoc = ConsumeToken(); in ParseForStatement()
1729 if (CoawaitLoc.isValid() && !ForRange) { in ParseForStatement()
1730 Diag(CoawaitLoc, diag::err_for_co_await_not_range_for); in ParseForStatement()
1731 CoawaitLoc = SourceLocation(); in ParseForStatement()
1744 getCurScope(), ForLoc, CoawaitLoc, FirstPart.get(), in ParseForStatement()
DParseExpr.cpp1071 SourceLocation CoawaitLoc = ConsumeToken(); in ParseCastExpression() local
1074 Res = Actions.ActOnCoawaitExpr(getCurScope(), CoawaitLoc, Res.get()); in ParseCastExpression()
/external/clang/lib/Sema/
DSemaStmt.cpp1962 SourceLocation CoawaitLoc, Stmt *First, in ActOnCXXForRangeStmt() argument
1988 if (CoawaitLoc.isValid()) { in ActOnCXXForRangeStmt()
1989 ExprResult Coawait = ActOnCoawaitExpr(S, CoawaitLoc, Range); in ActOnCXXForRangeStmt()
2015 return BuildCXXForRangeStmt(ForLoc, CoawaitLoc, ColonLoc, RangeDecl.get(), in ActOnCXXForRangeStmt()
2116 SourceLocation CoawaitLoc, in RebuildForRangeWithDereference() argument
2133 S, ForLoc, CoawaitLoc, LoopVarDecl, ColonLoc, AdjustedRange.get(), in RebuildForRangeWithDereference()
2144 return SemaRef.ActOnCXXForRangeStmt(S, ForLoc, CoawaitLoc, LoopVarDecl, in RebuildForRangeWithDereference()
2167 Sema::BuildCXXForRangeStmt(SourceLocation ForLoc, SourceLocation CoawaitLoc, in BuildCXXForRangeStmt() argument
2308 CoawaitLoc, in BuildCXXForRangeStmt()
2382 if (!IncrExpr.isInvalid() && CoawaitLoc.isValid()) in BuildCXXForRangeStmt()
[all …]
DTreeTransform.h1314 ExprResult RebuildCoawaitExpr(SourceLocation CoawaitLoc, Expr *Result) { in RebuildCoawaitExpr() argument
1315 return getSema().BuildCoawaitExpr(CoawaitLoc, Result); in RebuildCoawaitExpr()
1895 SourceLocation CoawaitLoc, in RebuildCXXForRangeStmt() argument
1918 return getSema().BuildCXXForRangeStmt(ForLoc, CoawaitLoc, ColonLoc, in RebuildCXXForRangeStmt()
/external/llvm-project/clang/lib/Parse/
DParseStmt.cpp1772 SourceLocation CoawaitLoc; in ParseForStatement() local
1774 CoawaitLoc = ConsumeToken(); in ParseForStatement()
2021 if (CoawaitLoc.isValid() && !ForRangeInfo.ParsedForRangeDecl()) { in ParseForStatement()
2022 Diag(CoawaitLoc, diag::err_for_co_await_not_range_for); in ParseForStatement()
2023 CoawaitLoc = SourceLocation(); in ParseForStatement()
2036 getCurScope(), ForLoc, CoawaitLoc, FirstPart.get(), in ParseForStatement()
DParseExpr.cpp1392 SourceLocation CoawaitLoc = ConsumeToken(); in ParseCastExpression() local
1395 Res = Actions.ActOnCoawaitExpr(getCurScope(), CoawaitLoc, Res.get()); in ParseCastExpression()
/external/clang/include/clang/Sema/
DSema.h3444 SourceLocation CoawaitLoc,
3450 SourceLocation CoawaitLoc,
/external/llvm-project/clang/lib/Serialization/
DASTReaderStmt.cpp1654 S->CoawaitLoc = readSourceLocation(); in VisitCXXForRangeStmt()
/external/clang/lib/Serialization/
DASTReaderStmt.cpp1209 S->CoawaitLoc = ReadSourceLocation(Record, Idx); in VisitCXXForRangeStmt()
/external/llvm-project/clang/include/clang/Sema/
DSema.h4568 SourceLocation CoawaitLoc,
4575 SourceLocation CoawaitLoc,