Lines Matching refs:Sema

44 StmtResult Sema::ActOnExprStmt(ExprResult FE) {  in ActOnExprStmt()
62 StmtResult Sema::ActOnExprStmtError() { in ActOnExprStmtError()
67 StmtResult Sema::ActOnNullStmt(SourceLocation SemiLoc, in ActOnNullStmt()
72 StmtResult Sema::ActOnDeclStmt(DeclGroupPtrTy dg, SourceLocation StartLoc, in ActOnDeclStmt()
82 void Sema::ActOnForEachDeclStmt(DeclGroupPtrTy dg) { in ActOnForEachDeclStmt()
128 static bool DiagnoseUnusedComparison(Sema &S, const Expr *E) { in DiagnoseUnusedComparison()
186 void Sema::DiagnoseUnusedExprResult(const Stmt *S) { in DiagnoseUnusedExprResult()
320 void Sema::ActOnStartOfCompoundStmt() { in ActOnStartOfCompoundStmt()
324 void Sema::ActOnFinishOfCompoundStmt() { in ActOnFinishOfCompoundStmt()
328 sema::CompoundScopeInfo &Sema::getCurCompoundScope() const { in getCurCompoundScope()
332 StmtResult Sema::ActOnCompoundStmt(SourceLocation L, SourceLocation R, in ActOnCompoundStmt()
376 Sema::ActOnCaseStmt(SourceLocation CaseLoc, Expr *LHSVal, in ActOnCaseStmt()
438 void Sema::ActOnCaseStmtBody(Stmt *caseStmt, Stmt *SubStmt) { in ActOnCaseStmtBody()
446 Sema::ActOnDefaultStmt(SourceLocation DefaultLoc, SourceLocation ColonLoc, in ActOnDefaultStmt()
461 Sema::ActOnLabelStmt(SourceLocation IdentLoc, LabelDecl *TheDecl, in ActOnLabelStmt()
484 StmtResult Sema::ActOnAttributedStmt(SourceLocation AttrLoc, in ActOnAttributedStmt()
495 Sema &SemaRef;
497 CommaVisitor(Sema &SemaRef) : Inherited(SemaRef.Context), SemaRef(SemaRef) {} in CommaVisitor()
507 Sema::ActOnIfStmt(SourceLocation IfLoc, bool IsConstexpr, Stmt *InitStmt, in ActOnIfStmt()
532 StmtResult Sema::BuildIfStmt(SourceLocation IfLoc, bool IsConstexpr, in BuildIfStmt()
609 ExprResult Sema::CheckSwitchCondition(SourceLocation SwitchLoc, Expr *Cond) { in CheckSwitchCondition()
618 SemaDiagnosticBuilder diagnoseNotInt(Sema &S, SourceLocation Loc, in CheckSwitchCondition()
624 Sema &S, SourceLocation Loc, QualType T) override { in CheckSwitchCondition()
630 Sema &S, SourceLocation Loc, QualType T, QualType ConvTy) override { in CheckSwitchCondition()
635 Sema &S, CXXConversionDecl *Conv, QualType ConvTy) override { in CheckSwitchCondition()
640 SemaDiagnosticBuilder diagnoseAmbiguous(Sema &S, SourceLocation Loc, in CheckSwitchCondition()
646 Sema &S, CXXConversionDecl *Conv, QualType ConvTy) override { in CheckSwitchCondition()
652 Sema &S, SourceLocation Loc, QualType T, QualType ConvTy) override { in CheckSwitchCondition()
666 StmtResult Sema::ActOnStartOfSwitchStmt(SourceLocation SwitchLoc, in ActOnStartOfSwitchStmt()
686 static void checkCaseValue(Sema &S, SourceLocation Loc, const llvm::APSInt &Val, in checkCaseValue()
708 static bool ShouldDiagnoseSwitchCaseNotInEnum(const Sema &S, in ShouldDiagnoseSwitchCaseNotInEnum()
739 Sema::ActOnFinishSwitchStmt(SourceLocation SwitchLoc, Stmt *Switch, in ActOnFinishSwitchStmt()
1182 Sema::DiagnoseAssignmentEnum(QualType DstType, QualType SrcType, in DiagnoseAssignmentEnum()
1235 StmtResult Sema::ActOnWhileStmt(SourceLocation WhileLoc, ConditionResult Cond, in ActOnWhileStmt()
1257 Sema::ActOnDoStmt(SourceLocation DoLoc, Stmt *Body, in ActOnDoStmt()
1289 DeclExtractor(Sema &S, llvm::SmallPtrSetImpl<VarDecl*> &Decls, in DeclExtractor()
1367 DeclMatcher(Sema &S, llvm::SmallPtrSetImpl<VarDecl*> &Decls, in DeclMatcher()
1440 void CheckForLoopConditionalStatement(Sema &S, Expr *Second, in CheckForLoopConditionalStatement()
1499 bool ProcessIterationStmt(Sema &S, Stmt* Statement, bool &Increment, in ProcessIterationStmt()
1546 BreakContinueFinder(Sema &S, Stmt* Body) : in BreakContinueFinder()
1573 void CheckForRedundantIteration(Sema &S, Expr *Third, Stmt *Body) { in CheckForRedundantIteration()
1609 void Sema::CheckBreakContinueBinding(Expr *E) { in CheckBreakContinueBinding()
1627 StmtResult Sema::ActOnForStmt(SourceLocation ForLoc, SourceLocation LParenLoc, in ActOnForStmt()
1682 StmtResult Sema::ActOnForEachLValueExpr(Expr *E) { in ActOnForEachLValueExpr()
1696 Sema::CheckObjCForCollectionOperand(SourceLocation forLoc, Expr *collection) { in CheckObjCForCollectionOperand()
1771 Sema::ActOnObjCForCollectionStmt(SourceLocation ForLoc, in ActOnObjCForCollectionStmt()
1852 static bool FinishForRangeVarDecl(Sema &SemaRef, VarDecl *Decl, Expr *Init, in FinishForRangeVarDecl()
1868 Sema::DAR_Failed) in FinishForRangeVarDecl()
1902 void NoteForRangeBeginEndFunction(Sema &SemaRef, Expr *E, in NoteForRangeBeginEndFunction()
1925 VarDecl *BuildForRangeVarDecl(Sema &SemaRef, SourceLocation Loc, in BuildForRangeVarDecl()
1961 StmtResult Sema::ActOnCXXForRangeStmt(Scope *S, SourceLocation ForLoc, in ActOnCXXForRangeStmt()
2030 static Sema::ForRangeStatus BuildNonArrayForRange(Sema &SemaRef, in BuildNonArrayForRange()
2046 Sema::LookupMemberName); in BuildNonArrayForRange()
2047 LookupResult EndMemberLookup(SemaRef, EndNameInfo, Sema::LookupMemberName); in BuildNonArrayForRange()
2064 return Sema::FRS_DiagnosticIssued; in BuildNonArrayForRange()
2075 Sema::ForRangeStatus RangeStatus = in BuildNonArrayForRange()
2080 if (RangeStatus != Sema::FRS_Success) { in BuildNonArrayForRange()
2081 if (RangeStatus == Sema::FRS_DiagnosticIssued) in BuildNonArrayForRange()
2089 return Sema::FRS_DiagnosticIssued; in BuildNonArrayForRange()
2097 if (RangeStatus != Sema::FRS_Success) { in BuildNonArrayForRange()
2098 if (RangeStatus == Sema::FRS_DiagnosticIssued) in BuildNonArrayForRange()
2106 return Sema::FRS_DiagnosticIssued; in BuildNonArrayForRange()
2108 return Sema::FRS_Success; in BuildNonArrayForRange()
2114 static StmtResult RebuildForRangeWithDereference(Sema &SemaRef, Scope *S, in RebuildForRangeWithDereference()
2126 Sema::SFINAETrap Trap(SemaRef); in RebuildForRangeWithDereference()
2134 RParenLoc, Sema::BFRK_Check); in RebuildForRangeWithDereference()
2146 Sema::BFRK_Rebuild); in RebuildForRangeWithDereference()
2152 InvalidateOnErrorScope(Sema &SemaRef, Decl *D, bool Enabled) in InvalidateOnErrorScope()
2167 Sema::BuildCXXForRangeStmt(SourceLocation ForLoc, SourceLocation CoawaitLoc, in BuildCXXForRangeStmt()
2431 StmtResult Sema::FinishObjCForCollectionStmt(Stmt *S, Stmt *B) { in FinishObjCForCollectionStmt()
2447 static void DiagnoseForRangeReferenceVariableCopies(Sema &SemaRef, in DiagnoseForRangeReferenceVariableCopies()
2521 static void DiagnoseForRangeConstVariableCopies(Sema &SemaRef, in DiagnoseForRangeConstVariableCopies()
2562 static void DiagnoseForRangeVariableCopies(Sema &SemaRef, in DiagnoseForRangeVariableCopies()
2598 StmtResult Sema::FinishCXXForRangeStmt(Stmt *S, Stmt *B) { in FinishCXXForRangeStmt()
2616 StmtResult Sema::ActOnGotoStmt(SourceLocation GotoLoc, in ActOnGotoStmt()
2625 Sema::ActOnIndirectGotoStmt(SourceLocation GotoLoc, SourceLocation StarLoc, in ActOnIndirectGotoStmt()
2651 static void CheckJumpOutOfSEHFinally(Sema &S, SourceLocation Loc, in CheckJumpOutOfSEHFinally()
2660 Sema::ActOnContinueStmt(SourceLocation ContinueLoc, Scope *CurScope) { in ActOnContinueStmt()
2672 Sema::ActOnBreakStmt(SourceLocation BreakLoc, Scope *CurScope) { in ActOnBreakStmt()
2705 VarDecl *Sema::getCopyElisionCandidate(QualType ReturnType, Expr *E, in getCopyElisionCandidate()
2724 bool Sema::isCopyElisionCandidate(QualType ReturnType, const VarDecl *VD, in isCopyElisionCandidate()
2773 Sema::PerformMoveOrCopyInitialization(const InitializedEntity &Entity, in PerformMoveOrCopyInitialization()
2860 Sema::ActOnCapScopeReturnStmt(SourceLocation ReturnLoc, Expr *RetValExp) { in ActOnCapScopeReturnStmt()
3034 LocalTypedefNameReferencer(Sema &S) : S(S) {} in LocalTypedefNameReferencer()
3037 Sema &S;
3052 TypeLoc Sema::getReturnTypeLoc(FunctionDecl *FD) const { in getReturnTypeLoc()
3061 bool Sema::DeduceFunctionTypeFromReturnExpr(FunctionDecl *FD, in DeduceFunctionTypeFromReturnExpr()
3158 Sema::ActOnReturnStmt(SourceLocation ReturnLoc, Expr *RetValExp, in ActOnReturnStmt()
3176 StmtResult Sema::BuildReturnStmt(SourceLocation ReturnLoc, Expr *RetValExp) { in BuildReturnStmt()
3406 Sema::ActOnObjCAtCatchStmt(SourceLocation AtLoc, in ActOnObjCAtCatchStmt()
3417 Sema::ActOnObjCAtFinallyStmt(SourceLocation AtLoc, Stmt *Body) { in ActOnObjCAtFinallyStmt()
3422 Sema::ActOnObjCAtTryStmt(SourceLocation AtLoc, Stmt *Try, in ActOnObjCAtTryStmt()
3433 StmtResult Sema::BuildObjCAtThrowStmt(SourceLocation AtLoc, Expr *Throw) { in BuildObjCAtThrowStmt()
3459 Sema::ActOnObjCAtThrowStmt(SourceLocation AtLoc, Expr *Throw, in ActOnObjCAtThrowStmt()
3477 Sema::ActOnObjCAtSynchronizedOperand(SourceLocation atLoc, Expr *operand) { in ActOnObjCAtSynchronizedOperand()
3513 Sema::ActOnObjCAtSynchronizedStmt(SourceLocation AtLoc, Expr *SyncExpr, in ActOnObjCAtSynchronizedStmt()
3523 Sema::ActOnCXXCatchBlock(SourceLocation CatchLoc, Decl *ExDecl, in ActOnCXXCatchBlock()
3531 Sema::ActOnObjCAutoreleasePoolStmt(SourceLocation AtLoc, Stmt *Body) { in ActOnObjCAutoreleasePoolStmt()
3640 StmtResult Sema::ActOnCXXTryBlock(SourceLocation TryLoc, Stmt *TryBlock, in ActOnCXXTryBlock()
3729 StmtResult Sema::ActOnSEHTryBlock(bool IsCXXTry, SourceLocation TryLoc, in ActOnSEHTryBlock()
3765 Sema::ActOnSEHExceptBlock(SourceLocation Loc, in ActOnSEHExceptBlock()
3779 void Sema::ActOnStartSEHFinallyBlock() { in ActOnStartSEHFinallyBlock()
3783 void Sema::ActOnAbortSEHFinallyBlock() { in ActOnAbortSEHFinallyBlock()
3787 StmtResult Sema::ActOnFinishSEHFinallyBlock(SourceLocation Loc, Stmt *Block) { in ActOnFinishSEHFinallyBlock()
3794 Sema::ActOnSEHLeaveStmt(SourceLocation Loc, Scope *CurScope) { in ActOnSEHLeaveStmt()
3805 StmtResult Sema::BuildMSDependentExistsStmt(SourceLocation KeywordLoc, in BuildMSDependentExistsStmt()
3817 StmtResult Sema::ActOnMSDependentExistsStmt(SourceLocation KeywordLoc, in ActOnMSDependentExistsStmt()
3829 Sema::CreateCapturedStmtRecordDecl(CapturedDecl *&CD, SourceLocation Loc, in CreateCapturedStmtRecordDecl()
3882 void Sema::ActOnCapturedRegionStart(SourceLocation Loc, Scope *CurScope, in ActOnCapturedRegionStart()
3909 void Sema::ActOnCapturedRegionStart(SourceLocation Loc, Scope *CurScope, in ActOnCapturedRegionStart()
3961 void Sema::ActOnCapturedRegionError() { in ActOnCapturedRegionError()
3977 StmtResult Sema::ActOnCapturedRegionEnd(Stmt *S) { in ActOnCapturedRegionEnd()