Lines Matching refs:SubExpr
1926 ExprResult RebuildParenExpr(Expr *SubExpr, SourceLocation LParen, in RebuildParenExpr() argument
1928 return getSema().ActOnParenExpr(LParen, RParen, SubExpr); in RebuildParenExpr()
1950 Expr *SubExpr) { in RebuildUnaryOperator() argument
1951 return getSema().BuildUnaryOp(/*Scope=*/nullptr, OpLoc, Opc, SubExpr); in RebuildUnaryOperator()
1983 ExprResult RebuildUnaryExprOrTypeTrait(Expr *SubExpr, SourceLocation OpLoc, in RebuildUnaryExprOrTypeTrait() argument
1987 = getSema().CreateUnaryExprOrTypeTraitExpr(SubExpr, OpLoc, ExprKind); in RebuildUnaryExprOrTypeTrait()
2117 Expr *SubExpr) { in RebuildCStyleCastExpr() argument
2119 SubExpr); in RebuildCStyleCastExpr()
2206 Expr *SubExpr, TypeSourceInfo *TInfo, in RebuildVAArgExpr() argument
2209 SubExpr, TInfo, in RebuildVAArgExpr()
2295 Expr *SubExpr, in RebuildCXXNamedCastExpr() argument
2301 SubExpr, RParenLoc); in RebuildCXXNamedCastExpr()
2306 SubExpr, RParenLoc); in RebuildCXXNamedCastExpr()
2311 SubExpr, in RebuildCXXNamedCastExpr()
2317 SubExpr, RParenLoc); in RebuildCXXNamedCastExpr()
2333 Expr *SubExpr, in RebuildCXXStaticCastExpr() argument
2336 TInfo, SubExpr, in RebuildCXXStaticCastExpr()
2350 Expr *SubExpr, in RebuildCXXDynamicCastExpr() argument
2353 TInfo, SubExpr, in RebuildCXXDynamicCastExpr()
2367 Expr *SubExpr, in RebuildCXXReinterpretCastExpr() argument
2370 TInfo, SubExpr, in RebuildCXXReinterpretCastExpr()
2384 Expr *SubExpr, in RebuildCXXConstCastExpr() argument
2387 TInfo, SubExpr, in RebuildCXXConstCastExpr()
8003 ExprResult SubExpr = getDerived().TransformExpr(E->getSubExpr()); in TransformParenExpr() local
8004 if (SubExpr.isInvalid()) in TransformParenExpr()
8007 if (!getDerived().AlwaysRebuild() && SubExpr.get() == E->getSubExpr()) in TransformParenExpr()
8010 return getDerived().RebuildParenExpr(SubExpr.get(), E->getLParen(), in TransformParenExpr()
8029 ExprResult SubExpr; in TransformUnaryOperator() local
8031 SubExpr = TransformAddressOfOperand(E->getSubExpr()); in TransformUnaryOperator()
8033 SubExpr = TransformExpr(E->getSubExpr()); in TransformUnaryOperator()
8034 if (SubExpr.isInvalid()) in TransformUnaryOperator()
8037 if (!getDerived().AlwaysRebuild() && SubExpr.get() == E->getSubExpr()) in TransformUnaryOperator()
8042 SubExpr.get()); in TransformUnaryOperator()
8174 ExprResult SubExpr; in TransformUnaryExprOrTypeTraitExpr() local
8178 SubExpr = getDerived().TransformParenDependentScopeDeclRefExpr( in TransformUnaryExprOrTypeTraitExpr()
8181 SubExpr = getDerived().TransformExpr(E->getArgumentExpr()); in TransformUnaryExprOrTypeTraitExpr()
8186 } else if (SubExpr.isInvalid()) in TransformUnaryExprOrTypeTraitExpr()
8189 if (!getDerived().AlwaysRebuild() && SubExpr.get() == E->getArgumentExpr()) in TransformUnaryExprOrTypeTraitExpr()
8192 return getDerived().RebuildUnaryExprOrTypeTrait(SubExpr.get(), in TransformUnaryExprOrTypeTraitExpr()
8457 ExprResult SubExpr in TransformCStyleCastExpr() local
8459 if (SubExpr.isInvalid()) in TransformCStyleCastExpr()
8464 SubExpr.get() == E->getSubExpr()) in TransformCStyleCastExpr()
8470 SubExpr.get()); in TransformCStyleCastExpr()
8655 ExprResult SubExpr = getDerived().TransformExpr(E->getSubExpr()); in TransformVAArgExpr() local
8656 if (SubExpr.isInvalid()) in TransformVAArgExpr()
8661 SubExpr.get() == E->getSubExpr()) in TransformVAArgExpr()
8664 return getDerived().RebuildVAArgExpr(E->getBuiltinLoc(), SubExpr.get(), in TransformVAArgExpr()
8885 ExprResult SubExpr in TransformCXXNamedCastExpr() local
8887 if (SubExpr.isInvalid()) in TransformCXXNamedCastExpr()
8892 SubExpr.get() == E->getSubExpr()) in TransformCXXNamedCastExpr()
8898 E->getAngleBrackets().getEnd(), SubExpr.get(), E->getRParenLoc()); in TransformCXXNamedCastExpr()
8934 ExprResult SubExpr in TransformCXXFunctionalCastExpr() local
8936 if (SubExpr.isInvalid()) in TransformCXXFunctionalCastExpr()
8941 SubExpr.get() == E->getSubExpr()) in TransformCXXFunctionalCastExpr()
8946 SubExpr.get(), in TransformCXXFunctionalCastExpr()
8976 ExprResult SubExpr = getDerived().TransformExpr(E->getExprOperand()); in TransformCXXTypeidExpr() local
8977 if (SubExpr.isInvalid()) in TransformCXXTypeidExpr()
8981 SubExpr.get() == E->getExprOperand()) in TransformCXXTypeidExpr()
8986 SubExpr.get(), in TransformCXXTypeidExpr()
9011 ExprResult SubExpr = getDerived().TransformExpr(E->getExprOperand()); in TransformCXXUuidofExpr() local
9012 if (SubExpr.isInvalid()) in TransformCXXUuidofExpr()
9016 SubExpr.get() == E->getExprOperand()) in TransformCXXUuidofExpr()
9021 SubExpr.get(), in TransformCXXUuidofExpr()
9055 ExprResult SubExpr = getDerived().TransformExpr(E->getSubExpr()); in TransformCXXThrowExpr() local
9056 if (SubExpr.isInvalid()) in TransformCXXThrowExpr()
9060 SubExpr.get() == E->getSubExpr()) in TransformCXXThrowExpr()
9063 return getDerived().RebuildCXXThrowExpr(E->getThrowLoc(), SubExpr.get(), in TransformCXXThrowExpr()
9593 ExprResult SubExpr; in TransformArrayTypeTraitExpr() local
9596 SubExpr = getDerived().TransformExpr(E->getDimensionExpression()); in TransformArrayTypeTraitExpr()
9597 if (SubExpr.isInvalid()) in TransformArrayTypeTraitExpr()
9600 if (!getDerived().AlwaysRebuild() && SubExpr.get() == E->getDimensionExpression()) in TransformArrayTypeTraitExpr()
9607 SubExpr.get(), in TransformArrayTypeTraitExpr()
9614 ExprResult SubExpr; in TransformExpressionTraitExpr() local
9617 SubExpr = getDerived().TransformExpr(E->getQueriedExpression()); in TransformExpressionTraitExpr()
9618 if (SubExpr.isInvalid()) in TransformExpressionTraitExpr()
9621 if (!getDerived().AlwaysRebuild() && SubExpr.get() == E->getQueriedExpression()) in TransformExpressionTraitExpr()
9626 E->getTrait(), E->getLocStart(), SubExpr.get(), E->getLocEnd()); in TransformExpressionTraitExpr()
10288 ExprResult SubExpr = getDerived().TransformExpr(E->getOperand()); in TransformCXXNoexceptExpr() local
10289 if (SubExpr.isInvalid()) in TransformCXXNoexceptExpr()
10292 if (!getDerived().AlwaysRebuild() && SubExpr.get() == E->getOperand()) in TransformCXXNoexceptExpr()
10295 return getDerived().RebuildCXXNoexceptExpr(E->getSourceRange(),SubExpr.get()); in TransformCXXNoexceptExpr()
10576 ExprResult SubExpr = getDerived().TransformExpr(E->getSubExpr()); in TransformObjCBoxedExpr() local
10577 if (SubExpr.isInvalid()) in TransformObjCBoxedExpr()
10581 SubExpr.get() == E->getSubExpr()) in TransformObjCBoxedExpr()
10584 return getDerived().RebuildObjCBoxedExpr(E->getSourceRange(), SubExpr.get()); in TransformObjCBoxedExpr()