Lines Matching refs:StmtResult

134   static inline StmtResult Owned(Stmt *S) { return S; }  in Owned()
319 StmtResult TransformStmt(Stmt *S);
591 StmtResult TransformSEHHandler(Stmt *Handler);
634 StmtResult TransformCompoundStmt(CompoundStmt *S, bool IsStmtExpr);
652 StmtResult TransformOMPExecutableDirective(OMPExecutableDirective *S);
658 StmtResult Transform##Node(Node *S);
1112 StmtResult RebuildCompoundStmt(SourceLocation LBraceLoc, in RebuildCompoundStmt()
1124 StmtResult RebuildCaseStmt(SourceLocation CaseLoc, in RebuildCaseStmt()
1137 StmtResult RebuildCaseStmtBody(Stmt *S, Stmt *Body) { in RebuildCaseStmtBody()
1146 StmtResult RebuildDefaultStmt(SourceLocation DefaultLoc, in RebuildDefaultStmt()
1157 StmtResult RebuildLabelStmt(SourceLocation IdentLoc, LabelDecl *L, in RebuildLabelStmt()
1166 StmtResult RebuildAttributedStmt(SourceLocation AttrLoc, in RebuildAttributedStmt()
1176 StmtResult RebuildIfStmt(SourceLocation IfLoc, bool IsConstexpr, in RebuildIfStmt()
1187 StmtResult RebuildSwitchStmtStart(SourceLocation SwitchLoc, Stmt *Init, in RebuildSwitchStmtStart()
1196 StmtResult RebuildSwitchStmtBody(SourceLocation SwitchLoc, in RebuildSwitchStmtBody()
1205 StmtResult RebuildWhileStmt(SourceLocation WhileLoc, in RebuildWhileStmt()
1214 StmtResult RebuildDoStmt(SourceLocation DoLoc, Stmt *Body, in RebuildDoStmt()
1225 StmtResult RebuildForStmt(SourceLocation ForLoc, SourceLocation LParenLoc, in RebuildForStmt()
1237 StmtResult RebuildGotoStmt(SourceLocation GotoLoc, SourceLocation LabelLoc, in RebuildGotoStmt()
1246 StmtResult RebuildIndirectGotoStmt(SourceLocation GotoLoc, in RebuildIndirectGotoStmt()
1256 StmtResult RebuildReturnStmt(SourceLocation ReturnLoc, Expr *Result) { in RebuildReturnStmt()
1264 StmtResult RebuildDeclStmt(MutableArrayRef<Decl *> Decls, in RebuildDeclStmt()
1274 StmtResult RebuildGCCAsmStmt(SourceLocation AsmLoc, bool IsSimple, in RebuildGCCAsmStmt()
1289 StmtResult RebuildMSAsmStmt(SourceLocation AsmLoc, SourceLocation LBraceLoc, in RebuildMSAsmStmt()
1306 StmtResult RebuildCoreturnStmt(SourceLocation CoreturnLoc, Expr *Result) { in RebuildCoreturnStmt()
1330 StmtResult RebuildObjCAtTryStmt(SourceLocation AtLoc, in RebuildObjCAtTryStmt()
1354 StmtResult RebuildObjCAtCatchStmt(SourceLocation AtLoc, in RebuildObjCAtCatchStmt()
1366 StmtResult RebuildObjCAtFinallyStmt(SourceLocation AtLoc, in RebuildObjCAtFinallyStmt()
1375 StmtResult RebuildObjCAtThrowStmt(SourceLocation AtLoc, in RebuildObjCAtThrowStmt()
1384 StmtResult RebuildOMPExecutableDirective(OpenMPDirectiveKind Kind, in RebuildOMPExecutableDirective()
1821 StmtResult RebuildObjCAtSynchronizedStmt(SourceLocation AtLoc, in RebuildObjCAtSynchronizedStmt()
1830 StmtResult RebuildObjCAutoreleasePoolStmt(SourceLocation AtLoc, in RebuildObjCAutoreleasePoolStmt()
1839 StmtResult RebuildObjCForCollectionStmt(SourceLocation ForLoc, in RebuildObjCForCollectionStmt()
1844 StmtResult ForEachStmt = getSema().ActOnObjCForCollectionStmt(ForLoc, in RebuildObjCForCollectionStmt()
1874 StmtResult RebuildCXXCatchStmt(SourceLocation CatchLoc, in RebuildCXXCatchStmt()
1885 StmtResult RebuildCXXTryStmt(SourceLocation TryLoc, Stmt *TryBlock, in RebuildCXXTryStmt()
1894 StmtResult RebuildCXXForRangeStmt(SourceLocation ForLoc, in RebuildCXXForRangeStmt()
1928 StmtResult RebuildMSDependentExistsStmt(SourceLocation KeywordLoc, in RebuildMSDependentExistsStmt()
1941 StmtResult FinishCXXForRangeStmt(Stmt *ForRange, Stmt *Body) { in FinishCXXForRangeStmt()
1945 StmtResult RebuildSEHTryStmt(bool IsCXXTry, SourceLocation TryLoc, in RebuildSEHTryStmt()
1950 StmtResult RebuildSEHExceptStmt(SourceLocation Loc, Expr *FilterExpr, in RebuildSEHExceptStmt()
1955 StmtResult RebuildSEHFinallyStmt(SourceLocation Loc, Stmt *Block) { in RebuildSEHFinallyStmt()
3142 StmtResult TreeTransform<Derived>::TransformStmt(Stmt *S) { in TransformStmt()
6103 StmtResult
6109 StmtResult
6115 StmtResult
6124 StmtResult Result = getDerived().TransformStmt(B); in TransformCompoundStmt()
6154 StmtResult
6177 StmtResult Case = getDerived().RebuildCaseStmt(S->getCaseLoc(), in TransformCaseStmt()
6186 StmtResult SubStmt = getDerived().TransformStmt(S->getSubStmt()); in TransformCaseStmt()
6195 StmtResult
6198 StmtResult SubStmt = getDerived().TransformStmt(S->getSubStmt()); in TransformDefaultStmt()
6208 StmtResult
6210 StmtResult SubStmt = getDerived().TransformStmt(S->getSubStmt()); in TransformLabelStmt()
6244 StmtResult TreeTransform<Derived>::TransformAttributedStmt(AttributedStmt *S) { in TransformAttributedStmt()
6255 StmtResult SubStmt = getDerived().TransformStmt(S->getSubStmt()); in TransformAttributedStmt()
6267 StmtResult
6270 StmtResult Init = getDerived().TransformStmt(S->getInit()); in TransformIfStmt()
6288 StmtResult Then; in TransformIfStmt()
6298 StmtResult Else; in TransformIfStmt()
6318 StmtResult
6321 StmtResult Init = getDerived().TransformStmt(S->getInit()); in TransformSwitchStmt()
6333 StmtResult Switch in TransformSwitchStmt()
6340 StmtResult Body = getDerived().TransformStmt(S->getBody()); in TransformSwitchStmt()
6350 StmtResult
6360 StmtResult Body = getDerived().TransformStmt(S->getBody()); in TransformWhileStmt()
6373 StmtResult
6376 StmtResult Body = getDerived().TransformStmt(S->getBody()); in TransformDoStmt()
6396 StmtResult
6399 StmtResult Init = getDerived().TransformStmt(S->getInit()); in TransformForStmt()
6425 StmtResult Body = getDerived().TransformStmt(S->getBody()); in TransformForStmt()
6442 StmtResult
6455 StmtResult
6471 StmtResult
6477 StmtResult
6483 StmtResult
6496 StmtResult
6518 StmtResult
6583 StmtResult
6617 StmtResult
6624 StmtResult
6665 StmtResult
6668 StmtResult TryBody = getDerived().TransformStmt(S->getTryBody()); in TransformObjCAtTryStmt()
6676 StmtResult Catch = getDerived().TransformStmt(S->getCatchStmt(I)); in TransformObjCAtTryStmt()
6685 StmtResult Finally; in TransformObjCAtTryStmt()
6705 StmtResult
6731 StmtResult Body = getDerived().TransformStmt(S->getCatchBody()); in TransformObjCAtCatchStmt()
6741 StmtResult
6744 StmtResult Body = getDerived().TransformStmt(S->getFinallyBody()); in TransformObjCAtFinallyStmt()
6759 StmtResult
6776 StmtResult
6790 StmtResult Body = getDerived().TransformStmt(S->getSynchBody()); in TransformObjCAtSynchronizedStmt()
6806 StmtResult
6810 StmtResult Body = getDerived().TransformStmt(S->getSubStmt()); in TransformObjCAutoreleasePoolStmt()
6825 StmtResult
6829 StmtResult Element = getDerived().TransformStmt(S->getElement()); in TransformObjCForCollectionStmt()
6839 StmtResult Body = getDerived().TransformStmt(S->getBody()); in TransformObjCForCollectionStmt()
6859 StmtResult TreeTransform<Derived>::TransformCXXCatchStmt(CXXCatchStmt *S) { in TransformCXXCatchStmt()
6876 StmtResult Handler = getDerived().TransformStmt(S->getHandlerBlock()); in TransformCXXCatchStmt()
6888 StmtResult TreeTransform<Derived>::TransformCXXTryStmt(CXXTryStmt *S) { in TransformCXXTryStmt()
6890 StmtResult TryBlock = getDerived().TransformCompoundStmt(S->getTryBlock()); in TransformCXXTryStmt()
6898 StmtResult Handler = getDerived().TransformCXXCatchStmt(S->getHandler(I)); in TransformCXXTryStmt()
6915 StmtResult
6917 StmtResult Range = getDerived().TransformStmt(S->getRangeStmt()); in TransformCXXForRangeStmt()
6921 StmtResult Begin = getDerived().TransformStmt(S->getBeginStmt()); in TransformCXXForRangeStmt()
6924 StmtResult End = getDerived().TransformStmt(S->getEndStmt()); in TransformCXXForRangeStmt()
6944 StmtResult LoopVar = getDerived().TransformStmt(S->getLoopVarStmt()); in TransformCXXForRangeStmt()
6948 StmtResult NewStmt = S; in TransformCXXForRangeStmt()
6967 StmtResult Body = getDerived().TransformStmt(S->getBody()); in TransformCXXForRangeStmt()
6992 StmtResult
7044 StmtResult SubStmt = getDerived().TransformCompoundStmt(S->getSubStmt()); in TransformMSDependentExistsStmt()
7106 StmtResult TreeTransform<Derived>::TransformSEHTryStmt(SEHTryStmt *S) { in TransformSEHTryStmt()
7107 StmtResult TryBlock = getDerived().TransformCompoundStmt(S->getTryBlock()); in TransformSEHTryStmt()
7111 StmtResult Handler = getDerived().TransformSEHHandler(S->getHandler()); in TransformSEHTryStmt()
7124 StmtResult TreeTransform<Derived>::TransformSEHFinallyStmt(SEHFinallyStmt *S) { in TransformSEHFinallyStmt()
7125 StmtResult Block = getDerived().TransformCompoundStmt(S->getBlock()); in TransformSEHFinallyStmt()
7133 StmtResult TreeTransform<Derived>::TransformSEHExceptStmt(SEHExceptStmt *S) { in TransformSEHExceptStmt()
7138 StmtResult Block = getDerived().TransformCompoundStmt(S->getBlock()); in TransformSEHExceptStmt()
7147 StmtResult TreeTransform<Derived>::TransformSEHHandler(Stmt *Handler) { in TransformSEHHandler()
7155 StmtResult
7164 StmtResult TreeTransform<Derived>::TransformOMPExecutableDirective( in TransformOMPExecutableDirective()
7183 StmtResult AssociatedStmt; in TransformOMPExecutableDirective()
7187 StmtResult Body; in TransformOMPExecutableDirective()
7222 StmtResult
7227 StmtResult Res = getDerived().TransformOMPExecutableDirective(D); in TransformOMPParallelDirective()
7233 StmtResult
7238 StmtResult Res = getDerived().TransformOMPExecutableDirective(D); in TransformOMPSimdDirective()
7244 StmtResult
7249 StmtResult Res = getDerived().TransformOMPExecutableDirective(D); in TransformOMPForDirective()
7255 StmtResult
7260 StmtResult Res = getDerived().TransformOMPExecutableDirective(D); in TransformOMPForSimdDirective()
7266 StmtResult
7271 StmtResult Res = getDerived().TransformOMPExecutableDirective(D); in TransformOMPSectionsDirective()
7277 StmtResult
7282 StmtResult Res = getDerived().TransformOMPExecutableDirective(D); in TransformOMPSectionDirective()
7288 StmtResult
7293 StmtResult Res = getDerived().TransformOMPExecutableDirective(D); in TransformOMPSingleDirective()
7299 StmtResult
7304 StmtResult Res = getDerived().TransformOMPExecutableDirective(D); in TransformOMPMasterDirective()
7310 StmtResult
7314 StmtResult Res = getDerived().TransformOMPExecutableDirective(D); in TransformOMPCriticalDirective()
7320 StmtResult TreeTransform<Derived>::TransformOMPParallelForDirective( in TransformOMPParallelForDirective()
7325 StmtResult Res = getDerived().TransformOMPExecutableDirective(D); in TransformOMPParallelForDirective()
7331 StmtResult TreeTransform<Derived>::TransformOMPParallelForSimdDirective( in TransformOMPParallelForSimdDirective()
7336 StmtResult Res = getDerived().TransformOMPExecutableDirective(D); in TransformOMPParallelForSimdDirective()
7342 StmtResult TreeTransform<Derived>::TransformOMPParallelSectionsDirective( in TransformOMPParallelSectionsDirective()
7347 StmtResult Res = getDerived().TransformOMPExecutableDirective(D); in TransformOMPParallelSectionsDirective()
7353 StmtResult
7358 StmtResult Res = getDerived().TransformOMPExecutableDirective(D); in TransformOMPTaskDirective()
7364 StmtResult TreeTransform<Derived>::TransformOMPTaskyieldDirective( in TransformOMPTaskyieldDirective()
7369 StmtResult Res = getDerived().TransformOMPExecutableDirective(D); in TransformOMPTaskyieldDirective()
7375 StmtResult
7380 StmtResult Res = getDerived().TransformOMPExecutableDirective(D); in TransformOMPBarrierDirective()
7386 StmtResult
7391 StmtResult Res = getDerived().TransformOMPExecutableDirective(D); in TransformOMPTaskwaitDirective()
7397 StmtResult TreeTransform<Derived>::TransformOMPTaskgroupDirective( in TransformOMPTaskgroupDirective()
7402 StmtResult Res = getDerived().TransformOMPExecutableDirective(D); in TransformOMPTaskgroupDirective()
7408 StmtResult
7413 StmtResult Res = getDerived().TransformOMPExecutableDirective(D); in TransformOMPFlushDirective()
7419 StmtResult
7424 StmtResult Res = getDerived().TransformOMPExecutableDirective(D); in TransformOMPOrderedDirective()
7430 StmtResult
7435 StmtResult Res = getDerived().TransformOMPExecutableDirective(D); in TransformOMPAtomicDirective()
7441 StmtResult
7446 StmtResult Res = getDerived().TransformOMPExecutableDirective(D); in TransformOMPTargetDirective()
7452 StmtResult TreeTransform<Derived>::TransformOMPTargetDataDirective( in TransformOMPTargetDataDirective()
7457 StmtResult Res = getDerived().TransformOMPExecutableDirective(D); in TransformOMPTargetDataDirective()
7463 StmtResult TreeTransform<Derived>::TransformOMPTargetEnterDataDirective( in TransformOMPTargetEnterDataDirective()
7468 StmtResult Res = getDerived().TransformOMPExecutableDirective(D); in TransformOMPTargetEnterDataDirective()
7474 StmtResult TreeTransform<Derived>::TransformOMPTargetExitDataDirective( in TransformOMPTargetExitDataDirective()
7479 StmtResult Res = getDerived().TransformOMPExecutableDirective(D); in TransformOMPTargetExitDataDirective()
7485 StmtResult TreeTransform<Derived>::TransformOMPTargetParallelDirective( in TransformOMPTargetParallelDirective()
7490 StmtResult Res = getDerived().TransformOMPExecutableDirective(D); in TransformOMPTargetParallelDirective()
7496 StmtResult TreeTransform<Derived>::TransformOMPTargetParallelForDirective( in TransformOMPTargetParallelForDirective()
7501 StmtResult Res = getDerived().TransformOMPExecutableDirective(D); in TransformOMPTargetParallelForDirective()
7507 StmtResult TreeTransform<Derived>::TransformOMPTargetUpdateDirective( in TransformOMPTargetUpdateDirective()
7512 StmtResult Res = getDerived().TransformOMPExecutableDirective(D); in TransformOMPTargetUpdateDirective()
7518 StmtResult
7523 StmtResult Res = getDerived().TransformOMPExecutableDirective(D); in TransformOMPTeamsDirective()
7529 StmtResult TreeTransform<Derived>::TransformOMPCancellationPointDirective( in TransformOMPCancellationPointDirective()
7534 StmtResult Res = getDerived().TransformOMPExecutableDirective(D); in TransformOMPCancellationPointDirective()
7540 StmtResult
7545 StmtResult Res = getDerived().TransformOMPExecutableDirective(D); in TransformOMPCancelDirective()
7551 StmtResult
7556 StmtResult Res = getDerived().TransformOMPExecutableDirective(D); in TransformOMPTaskLoopDirective()
7562 StmtResult TreeTransform<Derived>::TransformOMPTaskLoopSimdDirective( in TransformOMPTaskLoopSimdDirective()
7567 StmtResult Res = getDerived().TransformOMPExecutableDirective(D); in TransformOMPTaskLoopSimdDirective()
7573 StmtResult TreeTransform<Derived>::TransformOMPDistributeDirective( in TransformOMPDistributeDirective()
7578 StmtResult Res = getDerived().TransformOMPExecutableDirective(D); in TransformOMPDistributeDirective()
7584 StmtResult TreeTransform<Derived>::TransformOMPDistributeParallelForDirective( in TransformOMPDistributeParallelForDirective()
7589 StmtResult Res = getDerived().TransformOMPExecutableDirective(D); in TransformOMPDistributeParallelForDirective()
7595 StmtResult
7601 StmtResult Res = getDerived().TransformOMPExecutableDirective(D); in TransformOMPDistributeParallelForSimdDirective()
7607 StmtResult TreeTransform<Derived>::TransformOMPDistributeSimdDirective( in TransformOMPDistributeSimdDirective()
7612 StmtResult Res = getDerived().TransformOMPExecutableDirective(D); in TransformOMPDistributeSimdDirective()
7618 StmtResult TreeTransform<Derived>::TransformOMPTargetParallelForSimdDirective( in TransformOMPTargetParallelForSimdDirective()
7624 StmtResult Res = getDerived().TransformOMPExecutableDirective(D); in TransformOMPTargetParallelForSimdDirective()
9010 StmtResult SubStmt in TransformStmtExpr()
10366 StmtResult Body = in TransformLambdaExpr()
11382 StmtResult body = getDerived().TransformStmt(E->getBody()); in TransformBlockExpr()
11911 StmtResult
11930 StmtResult Body; in TransformCapturedStmt()