Lines Matching refs:Sema

34 static LookupResult lookupMember(Sema &S, const char *Name, CXXRecordDecl *RD,  in lookupMember()
37 LookupResult LR(S, DN, Loc, Sema::LookupMemberName); in lookupMember()
45 static bool lookupMember(Sema &S, const char *Name, CXXRecordDecl *RD, in lookupMember()
54 static QualType lookupPromiseType(Sema &S, const FunctionDecl *FD, in lookupPromiseType()
107 Sema::LookupOrdinaryName); in lookupPromiseType()
141 static QualType lookupCoroutineHandleType(Sema &S, QualType PromiseType, in lookupCoroutineHandleType()
150 Loc, Sema::LookupOrdinaryName); in lookupCoroutineHandleType()
184 static bool isValidCoroutineContext(Sema &S, SourceLocation Loc, in isValidCoroutineContext()
252 ExprResult Sema::BuildOperatorCoawaitCall(SourceLocation Loc, Expr *E, in BuildOperatorCoawaitCall()
259 static ExprResult buildOperatorCoawaitCall(Sema &SemaRef, Scope *S, in buildOperatorCoawaitCall()
268 static ExprResult buildCoroutineHandle(Sema &S, QualType PromiseType, in buildCoroutineHandle()
276 Sema::LookupOrdinaryName); in buildCoroutineHandle()
302 static ExprResult buildMemberCall(Sema &S, Expr *Base, SourceLocation Loc, in buildMemberCall()
332 static Expr *maybeTailCall(Sema &S, QualType RetType, Expr *E, in maybeTailCall()
412 static void tryMarkAwaitSuspendNoInline(Sema &S, OpaqueValueExpr *Awaiter, in tryMarkAwaitSuspendNoInline()
457 static ReadySuspendResumeResult buildCoawaitCalls(Sema &S, VarDecl *CoroPromise, in buildCoawaitCalls()
553 static ExprResult buildPromiseCall(Sema &S, VarDecl *Promise, in buildPromiseCall()
566 VarDecl *Sema::buildCoroutinePromise(SourceLocation Loc) { in buildCoroutinePromise()
670 static FunctionScopeInfo *checkCoroutineContext(Sema &S, SourceLocation Loc, in checkCoroutineContext()
700 static void checkNoThrow(Sema &S, const Stmt *E, in checkNoThrow()
705 if (Sema::canCalleeThrow(S, IsDtor ? nullptr : cast<Expr>(E), D)) { in checkNoThrow()
757 bool Sema::checkFinalSuspendNoThrow(const Stmt *FinalSuspend) { in checkFinalSuspendNoThrow()
775 bool Sema::ActOnCoroutineBodyStart(Scope *SC, SourceLocation KWLoc, in ActOnCoroutineBodyStart()
779 *this, Sema::ExpressionEvaluationContext::PotentiallyEvaluated); in ActOnCoroutineBodyStart()
859 static bool checkSuspensionContext(Sema &S, SourceLocation Loc, in checkSuspensionContext()
878 ExprResult Sema::ActOnCoawaitExpr(Scope *S, SourceLocation Loc, Expr *E) { in ActOnCoawaitExpr()
899 ExprResult Sema::BuildOperatorCoawaitLookupExpr(Scope *S, SourceLocation Loc) { in BuildOperatorCoawaitLookupExpr()
903 Sema::LookupOperatorName); in BuildOperatorCoawaitLookupExpr()
921 ExprResult Sema::BuildUnresolvedCoawaitExpr(SourceLocation Loc, Expr *Operand, in BuildUnresolvedCoawaitExpr()
961 ExprResult Sema::BuildResolvedCoawaitExpr(SourceLocation Loc, Expr *Operand, in BuildResolvedCoawaitExpr()
1002 ExprResult Sema::ActOnCoyieldExpr(Scope *S, SourceLocation Loc, Expr *E) { in ActOnCoyieldExpr()
1024 ExprResult Sema::BuildCoyieldExpr(SourceLocation Loc, Expr *E) { in BuildCoyieldExpr()
1060 StmtResult Sema::ActOnCoreturnStmt(Scope *S, SourceLocation Loc, Expr *E) { in ActOnCoreturnStmt()
1068 StmtResult Sema::BuildCoreturnStmt(SourceLocation Loc, Expr *E, in BuildCoreturnStmt()
1100 static Expr *buildStdNoThrowDeclRef(Sema &S, SourceLocation Loc) { in buildStdNoThrowDeclRef()
1105 Sema::LookupOrdinaryName); in buildStdNoThrowDeclRef()
1129 static TypeSourceInfo *getTypeSourceInfoForStdAlignValT(Sema &S, in getTypeSourceInfoForStdAlignValT()
1137 static bool findDeleteForPromise(Sema &S, SourceLocation Loc, QualType PromiseType, in findDeleteForPromise()
1181 void Sema::CheckCompletedCoroutineBody(FunctionDecl *FD, Stmt *&Body) { in CheckCompletedCoroutineBody()
1247 CoroutineStmtBuilder::CoroutineStmtBuilder(Sema &S, FunctionDecl &FD, in CoroutineStmtBuilder()
1305 static bool diagReturnOnAllocFailure(Sema &S, Expr *E, in diagReturnOnAllocFailure()
1343 LookupResult Found(S, DN, Loc, Sema::LookupMemberName); in makeReturnOnAllocFailure()
1378 static bool collectPlacementArgs(Sema &S, FunctionDecl &FD, SourceLocation Loc, in collectPlacementArgs()
1460 LookupResult R(S, NewName, Loc, Sema::LookupOrdinaryName); in makeNewAndDeleteExpr()
1471 auto LookupAllocationFunction = [&](Sema::AllocationFunctionScope NewScope = in makeNewAndDeleteExpr()
1472 Sema::AFS_Both, in makeNewAndDeleteExpr()
1481 if (NewScope == Sema::AFS_Both) in makeNewAndDeleteExpr()
1482 NewScope = PromiseContainsNew ? Sema::AFS_Class : Sema::AFS_Global; in makeNewAndDeleteExpr()
1487 /*DeleteScope*/ Sema::AFS_Both, PromiseType, in makeNewAndDeleteExpr()
1517 LookupAllocationFunction(/*NewScope*/ Sema::AFS_Class, in makeNewAndDeleteExpr()
1544 LookupAllocationFunction(/*NewScope*/ Sema::AFS_Class, in makeNewAndDeleteExpr()
1549 LookupAllocationFunction(/*NewScope*/ Sema::AFS_Class, in makeNewAndDeleteExpr()
1565 LookupAllocationFunction(Sema::AFS_Global); in makeNewAndDeleteExpr()
1817 static void noteMemberDeclaredHere(Sema &S, Expr *E, FunctionScopeInfo &Fn) { in noteMemberDeclaredHere()
1928 static Expr *castForMoving(Sema &S, Expr *E, QualType T = QualType()) { in castForMoving()
1944 static VarDecl *buildVarDecl(Sema &S, SourceLocation Loc, QualType Type, in buildVarDecl()
1955 bool Sema::buildCoroutineParameterMoves(SourceLocation Loc) { in buildCoroutineParameterMoves()
2007 StmtResult Sema::BuildCoroutineBodyStmt(CoroutineBodyStmt::CtorArgs Args) { in BuildCoroutineBodyStmt()
2014 ClassTemplateDecl *Sema::lookupCoroutineTraits(SourceLocation KwLoc, in lookupCoroutineTraits()