Lines Matching refs:StmtResult
133 static inline StmtResult Owned(Stmt *S) { return S; }
314 StmtResult TransformStmt(Stmt *S);
536 StmtResult
580 StmtResult TransformCompoundStmt(CompoundStmt *S, bool IsStmtExpr);
591 StmtResult Transform##Node(Node *S);
1011 StmtResult RebuildCompoundStmt(SourceLocation LBraceLoc,
1023 StmtResult RebuildCaseStmt(SourceLocation CaseLoc,
1036 StmtResult RebuildCaseStmtBody(Stmt *S, Stmt *Body) {
1045 StmtResult RebuildDefaultStmt(SourceLocation DefaultLoc,
1056 StmtResult RebuildLabelStmt(SourceLocation IdentLoc, LabelDecl *L,
1065 StmtResult RebuildAttributedStmt(SourceLocation AttrLoc,
1075 StmtResult RebuildIfStmt(SourceLocation IfLoc, Sema::FullExprArg Cond,
1085 StmtResult RebuildSwitchStmtStart(SourceLocation SwitchLoc,
1095 StmtResult RebuildSwitchStmtBody(SourceLocation SwitchLoc,
1104 StmtResult RebuildWhileStmt(SourceLocation WhileLoc, Sema::FullExprArg Cond,
1113 StmtResult RebuildDoStmt(SourceLocation DoLoc, Stmt *Body,
1124 StmtResult RebuildForStmt(SourceLocation ForLoc, SourceLocation LParenLoc,
1136 StmtResult RebuildGotoStmt(SourceLocation GotoLoc, SourceLocation LabelLoc,
1145 StmtResult RebuildIndirectGotoStmt(SourceLocation GotoLoc,
1155 StmtResult RebuildReturnStmt(SourceLocation ReturnLoc, Expr *Result) {
1163 StmtResult RebuildDeclStmt(Decl **Decls, unsigned NumDecls,
1174 StmtResult RebuildGCCAsmStmt(SourceLocation AsmLoc, bool IsSimple,
1189 StmtResult RebuildMSAsmStmt(SourceLocation AsmLoc, SourceLocation LBraceLoc,
1198 StmtResult RebuildObjCAtTryStmt(SourceLocation AtLoc,
1222 StmtResult RebuildObjCAtCatchStmt(SourceLocation AtLoc,
1234 StmtResult RebuildObjCAtFinallyStmt(SourceLocation AtLoc,
1243 StmtResult RebuildObjCAtThrowStmt(SourceLocation AtLoc,
1261 StmtResult RebuildObjCAtSynchronizedStmt(SourceLocation AtLoc,
1270 StmtResult RebuildObjCAutoreleasePoolStmt(SourceLocation AtLoc,
1279 StmtResult RebuildObjCForCollectionStmt(SourceLocation ForLoc,
1284 StmtResult ForEachStmt = getSema().ActOnObjCForCollectionStmt(ForLoc,
1314 StmtResult RebuildCXXCatchStmt(SourceLocation CatchLoc,
1325 StmtResult RebuildCXXTryStmt(SourceLocation TryLoc,
1335 StmtResult RebuildCXXForRangeStmt(SourceLocation ForLoc,
1350 StmtResult RebuildMSDependentExistsStmt(SourceLocation KeywordLoc,
1363 StmtResult FinishCXXForRangeStmt(Stmt *ForRange, Stmt *Body) {
1367 StmtResult RebuildSEHTryStmt(bool IsCXXTry,
1374 StmtResult RebuildSEHExceptStmt(SourceLocation Loc,
1380 StmtResult RebuildSEHFinallyStmt(SourceLocation Loc,
2535 StmtResult TreeTransform<Derived>::TransformStmt(Stmt *S) {
5096 StmtResult
5102 StmtResult
5108 StmtResult
5118 StmtResult Result = getDerived().TransformStmt(*B);
5148 StmtResult
5171 StmtResult Case = getDerived().RebuildCaseStmt(S->getCaseLoc(),
5180 StmtResult SubStmt = getDerived().TransformStmt(S->getSubStmt());
5189 StmtResult
5192 StmtResult SubStmt = getDerived().TransformStmt(S->getSubStmt());
5202 StmtResult
5204 StmtResult SubStmt = getDerived().TransformStmt(S->getSubStmt());
5221 StmtResult
5223 StmtResult SubStmt = getDerived().TransformStmt(S->getSubStmt());
5237 StmtResult
5272 StmtResult Then = getDerived().TransformStmt(S->getThen());
5277 StmtResult Else = getDerived().TransformStmt(S->getElse());
5294 StmtResult
5315 StmtResult Switch
5322 StmtResult Body = getDerived().TransformStmt(S->getBody());
5332 StmtResult
5366 StmtResult Body = getDerived().TransformStmt(S->getBody());
5381 StmtResult
5384 StmtResult Body = getDerived().TransformStmt(S->getBody());
5404 StmtResult
5407 StmtResult Init = getDerived().TransformStmt(S->getInit());
5453 StmtResult Body = getDerived().TransformStmt(S->getBody());
5470 StmtResult
5483 StmtResult
5499 StmtResult
5505 StmtResult
5511 StmtResult
5523 StmtResult
5548 StmtResult
5613 StmtResult
5623 StmtResult
5626 StmtResult TryBody = getDerived().TransformStmt(S->getTryBody());
5634 StmtResult Catch = getDerived().TransformStmt(S->getCatchStmt(I));
5643 StmtResult Finally;
5663 StmtResult
5689 StmtResult Body = getDerived().TransformStmt(S->getCatchBody());
5699 StmtResult
5702 StmtResult Body = getDerived().TransformStmt(S->getFinallyBody());
5717 StmtResult
5734 StmtResult
5748 StmtResult Body = getDerived().TransformStmt(S->getSynchBody());
5764 StmtResult
5768 StmtResult Body = getDerived().TransformStmt(S->getSubStmt());
5783 StmtResult
5787 StmtResult Element = getDerived().TransformStmt(S->getElement());
5797 StmtResult Body = getDerived().TransformStmt(S->getBody());
5818 StmtResult
5838 StmtResult Handler = getDerived().TransformStmt(S->getHandlerBlock());
5853 StmtResult
5856 StmtResult TryBlock
5865 StmtResult Handler
5884 StmtResult
5886 StmtResult Range = getDerived().TransformStmt(S->getRangeStmt());
5890 StmtResult BeginEnd = getDerived().TransformStmt(S->getBeginEndStmt());
5910 StmtResult LoopVar = getDerived().TransformStmt(S->getLoopVarStmt());
5914 StmtResult NewStmt = S;
5927 StmtResult Body = getDerived().TransformStmt(S->getBody());
5947 StmtResult
5999 StmtResult SubStmt = getDerived().TransformCompoundStmt(S->getSubStmt());
6016 StmtResult
6018 StmtResult TryBlock; // = getDerived().TransformCompoundStmt(S->getTryBlock());
6021 StmtResult Handler = getDerived().TransformSEHHandler(S->getHandler());
6034 StmtResult
6036 StmtResult Block; // = getDerived().TransformCompoundStatement(S->getBlock());
6044 StmtResult
6049 StmtResult Block; // = getDerived().TransformCompoundStatement(S->getBlock());
6058 StmtResult
6823 StmtResult SubStmt
8067 StmtResult Body = getDerived().TransformStmt(E->getBody());
8863 StmtResult body = getDerived().TransformStmt(E->getBody());