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()
112 Sema::LookupOrdinaryName); in lookupPromiseType()
145 static QualType lookupCoroutineHandleType(Sema &S, QualType PromiseType, in lookupCoroutineHandleType()
154 Loc, Sema::LookupOrdinaryName); in lookupCoroutineHandleType()
188 static bool isValidCoroutineContext(Sema &S, SourceLocation Loc, in isValidCoroutineContext()
254 static ExprResult buildOperatorCoawaitLookupExpr(Sema &SemaRef, Scope *S, in buildOperatorCoawaitLookupExpr()
259 Sema::LookupOperatorName); in buildOperatorCoawaitLookupExpr()
277 static ExprResult buildOperatorCoawaitCall(Sema &SemaRef, SourceLocation Loc, in buildOperatorCoawaitCall()
285 static ExprResult buildOperatorCoawaitCall(Sema &SemaRef, Scope *S, in buildOperatorCoawaitCall()
294 static ExprResult buildCoroutineHandle(Sema &S, QualType PromiseType, in buildCoroutineHandle()
302 Sema::LookupOrdinaryName); in buildCoroutineHandle()
328 static ExprResult buildMemberCall(Sema &S, Expr *Base, SourceLocation Loc, in buildMemberCall()
357 static Expr *maybeTailCall(Sema &S, QualType RetType, Expr *E, in maybeTailCall()
403 static ReadySuspendResumeResult buildCoawaitCalls(Sema &S, VarDecl *CoroPromise, in buildCoawaitCalls()
495 static ExprResult buildPromiseCall(Sema &S, VarDecl *Promise, in buildPromiseCall()
508 VarDecl *Sema::buildCoroutinePromise(SourceLocation Loc) { in buildCoroutinePromise()
608 static FunctionScopeInfo *checkCoroutineContext(Sema &S, SourceLocation Loc, in checkCoroutineContext()
638 static void checkNoThrow(Sema &S, const Stmt *E, in checkNoThrow()
643 if (Sema::canCalleeThrow(S, IsDtor ? nullptr : cast<Expr>(E), D)) { in checkNoThrow()
691 bool Sema::checkFinalSuspendNoThrow(const Stmt *FinalSuspend) { in checkFinalSuspendNoThrow()
709 bool Sema::ActOnCoroutineBodyStart(Scope *SC, SourceLocation KWLoc, in ActOnCoroutineBodyStart()
789 static void checkSuspensionContext(Sema &S, SourceLocation Loc, in checkSuspensionContext()
802 ExprResult Sema::ActOnCoawaitExpr(Scope *S, SourceLocation Loc, Expr *E) { in ActOnCoawaitExpr()
822 ExprResult Sema::BuildUnresolvedCoawaitExpr(SourceLocation Loc, Expr *E, in BuildUnresolvedCoawaitExpr()
860 ExprResult Sema::BuildResolvedCoawaitExpr(SourceLocation Loc, Expr *E, in BuildResolvedCoawaitExpr()
901 ExprResult Sema::ActOnCoyieldExpr(Scope *S, SourceLocation Loc, Expr *E) { in ActOnCoyieldExpr()
922 ExprResult Sema::BuildCoyieldExpr(SourceLocation Loc, Expr *E) { in BuildCoyieldExpr()
956 StmtResult Sema::ActOnCoreturnStmt(Scope *S, SourceLocation Loc, Expr *E) { in ActOnCoreturnStmt()
964 StmtResult Sema::BuildCoreturnStmt(SourceLocation Loc, Expr *E, in BuildCoreturnStmt()
996 static Expr *buildStdNoThrowDeclRef(Sema &S, SourceLocation Loc) { in buildStdNoThrowDeclRef()
1001 Sema::LookupOrdinaryName); in buildStdNoThrowDeclRef()
1027 static FunctionDecl *findDeleteForPromise(Sema &S, SourceLocation Loc, in findDeleteForPromise()
1052 void Sema::CheckCompletedCoroutineBody(FunctionDecl *FD, Stmt *&Body) { in CheckCompletedCoroutineBody()
1087 CoroutineStmtBuilder::CoroutineStmtBuilder(Sema &S, FunctionDecl &FD, in CoroutineStmtBuilder()
1145 static bool diagReturnOnAllocFailure(Sema &S, Expr *E, in diagReturnOnAllocFailure()
1180 LookupResult Found(S, DN, Loc, Sema::LookupMemberName); in makeReturnOnAllocFailure()
1276 S.FindAllocationFunctions(Loc, SourceRange(), /*NewScope*/ Sema::AFS_Class, in makeNewAndDeleteExpr()
1277 /*DeleteScope*/ Sema::AFS_Both, PromiseType, in makeNewAndDeleteExpr()
1287 S.FindAllocationFunctions(Loc, SourceRange(), /*NewScope*/ Sema::AFS_Class, in makeNewAndDeleteExpr()
1288 /*DeleteScope*/ Sema::AFS_Both, PromiseType, in makeNewAndDeleteExpr()
1298 S.FindAllocationFunctions(Loc, SourceRange(), /*NewScope*/ Sema::AFS_Global, in makeNewAndDeleteExpr()
1299 /*DeleteScope*/ Sema::AFS_Both, PromiseType, in makeNewAndDeleteExpr()
1315 S.FindAllocationFunctions(Loc, SourceRange(), /*NewScope*/ Sema::AFS_Both, in makeNewAndDeleteExpr()
1316 /*DeleteScope*/ Sema::AFS_Both, PromiseType, in makeNewAndDeleteExpr()
1500 static void noteMemberDeclaredHere(Sema &S, Expr *E, FunctionScopeInfo &Fn) { in noteMemberDeclaredHere()
1593 static Expr *castForMoving(Sema &S, Expr *E, QualType T = QualType()) { in castForMoving()
1609 static VarDecl *buildVarDecl(Sema &S, SourceLocation Loc, QualType Type, in buildVarDecl()
1620 bool Sema::buildCoroutineParameterMoves(SourceLocation Loc) { in buildCoroutineParameterMoves()
1658 StmtResult Sema::BuildCoroutineBodyStmt(CoroutineBodyStmt::CtorArgs Args) { in BuildCoroutineBodyStmt()
1665 ClassTemplateDecl *Sema::lookupCoroutineTraits(SourceLocation KwLoc, in lookupCoroutineTraits()