Lines Matching refs:Sema
32 static LookupResult lookupMember(Sema &S, const char *Name, CXXRecordDecl *RD, in lookupMember()
35 LookupResult LR(S, DN, Loc, Sema::LookupMemberName); in lookupMember()
43 static bool lookupMember(Sema &S, const char *Name, CXXRecordDecl *RD, in lookupMember()
52 static QualType lookupPromiseType(Sema &S, const FunctionDecl *FD, in lookupPromiseType()
107 Sema::LookupOrdinaryName); in lookupPromiseType()
140 static QualType lookupCoroutineHandleType(Sema &S, QualType PromiseType, in lookupCoroutineHandleType()
149 Loc, Sema::LookupOrdinaryName); in lookupCoroutineHandleType()
183 static bool isValidCoroutineContext(Sema &S, SourceLocation Loc, in isValidCoroutineContext()
251 ExprResult Sema::BuildOperatorCoawaitCall(SourceLocation Loc, Expr *E, in BuildOperatorCoawaitCall()
258 static ExprResult buildOperatorCoawaitCall(Sema &SemaRef, Scope *S, in buildOperatorCoawaitCall()
267 static ExprResult buildCoroutineHandle(Sema &S, QualType PromiseType, in buildCoroutineHandle()
275 Sema::LookupOrdinaryName); in buildCoroutineHandle()
301 static ExprResult buildMemberCall(Sema &S, Expr *Base, SourceLocation Loc, in buildMemberCall()
330 static Expr *maybeTailCall(Sema &S, QualType RetType, Expr *E, in maybeTailCall()
376 static ReadySuspendResumeResult buildCoawaitCalls(Sema &S, VarDecl *CoroPromise, in buildCoawaitCalls()
468 static ExprResult buildPromiseCall(Sema &S, VarDecl *Promise, in buildPromiseCall()
481 VarDecl *Sema::buildCoroutinePromise(SourceLocation Loc) { in buildCoroutinePromise()
585 static FunctionScopeInfo *checkCoroutineContext(Sema &S, SourceLocation Loc, in checkCoroutineContext()
615 static void checkNoThrow(Sema &S, const Stmt *E, in checkNoThrow()
620 if (Sema::canCalleeThrow(S, IsDtor ? nullptr : cast<Expr>(E), D)) { in checkNoThrow()
672 bool Sema::checkFinalSuspendNoThrow(const Stmt *FinalSuspend) { in checkFinalSuspendNoThrow()
690 bool Sema::ActOnCoroutineBodyStart(Scope *SC, SourceLocation KWLoc, in ActOnCoroutineBodyStart()
771 static void checkSuspensionContext(Sema &S, SourceLocation Loc, in checkSuspensionContext()
784 ExprResult Sema::ActOnCoawaitExpr(Scope *S, SourceLocation Loc, Expr *E) { in ActOnCoawaitExpr()
804 ExprResult Sema::BuildOperatorCoawaitLookupExpr(Scope *S, SourceLocation Loc) { in BuildOperatorCoawaitLookupExpr()
808 Sema::LookupOperatorName); in BuildOperatorCoawaitLookupExpr()
826 ExprResult Sema::BuildUnresolvedCoawaitExpr(SourceLocation Loc, Expr *Operand, in BuildUnresolvedCoawaitExpr()
866 ExprResult Sema::BuildResolvedCoawaitExpr(SourceLocation Loc, Expr *Operand, in BuildResolvedCoawaitExpr()
907 ExprResult Sema::ActOnCoyieldExpr(Scope *S, SourceLocation Loc, Expr *E) { in ActOnCoyieldExpr()
928 ExprResult Sema::BuildCoyieldExpr(SourceLocation Loc, Expr *E) { in BuildCoyieldExpr()
964 StmtResult Sema::ActOnCoreturnStmt(Scope *S, SourceLocation Loc, Expr *E) { in ActOnCoreturnStmt()
972 StmtResult Sema::BuildCoreturnStmt(SourceLocation Loc, Expr *E, in BuildCoreturnStmt()
1004 static Expr *buildStdNoThrowDeclRef(Sema &S, SourceLocation Loc) { in buildStdNoThrowDeclRef()
1009 Sema::LookupOrdinaryName); in buildStdNoThrowDeclRef()
1034 static FunctionDecl *findDeleteForPromise(Sema &S, SourceLocation Loc, in findDeleteForPromise()
1071 void Sema::CheckCompletedCoroutineBody(FunctionDecl *FD, Stmt *&Body) { in CheckCompletedCoroutineBody()
1114 CoroutineStmtBuilder::CoroutineStmtBuilder(Sema &S, FunctionDecl &FD, in CoroutineStmtBuilder()
1172 static bool diagReturnOnAllocFailure(Sema &S, Expr *E, in diagReturnOnAllocFailure()
1210 LookupResult Found(S, DN, Loc, Sema::LookupMemberName); in makeReturnOnAllocFailure()
1245 static bool collectPlacementArgs(Sema &S, FunctionDecl &FD, SourceLocation Loc, in collectPlacementArgs()
1330 LookupResult R(S, NewName, Loc, Sema::LookupOrdinaryName); in makeNewAndDeleteExpr()
1345 Sema::AllocationFunctionScope NewScope = in makeNewAndDeleteExpr()
1346 PromiseContainsNew ? Sema::AFS_Class : Sema::AFS_Global; in makeNewAndDeleteExpr()
1349 /*DeleteScope*/ Sema::AFS_Both, PromiseType, in makeNewAndDeleteExpr()
1382 S.FindAllocationFunctions(Loc, SourceRange(), /*NewScope*/ Sema::AFS_Both, in makeNewAndDeleteExpr()
1383 /*DeleteScope*/ Sema::AFS_Both, PromiseType, in makeNewAndDeleteExpr()
1585 static void noteMemberDeclaredHere(Sema &S, Expr *E, FunctionScopeInfo &Fn) { in noteMemberDeclaredHere()
1637 static Expr *castForMoving(Sema &S, Expr *E, QualType T = QualType()) { in castForMoving()
1653 static VarDecl *buildVarDecl(Sema &S, SourceLocation Loc, QualType Type, in buildVarDecl()
1664 bool Sema::buildCoroutineParameterMoves(SourceLocation Loc) { in buildCoroutineParameterMoves()
1710 StmtResult Sema::BuildCoroutineBodyStmt(CoroutineBodyStmt::CtorArgs Args) { in BuildCoroutineBodyStmt()
1717 ClassTemplateDecl *Sema::lookupCoroutineTraits(SourceLocation KwLoc, in lookupCoroutineTraits()