Lines Matching refs:ExprResult
133 static inline ExprResult Owned(Expr *E) { return E; }
335 ExprResult TransformExpr(Expr *E);
344 ExprResult TransformInitializer(Expr *Init, bool CXXDirectInit);
592 ExprResult TransformCXXNamedCastExpr(CXXNamedCastExpr *E);
595 ExprResult TransformLambdaScope(LambdaExpr *E, CXXMethodDecl *CallOperator);
597 ExprResult TransformAddressOfOperand(Expr *E);
598 ExprResult TransformDependentScopeDeclRefExpr(DependentScopeDeclRefExpr *E,
604 ExprResult Transform##Node(Node *E);
1314 ExprResult RebuildObjCAtSynchronizedOperand(SourceLocation atLoc,
1468 ExprResult RebuildDeclarationNameExpr(const CXXScopeSpec &SS,
1479 ExprResult RebuildDeclRefExpr(NestedNameSpecifierLoc QualifierLoc,
1495 ExprResult RebuildParenExpr(Expr *SubExpr, SourceLocation LParen,
1504 ExprResult RebuildCXXPseudoDestructorExpr(Expr *Base,
1517 ExprResult RebuildUnaryOperator(SourceLocation OpLoc,
1527 ExprResult RebuildOffsetOfExpr(SourceLocation OperatorLoc,
1541 ExprResult RebuildUnaryExprOrTypeTrait(TypeSourceInfo *TInfo,
1553 ExprResult RebuildUnaryExprOrTypeTrait(Expr *SubExpr, SourceLocation OpLoc,
1556 ExprResult Result
1568 ExprResult RebuildArraySubscriptExpr(Expr *LHS,
1581 ExprResult RebuildCallExpr(Expr *Callee, SourceLocation LParenLoc,
1593 ExprResult RebuildMemberExpr(Expr *Base, SourceLocation OpLoc,
1602 ExprResult BaseResult = getSema().PerformMemberExprBaseConversion(Base,
1650 ExprResult RebuildBinaryOperator(SourceLocation OpLoc,
1660 ExprResult RebuildConditionalOperator(Expr *Cond,
1673 ExprResult RebuildCStyleCastExpr(SourceLocation LParenLoc,
1685 ExprResult RebuildCompoundLiteralExpr(SourceLocation LParenLoc,
1697 ExprResult RebuildExtVectorElementExpr(Expr *Base,
1716 ExprResult RebuildInitList(SourceLocation LBraceLoc,
1720 ExprResult Result
1736 ExprResult RebuildDesignatedInitExpr(Designation &Desig,
1741 ExprResult Result
1755 ExprResult RebuildImplicitValueInitExpr(QualType T) {
1763 ExprResult RebuildVAArgExpr(SourceLocation BuiltinLoc,
1775 ExprResult RebuildParenListExpr(SourceLocation LParenLoc,
1786 ExprResult RebuildAddrLabelExpr(SourceLocation AmpAmpLoc,
1795 ExprResult RebuildStmtExpr(SourceLocation LParenLoc,
1805 ExprResult RebuildChooseExpr(SourceLocation BuiltinLoc,
1817 ExprResult RebuildGenericSelectionExpr(SourceLocation KeyLoc,
1835 ExprResult RebuildCXXOperatorCallExpr(OverloadedOperatorKind Op,
1847 ExprResult RebuildCXXNamedCastExpr(SourceLocation OpLoc,
1886 ExprResult RebuildCXXStaticCastExpr(SourceLocation OpLoc,
1903 ExprResult RebuildCXXDynamicCastExpr(SourceLocation OpLoc,
1920 ExprResult RebuildCXXReinterpretCastExpr(SourceLocation OpLoc,
1937 ExprResult RebuildCXXConstCastExpr(SourceLocation OpLoc,
1954 ExprResult RebuildCXXFunctionalCastExpr(TypeSourceInfo *TInfo,
1967 ExprResult RebuildCXXTypeidExpr(QualType TypeInfoType,
1980 ExprResult RebuildCXXTypeidExpr(QualType TypeInfoType,
1992 ExprResult RebuildCXXUuidofExpr(QualType TypeInfoType,
2004 ExprResult RebuildCXXUuidofExpr(QualType TypeInfoType,
2017 ExprResult RebuildCXXThisExpr(SourceLocation ThisLoc,
2030 ExprResult RebuildCXXThrowExpr(SourceLocation ThrowLoc, Expr *Sub,
2040 ExprResult RebuildCXXDefaultArgExpr(SourceLocation Loc,
2051 ExprResult RebuildCXXDefaultInitExpr(SourceLocation Loc,
2061 ExprResult RebuildCXXScalarValueInitExpr(TypeSourceInfo *TSInfo,
2072 ExprResult RebuildCXXNewExpr(SourceLocation StartLoc,
2099 ExprResult RebuildCXXDeleteExpr(SourceLocation StartLoc,
2111 ExprResult RebuildUnaryTypeTrait(UnaryTypeTrait Trait,
2122 ExprResult RebuildBinaryTypeTrait(BinaryTypeTrait Trait,
2134 ExprResult RebuildTypeTrait(TypeTrait Trait,
2145 ExprResult RebuildArrayTypeTrait(ArrayTypeTrait Trait,
2157 ExprResult RebuildExpressionTrait(ExpressionTrait Trait,
2169 ExprResult RebuildDependentScopeDeclRefExpr(
2190 ExprResult RebuildTemplateIdExpr(const CXXScopeSpec &SS,
2203 ExprResult RebuildCXXConstructExpr(QualType T,
2230 ExprResult RebuildCXXTemporaryObjectExpr(TypeSourceInfo *TSInfo,
2244 ExprResult RebuildCXXUnresolvedConstructExpr(TypeSourceInfo *TSInfo,
2258 ExprResult RebuildCXXDependentScopeMemberExpr(Expr *BaseE,
2282 ExprResult RebuildUnresolvedMemberExpr(Expr *BaseE, QualType BaseType,
2304 ExprResult RebuildCXXNoexceptExpr(SourceRange Range, Expr *Arg) {
2309 ExprResult RebuildSizeOfPackExpr(SourceLocation OperatorLoc, NamedDecl *Pack,
2327 ExprResult RebuildObjCBoxedExpr(SourceRange SR, Expr *ValueExpr) {
2335 ExprResult RebuildObjCArrayLiteral(SourceRange Range,
2341 ExprResult RebuildObjCSubscriptRefExpr(SourceLocation RB,
2353 ExprResult RebuildObjCDictionaryLiteral(SourceRange Range,
2363 ExprResult RebuildObjCEncodeExpr(SourceLocation AtLoc,
2371 ExprResult RebuildObjCMessageExpr(TypeSourceInfo *ReceiverTypeInfo,
2386 ExprResult RebuildObjCMessageExpr(Expr *Receiver,
2404 ExprResult RebuildObjCIvarRefExpr(Expr *BaseArg, ObjCIvarDecl *Ivar,
2409 ExprResult Base = getSema().Owned(BaseArg);
2412 ExprResult Result = getSema().LookupMemberExpr(R, Base, IsArrow,
2434 ExprResult RebuildObjCPropertyRefExpr(Expr *BaseArg,
2438 ExprResult Base = getSema().Owned(BaseArg);
2442 ExprResult Result = getSema().LookupMemberExpr(R, Base, IsArrow,
2463 ExprResult RebuildObjCPropertyRefExpr(Expr *Base, QualType T,
2479 ExprResult RebuildObjCIsaExpr(Expr *BaseArg, SourceLocation IsaLoc,
2483 ExprResult Base = getSema().Owned(BaseArg);
2486 ExprResult Result = getSema().LookupMemberExpr(R, Base, IsArrow,
2507 ExprResult RebuildShuffleVectorExpr(SourceLocation BuiltinLoc,
2527 ExprResult TheCall = SemaRef.Owned(
2547 ExprResult Result
2590 ExprResult RebuildPackExpansion(Expr *Pattern, SourceLocation EllipsisLoc,
2599 ExprResult RebuildAtomicExpr(SourceLocation BuiltinLoc,
2644 ExprResult E = getDerived().TransformExpr(cast<Expr>(S));
2674 ExprResult TreeTransform<Derived>::TransformExpr(Expr *E) {
2691 ExprResult TreeTransform<Derived>::TransformInitializer(Expr *Init,
2796 ExprResult OutPattern = getDerived().TransformExpr(Pattern);
2800 ExprResult Out = getDerived().RebuildPackExpansion(OutPattern.get(),
2820 ExprResult Out = getDerived().TransformExpr(Pattern);
2837 ExprResult Result =
3199 ExprResult E = getDerived().TransformExpr(InputExpr);
3909 ExprResult SizeResult
3954 ExprResult sizeResult
4000 ExprResult Size = getDerived().TransformExpr(T->getSizeExpr());
4489 ExprResult E = getDerived().TransformExpr(TL.getUnderlyingExpr());
4547 ExprResult E = getDerived().TransformExpr(T->getUnderlyingExpr());
5281 ExprResult LHS, RHS;
5371 ExprResult Cond;
5389 ExprResult CondE = getSema().ActOnBooleanCondition(0, S->getIfLoc(),
5428 ExprResult Cond;
5466 ExprResult Cond;
5484 ExprResult CondE = getSema().ActOnBooleanCondition(0, S->getWhileLoc(),
5520 ExprResult Cond = getDerived().TransformExpr(S->getCond());
5543 ExprResult Cond;
5561 ExprResult CondE = getSema().ActOnBooleanCondition(0, S->getForLoc(),
5575 ExprResult Inc = getDerived().TransformExpr(S->getInc());
5616 ExprResult Target = getDerived().TransformExpr(S->getTarget());
5644 ExprResult Result = getDerived().TransformExpr(S->getRetValue());
5685 ExprResult AsmString;
5699 ExprResult Result = getDerived().TransformExpr(OutputExpr);
5717 ExprResult Result = getDerived().TransformExpr(InputExpr);
5754 ExprResult Result = getDerived().TransformExpr(SrcExprs[i]);
5871 ExprResult Operand;
5890 ExprResult Object = getDerived().TransformExpr(S->getSynchExpr());
5944 ExprResult Collection = getDerived().TransformExpr(S->getCollection());
6046 ExprResult Cond = getDerived().TransformExpr(S->getCond());
6056 ExprResult Inc = getDerived().TransformExpr(S->getInc());
6174 ExprResult
6189 ExprResult Base = getDerived().TransformExpr(E->getBaseExpr());
6230 ExprResult FilterExpr = getDerived().TransformExpr(S->getFilterExpr());
6300 ExprResult EVar = getDerived().TransformExpr(cast<Expr>(*I));
6315 ExprResult
6321 ExprResult
6373 ExprResult
6379 ExprResult
6385 ExprResult
6391 ExprResult
6397 ExprResult
6403 ExprResult
6411 ExprResult
6413 ExprResult ControllingExpr =
6431 ExprResult AssocExpr = getDerived().TransformExpr(E->getAssocExpr(i));
6446 ExprResult
6448 ExprResult SubExpr = getDerived().TransformExpr(E->getSubExpr());
6463 ExprResult
6472 ExprResult
6474 ExprResult SubExpr;
6491 ExprResult
6517 ExprResult Index = getDerived().TransformExpr(FromIndex);
6557 ExprResult
6565 ExprResult
6574 ExprResult result = getDerived().TransformExpr(newSyntacticForm);
6587 ExprResult
6611 ExprResult SubExpr = getDerived().TransformExpr(E->getArgumentExpr());
6625 ExprResult
6627 ExprResult LHS = getDerived().TransformExpr(E->getLHS());
6631 ExprResult RHS = getDerived().TransformExpr(E->getRHS());
6648 ExprResult
6651 ExprResult Callee = getDerived().TransformExpr(E->getCallee());
6676 ExprResult
6678 ExprResult Base = getDerived().TransformExpr(E->getBase());
6755 ExprResult
6757 ExprResult LHS = getDerived().TransformExpr(E->getLHS());
6761 ExprResult RHS = getDerived().TransformExpr(E->getRHS());
6778 ExprResult
6785 ExprResult TreeTransform<Derived>::
6790 ExprResult commonExpr = getDerived().TransformExpr(e->getCommon());
6794 ExprResult rhs = getDerived().TransformExpr(e->getFalseExpr());
6811 ExprResult
6813 ExprResult Cond = getDerived().TransformExpr(E->getCond());
6817 ExprResult LHS = getDerived().TransformExpr(E->getLHS());
6821 ExprResult RHS = getDerived().TransformExpr(E->getRHS());
6839 ExprResult
6847 ExprResult
6853 ExprResult SubExpr
6870 ExprResult
6877 ExprResult Init = getDerived().TransformExpr(E->getInitializer());
6896 ExprResult
6898 ExprResult Base = getDerived().TransformExpr(E->getBase());
6915 ExprResult
6932 ExprResult
6937 ExprResult Init = getDerived().TransformExpr(E->getInit());
6955 ExprResult
6968 ExprResult Start
6973 ExprResult End = getDerived().TransformExpr(E->getArrayRangeEnd(*D));
7000 ExprResult
7019 ExprResult
7025 ExprResult SubExpr = getDerived().TransformExpr(E->getSubExpr());
7039 ExprResult
7058 ExprResult
7070 ExprResult
7093 ExprResult
7095 ExprResult Cond = getDerived().TransformExpr(E->getCond());
7099 ExprResult LHS = getDerived().TransformExpr(E->getLHS());
7103 ExprResult RHS = getDerived().TransformExpr(E->getRHS());
7119 ExprResult
7125 ExprResult
7139 ExprResult Object = getDerived().TransformExpr(E->getArg(0));
7175 ExprResult Callee = getDerived().TransformExpr(E->getCallee());
7179 ExprResult First;
7187 ExprResult Second;
7211 ExprResult
7217 ExprResult
7220 ExprResult Callee = getDerived().TransformExpr(E->getCallee());
7225 ExprResult EC = getDerived().TransformCallExpr(E->getConfig());
7250 ExprResult
7256 ExprResult SubExpr
7277 ExprResult
7283 ExprResult
7289 ExprResult
7296 ExprResult
7302 ExprResult
7309 ExprResult SubExpr
7326 ExprResult
7351 ExprResult SubExpr = getDerived().TransformExpr(E->getExprOperand());
7366 ExprResult
7386 ExprResult SubExpr = getDerived().TransformExpr(E->getExprOperand());
7401 ExprResult
7407 ExprResult
7414 ExprResult
7428 ExprResult
7430 ExprResult SubExpr = getDerived().TransformExpr(E->getSubExpr());
7443 ExprResult
7459 ExprResult
7474 ExprResult
7491 ExprResult
7500 ExprResult ArraySize = getDerived().TransformExpr(E->getArraySize());
7514 ExprResult NewInit;
7608 ExprResult
7610 ExprResult Operand = getDerived().TransformExpr(E->getArgument());
7652 ExprResult
7655 ExprResult Base = getDerived().TransformExpr(E->getBase());
7729 ExprResult
7809 ExprResult
7826 ExprResult
7847 ExprResult
7982 ExprResult
7992 ExprResult SubExpr;
8011 ExprResult
8013 ExprResult SubExpr;
8029 ExprResult
8036 ExprResult
8084 ExprResult
8139 ExprResult
8150 ExprResult
8156 ExprResult
8194 ExprResult
8231 ExprResult
8238 llvm::SmallVector<ExprResult, 8> InitCaptureExprs;
8281 ExprResult Init = InitCaptureExprs[C - E->capture_begin()];
8383 ExprResult
8410 ExprResult
8414 ExprResult Base((Expr*) 0);
8511 ExprResult
8514 ExprResult Base((Expr*) 0);
8614 ExprResult
8617 ExprResult SubExpr = getDerived().TransformExpr(E->getOperand());
8628 ExprResult
8630 ExprResult Pattern = getDerived().TransformExpr(E->getPattern());
8642 ExprResult
8682 ExprResult
8690 ExprResult
8698 ExprResult
8705 ExprResult
8712 ExprResult
8719 ExprResult
8725 ExprResult
8731 ExprResult
8733 ExprResult SubExpr = getDerived().TransformExpr(E->getSubExpr());
8745 ExprResult
8763 ExprResult
8799 ExprResult Key = getDerived().TransformExpr(OrigElement.Key);
8806 ExprResult Value = getDerived().TransformExpr(OrigElement.Value);
8828 ExprResult Key = getDerived().TransformExpr(OrigElement.Key);
8832 ExprResult Value = getDerived().TransformExpr(OrigElement.Value);
8854 ExprResult Key = getDerived().TransformExpr(OrigElement.Key);
8862 ExprResult Value
8885 ExprResult
8902 ExprResult TreeTransform<Derived>::
8912 ExprResult TreeTransform<Derived>::
8919 ExprResult Result = getDerived().TransformExpr(E->getSubExpr());
8934 ExprResult
8971 ExprResult Receiver
8994 ExprResult
9000 ExprResult
9006 ExprResult
9009 ExprResult Base = getDerived().TransformExpr(E->getBase());
9026 ExprResult
9034 ExprResult Base = getDerived().TransformExpr(E->getBase());
9058 ExprResult
9061 ExprResult Base = getDerived().TransformExpr(E->getBaseExpr());
9066 ExprResult Key = getDerived().TransformExpr(E->getKeyExpr());
9082 ExprResult
9085 ExprResult Base = getDerived().TransformExpr(E->getBase());
9100 ExprResult
9119 ExprResult
9194 ExprResult
9200 ExprResult
9491 ExprResult
9525 ExprResult Result
9585 ExprResult Result
9594 ExprResult