• Home
  • Raw
  • Download

Lines Matching refs:getDerived

126   Derived &getDerived() { return static_cast<Derived&>(*this); }  in getDerived()  function
129 const Derived &getDerived() const { in getDerived() function
183 OldLocation = Self.getDerived().getBaseLocation(); in TemporaryBase()
184 OldEntity = Self.getDerived().getBaseEntity(); in TemporaryBase()
187 Self.getDerived().setBase(Location, Entity); in TemporaryBase()
191 Self.getDerived().setBase(OldLocation, OldEntity); in ~TemporaryBase()
444 return getDerived().TransformDecl(Loc, D); in TransformDefinition()
457 return cast_or_null<NamedDecl>(getDerived().TransformDecl(Loc, D)); in TransformFirstQualifierInScope()
571 getDerived().getBaseLocation()); in InventTypeSourceInfo()
915 = getDerived().RebuildTemplateName(SS, *Name, NameLoc, QualType(), in RebuildDependentTemplateSpecializationType()
931 getDerived().RebuildTemplateSpecializationType(InstName, NameLoc, Args); in RebuildDependentTemplateSpecializationType()
2372 return getDerived().RebuildCXXStaticCastExpr(OpLoc, LAngleLoc, TInfo, in RebuildCXXNamedCastExpr()
2377 return getDerived().RebuildCXXDynamicCastExpr(OpLoc, LAngleLoc, TInfo, in RebuildCXXNamedCastExpr()
2382 return getDerived().RebuildCXXReinterpretCastExpr(OpLoc, LAngleLoc, TInfo, in RebuildCXXNamedCastExpr()
2388 return getDerived().RebuildCXXConstCastExpr(OpLoc, LAngleLoc, TInfo, in RebuildCXXNamedCastExpr()
3151 case Stmt::Node##Class: return getDerived().Transform##Node(cast<Node>(S)); in TransformStmt()
3162 ExprResult E = getDerived().TransformExpr(cast<Expr>(S)); in TransformStmt()
3183 return getDerived().Transform ## Class(cast<Class>(S)); in TransformOMPClause()
3201 case Stmt::Node##Class: return getDerived().Transform##Node(cast<Node>(E)); in TransformExpr()
3237 return getDerived().TransformExpr(Init); in TransformInitializer()
3242 return getDerived().RebuildParenListExpr(Parens.getBegin(), None, in TransformInitializer()
3248 return getDerived().RebuildParenListExpr(SourceLocation(), None, in TransformInitializer()
3254 return getDerived().TransformExpr(Init); in TransformInitializer()
3263 if (getDerived().TransformExprs(Construct->getArgs(), Construct->getNumArgs(), in TransformInitializer()
3269 return getDerived().RebuildInitList(Construct->getLocStart(), NewArgs, in TransformInitializer()
3282 return getDerived().RebuildParenListExpr(Parens.getBegin(), NewArgs, in TransformInitializer()
3294 if (IsCall && getDerived().DropCallArgument(Inputs[I])) { in TransformExprs()
3314 if (getDerived().TryExpandParameterPacks(Expansion->getEllipsisLoc(), in TransformExprs()
3326 ExprResult OutPattern = getDerived().TransformExpr(Pattern); in TransformExprs()
3330 ExprResult Out = getDerived().RebuildPackExpansion(OutPattern.get(), in TransformExprs()
3350 ExprResult Out = getDerived().TransformExpr(Pattern); in TransformExprs()
3355 Out = getDerived().RebuildPackExpansion( in TransformExprs()
3367 ForgetPartiallySubstitutedPackRAII Forget(getDerived()); in TransformExprs()
3369 ExprResult Out = getDerived().TransformExpr(Pattern); in TransformExprs()
3373 Out = getDerived().RebuildPackExpansion( in TransformExprs()
3385 IsCall ? getDerived().TransformInitializer(Inputs[I], /*DirectInit*/false) in TransformExprs()
3386 : getDerived().TransformExpr(Inputs[I]); in TransformExprs()
3404 getDerived().TransformDefinition(Var->getLocation(), Var)); in TransformCondition()
3413 ExprResult CondExpr = getDerived().TransformExpr(Expr); in TransformCondition()
3455 getDerived().TransformDecl( in TransformNestedNameSpecifierLoc()
3465 getDerived().TransformDecl(Q.getLocalBeginLoc(), in TransformNestedNameSpecifierLoc()
3480 cast_or_null<CXXRecordDecl>(getDerived().TransformDecl( in TransformNestedNameSpecifierLoc()
3524 !getDerived().AlwaysRebuild()) in TransformNestedNameSpecifierLoc()
3561 NewTInfo = getDerived().TransformType(OldTInfo); in TransformDeclarationNameInfo()
3569 QualType NewT = getDerived().TransformType(Name.getCXXNameType()); in TransformDeclarationNameInfo()
3600 = cast_or_null<TemplateDecl>(getDerived().TransformDecl(NameLoc, in TransformTemplateName()
3605 if (!getDerived().AlwaysRebuild() && in TransformTemplateName()
3610 return getDerived().RebuildTemplateName(SS, QTN->hasTemplateKeyword(), in TransformTemplateName()
3621 if (!getDerived().AlwaysRebuild() && in TransformTemplateName()
3627 return getDerived().RebuildTemplateName(SS, in TransformTemplateName()
3634 return getDerived().RebuildTemplateName(SS, DTN->getOperator(), NameLoc, in TransformTemplateName()
3640 = cast_or_null<TemplateDecl>(getDerived().TransformDecl(NameLoc, in TransformTemplateName()
3645 if (!getDerived().AlwaysRebuild() && in TransformTemplateName()
3656 getDerived().TransformDecl(NameLoc, SubstPack->getParameterPack())); in TransformTemplateName()
3660 if (!getDerived().AlwaysRebuild() && in TransformTemplateName()
3664 return getDerived().RebuildTemplateName(TransParam, in TransformTemplateName()
3676 SourceLocation Loc = getDerived().getBaseLocation(); in InventTemplateArgumentLoc()
3740 DI = getDerived().TransformType(DI); in TransformTemplateArgument()
3750 QualifierLoc = getDerived().TransformNestedNameSpecifierLoc(QualifierLoc); in TransformTemplateArgument()
3758 = getDerived().TransformTemplateName(SS, Arg.getAsTemplate(), in TransformTemplateArgument()
3779 ExprResult E = getDerived().TransformExpr(InputExpr); in TransformTemplateArgument()
3896 if (getDerived().TryExpandParameterPacks(Ellipsis, in TransformTemplateArguments()
3910 if (getDerived().TransformTemplateArgument(Pattern, OutPattern, Uneval)) in TransformTemplateArguments()
3913 Out = getDerived().RebuildPackExpansion(OutPattern, Ellipsis, in TransformTemplateArguments()
3927 if (getDerived().TransformTemplateArgument(Pattern, Out, Uneval)) in TransformTemplateArguments()
3931 Out = getDerived().RebuildPackExpansion(Out, Ellipsis, in TransformTemplateArguments()
3943 ForgetPartiallySubstitutedPackRAII Forget(getDerived()); in TransformTemplateArguments()
3945 if (getDerived().TransformTemplateArgument(Pattern, Out, Uneval)) in TransformTemplateArguments()
3948 Out = getDerived().RebuildPackExpansion(Out, Ellipsis, in TransformTemplateArguments()
3960 if (getDerived().TransformTemplateArgument(In, Out, Uneval)) in TransformTemplateArguments()
3976 if (getDerived().AlreadyTransformed(T)) in TransformType()
3982 getDerived().getBaseLocation()); in TransformType()
3984 TypeSourceInfo *NewDI = getDerived().TransformType(DI); in TransformType()
3996 getDerived().getBaseEntity()); in TransformType()
3997 if (getDerived().AlreadyTransformed(DI->getType())) in TransformType()
4005 QualType Result = getDerived().TransformType(TLB, TL); in TransformType()
4019 return getDerived().Transform##CLASS##Type(TLB, \ in TransformType()
4038 QualType Result = getDerived().TransformType(TLB, T.getUnqualifiedLoc()); in TransformQualifiedType()
4108 if (getDerived().AlreadyTransformed(TL.getType())) in TransformTypeInObjectScope()
4124 if (getDerived().AlreadyTransformed(TSInfo->getType())) in TransformTypeInObjectScope()
4136 assert(!getDerived().AlreadyTransformed(T)); in TransformTSIInObjectScope()
4146 = getDerived().TransformTemplateName(SS, in TransformTSIInObjectScope()
4153 Result = getDerived().TransformTemplateSpecializationType(TLB, SpecTL, in TransformTSIInObjectScope()
4160 = getDerived().RebuildTemplateName(SS, in TransformTSIInObjectScope()
4167 Result = getDerived().TransformDependentTemplateSpecializationType(TLB, in TransformTSIInObjectScope()
4173 Result = getDerived().TransformType(TLB, TL); in TransformTSIInObjectScope()
4210 return getDerived().TransformType(TLB, TL.getOriginalLoc()); in TransformAdjustedType()
4216 QualType OriginalType = getDerived().TransformType(TLB, TL.getOriginalLoc()); in TransformDecayedType()
4221 if (getDerived().AlwaysRebuild() || in TransformDecayedType()
4233 = getDerived().TransformType(TLB, TL.getPointeeLoc()); in TransformPointerType()
4250 if (getDerived().AlwaysRebuild() || in TransformPointerType()
4252 Result = getDerived().RebuildPointerType(PointeeType, TL.getSigilLoc()); in TransformPointerType()
4271 = getDerived().TransformType(TLB, TL.getPointeeLoc()); in TransformBlockPointerType()
4276 if (getDerived().AlwaysRebuild() || in TransformBlockPointerType()
4278 Result = getDerived().RebuildBlockPointerType(PointeeType, in TransformBlockPointerType()
4300 QualType PointeeType = getDerived().TransformType(TLB, TL.getPointeeLoc()); in TransformReferenceType()
4305 if (getDerived().AlwaysRebuild() || in TransformReferenceType()
4307 Result = getDerived().RebuildReferenceType(PointeeType, in TransformReferenceType()
4348 QualType PointeeType = getDerived().TransformType(TLB, TL.getPointeeLoc()); in TransformMemberPointerType()
4355 NewClsTInfo = getDerived().TransformType(OldClsTInfo); in TransformMemberPointerType()
4366 NewClsType = getDerived().TransformType(OldClsType); in TransformMemberPointerType()
4372 if (getDerived().AlwaysRebuild() || in TransformMemberPointerType()
4375 Result = getDerived().RebuildMemberPointerType(PointeeType, NewClsType, in TransformMemberPointerType()
4401 QualType ElementType = getDerived().TransformType(TLB, TL.getElementLoc()); in TransformConstantArrayType()
4406 if (getDerived().AlwaysRebuild() || in TransformConstantArrayType()
4408 Result = getDerived().RebuildConstantArrayType(ElementType, in TransformConstantArrayType()
4429 Size = getDerived().TransformExpr(Size).template getAs<Expr>(); in TransformConstantArrayType()
4442 QualType ElementType = getDerived().TransformType(TLB, TL.getElementLoc()); in TransformIncompleteArrayType()
4447 if (getDerived().AlwaysRebuild() || in TransformIncompleteArrayType()
4449 Result = getDerived().RebuildIncompleteArrayType(ElementType, in TransformIncompleteArrayType()
4470 QualType ElementType = getDerived().TransformType(TLB, TL.getElementLoc()); in TransformVariableArrayType()
4475 = getDerived().TransformExpr(T->getSizeExpr()); in TransformVariableArrayType()
4482 if (getDerived().AlwaysRebuild() || in TransformVariableArrayType()
4485 Result = getDerived().RebuildVariableArrayType(ElementType, in TransformVariableArrayType()
4509 QualType ElementType = getDerived().TransformType(TLB, TL.getElementLoc()); in TransformDependentSizedArrayType()
4522 = getDerived().TransformExpr(origSize); in TransformDependentSizedArrayType()
4530 if (getDerived().AlwaysRebuild() || in TransformDependentSizedArrayType()
4533 Result = getDerived().RebuildDependentSizedArrayType(ElementType, in TransformDependentSizedArrayType()
4559 QualType ElementType = getDerived().TransformType(T->getElementType()); in TransformDependentSizedExtVectorType()
4567 ExprResult Size = getDerived().TransformExpr(T->getSizeExpr()); in TransformDependentSizedExtVectorType()
4573 if (getDerived().AlwaysRebuild() || in TransformDependentSizedExtVectorType()
4576 Result = getDerived().RebuildDependentSizedExtVectorType(ElementType, in TransformDependentSizedExtVectorType()
4600 QualType ElementType = getDerived().TransformType(T->getElementType()); in TransformVectorType()
4605 if (getDerived().AlwaysRebuild() || in TransformVectorType()
4607 Result = getDerived().RebuildVectorType(ElementType, T->getNumElements(), in TransformVectorType()
4623 QualType ElementType = getDerived().TransformType(T->getElementType()); in TransformExtVectorType()
4628 if (getDerived().AlwaysRebuild() || in TransformExtVectorType()
4630 Result = getDerived().RebuildExtVectorType(ElementType, in TransformExtVectorType()
4660 QualType Result = getDerived().TransformType(TLB, in TransformFunctionTypeParam()
4677 NewDI = getDerived().TransformType(OldDI); in TransformFunctionTypeParam()
4732 if (getDerived().TryExpandParameterPacks(ExpansionTL.getEllipsisLoc(), in TransformFunctionTypeParams()
4744 getDerived().ExpandingFunctionParameterPack(OldParm); in TransformFunctionTypeParams()
4748 = getDerived().TransformFunctionTypeParam(OldParm, in TransformFunctionTypeParams()
4765 ForgetPartiallySubstitutedPackRAII Forget(getDerived()); in TransformFunctionTypeParams()
4767 = getDerived().TransformFunctionTypeParam(OldParm, in TransformFunctionTypeParams()
4794 NewParm = getDerived().TransformFunctionTypeParam(OldParm, in TransformFunctionTypeParams()
4799 NewParm = getDerived().TransformFunctionTypeParam( in TransformFunctionTypeParams()
4830 if (getDerived().TryExpandParameterPacks(Loc, SourceRange(), in TransformFunctionTypeParams()
4843 QualType NewType = getDerived().TransformType(Pattern); in TransformFunctionTypeParams()
4869 ForgetPartiallySubstitutedPackRAII Forget(getDerived()); in TransformFunctionTypeParams()
4870 QualType NewType = getDerived().TransformType(Pattern); in TransformFunctionTypeParams()
4886 NewType = getDerived().TransformType(OldType); in TransformFunctionTypeParams()
4888 NewType = getDerived().TransformType(OldType); in TransformFunctionTypeParams()
4922 return getDerived().TransformFunctionProtoType( in TransformFunctionProtoType()
4950 if (getDerived().TransformFunctionTypeParams( in TransformFunctionProtoType()
4966 ResultType = getDerived().TransformType(TLB, TL.getReturnLoc()); in TransformFunctionProtoType()
4972 ResultType = getDerived().TransformType(TLB, TL.getReturnLoc()); in TransformFunctionProtoType()
4976 if (getDerived().TransformFunctionTypeParams( in TransformFunctionProtoType()
5005 if (getDerived().AlwaysRebuild() || ResultType != T->getReturnType() || in TransformFunctionProtoType()
5007 Result = getDerived().RebuildFunctionProtoType(ResultType, ParamTypes, EPI); in TransformFunctionProtoType()
5033 ExprResult NoexceptExpr = getDerived().TransformExpr(ESI.NoexceptExpr); in TransformExceptionSpec()
5079 if (getDerived().TryExpandParameterPacks( in TransformExceptionSpec()
5089 QualType U = getDerived().TransformType(PackExpansion->getPattern()); in TransformExceptionSpec()
5103 QualType U = getDerived().TransformType(PackExpansion->getPattern()); in TransformExceptionSpec()
5110 QualType U = getDerived().TransformType(T); in TransformExceptionSpec()
5129 QualType ResultType = getDerived().TransformType(TLB, TL.getReturnLoc()); in TransformFunctionNoProtoType()
5134 if (getDerived().AlwaysRebuild() || ResultType != T->getReturnType()) in TransformFunctionNoProtoType()
5135 Result = getDerived().RebuildFunctionNoProtoType(ResultType); in TransformFunctionNoProtoType()
5150 Decl *D = getDerived().TransformDecl(TL.getNameLoc(), T->getDecl()); in TransformUnresolvedUsingType()
5155 if (getDerived().AlwaysRebuild() || D != T->getDecl()) { in TransformUnresolvedUsingType()
5156 Result = getDerived().RebuildUnresolvedUsingType(D); in TransformUnresolvedUsingType()
5174 = cast_or_null<TypedefNameDecl>(getDerived().TransformDecl(TL.getNameLoc(), in TransformTypedefType()
5180 if (getDerived().AlwaysRebuild() || in TransformTypedefType()
5182 Result = getDerived().RebuildTypedefType(Typedef); in TransformTypedefType()
5200 ExprResult E = getDerived().TransformExpr(TL.getUnderlyingExpr()); in TransformTypeOfExprType()
5209 if (getDerived().AlwaysRebuild() || in TransformTypeOfExprType()
5211 Result = getDerived().RebuildTypeOfExprType(E.get(), TL.getTypeofLoc()); in TransformTypeOfExprType()
5229 TypeSourceInfo* New_Under_TI = getDerived().TransformType(Old_Under_TI); in TransformTypeOfType()
5234 if (getDerived().AlwaysRebuild() || New_Under_TI != Old_Under_TI) { in TransformTypeOfType()
5235 Result = getDerived().RebuildTypeOfType(New_Under_TI->getType()); in TransformTypeOfType()
5258 ExprResult E = getDerived().TransformExpr(T->getUnderlyingExpr()); in TransformDecltypeType()
5267 if (getDerived().AlwaysRebuild() || in TransformDecltypeType()
5269 Result = getDerived().RebuildDecltypeType(E.get(), TL.getNameLoc()); in TransformDecltypeType()
5289 getDerived().TransformType(TL.getUnderlyingTInfo())->getType(); in TransformUnaryTransformType()
5290 Result = getDerived().RebuildUnaryTransformType(NewBase, in TransformUnaryTransformType()
5311 NewDeduced = getDerived().TransformType(OldDeduced); in TransformAutoType()
5317 if (getDerived().AlwaysRebuild() || NewDeduced != OldDeduced || in TransformAutoType()
5319 Result = getDerived().RebuildAutoType(NewDeduced, T->getKeyword()); in TransformAutoType()
5335 = cast_or_null<RecordDecl>(getDerived().TransformDecl(TL.getNameLoc(), in TransformRecordType()
5341 if (getDerived().AlwaysRebuild() || in TransformRecordType()
5343 Result = getDerived().RebuildRecordType(Record); in TransformRecordType()
5359 = cast_or_null<EnumDecl>(getDerived().TransformDecl(TL.getNameLoc(), in TransformEnumType()
5365 if (getDerived().AlwaysRebuild() || in TransformEnumType()
5367 Result = getDerived().RebuildEnumType(Enum); in TransformEnumType()
5382 Decl *D = getDerived().TransformDecl(TL.getNameLoc(), in TransformInjectedClassNameType()
5408 QualType Replacement = getDerived().TransformType(T->getReplacementType()); in TransformSubstTemplateTypeParmType()
5443 = getDerived().TransformTemplateName(SS, T->getTemplateName(), in TransformTemplateSpecializationType()
5448 return getDerived().TransformTemplateSpecializationType(TLB, TL, Template); in TransformTemplateSpecializationType()
5454 QualType ValueType = getDerived().TransformType(TLB, TL.getValueLoc()); in TransformAtomicType()
5459 if (getDerived().AlwaysRebuild() || in TransformAtomicType()
5461 Result = getDerived().RebuildAtomicType(ValueType, TL.getKWLoc()); in TransformAtomicType()
5477 QualType ValueType = getDerived().TransformType(TLB, TL.getValueLoc()); in TransformPipeType()
5482 if (getDerived().AlwaysRebuild() || ValueType != TL.getValueLoc().getType()) { in TransformPipeType()
5483 Result = getDerived().RebuildPipeType(ValueType, TL.getKWLoc()); in TransformPipeType()
5569 if (getDerived().TransformTemplateArguments(ArgIterator(TL, 0), in TransformTemplateSpecializationType()
5577 getDerived().RebuildTemplateSpecializationType(Template, in TransformTemplateSpecializationType()
5624 if (getDerived().TransformTemplateArguments(ArgIterator(TL, 0), in TransformDependentTemplateSpecializationType()
5653 = getDerived().RebuildTemplateSpecializationType(Template, in TransformDependentTemplateSpecializationType()
5682 = getDerived().TransformNestedNameSpecifierLoc(TL.getQualifierLoc()); in TransformElaboratedType()
5687 QualType NamedT = getDerived().TransformType(TLB, TL.getNamedTypeLoc()); in TransformElaboratedType()
5709 if (getDerived().AlwaysRebuild() || in TransformElaboratedType()
5712 Result = getDerived().RebuildElaboratedType(TL.getElaboratedKeywordLoc(), in TransformElaboratedType()
5730 QualType modifiedType = getDerived().TransformType(TLB, TL.getModifiedLoc()); in TransformAttributedType()
5737 if (getDerived().AlwaysRebuild() || in TransformAttributedType()
5742 = getDerived().TransformType(oldType->getEquivalentType()); in TransformAttributedType()
5777 QualType Inner = getDerived().TransformType(TLB, TL.getInnerLoc()); in TransformParenType()
5782 if (getDerived().AlwaysRebuild() || in TransformParenType()
5784 Result = getDerived().RebuildParenType(Inner); in TransformParenType()
5801 = getDerived().TransformNestedNameSpecifierLoc(TL.getQualifierLoc()); in TransformDependentNameType()
5806 = getDerived().RebuildDependentNameType(T->getKeyword(), in TransformDependentNameType()
5837 = getDerived().TransformNestedNameSpecifierLoc(TL.getQualifierLoc()); in TransformDependentTemplateSpecializationType()
5842 return getDerived() in TransformDependentTemplateSpecializationType()
5859 if (getDerived().TransformTemplateArguments(ArgIterator(TL, 0), in TransformDependentTemplateSpecializationType()
5865 = getDerived().RebuildDependentTemplateSpecializationType(T->getKeyword(), in TransformDependentTemplateSpecializationType()
5918 = getDerived().TransformType(TLB, TL.getPatternLoc()); in TransformPackExpansionType()
5923 if (getDerived().AlwaysRebuild() || in TransformPackExpansionType()
5925 Result = getDerived().RebuildPackExpansionType(Pattern, in TransformPackExpansionType()
5952 QualType BaseType = getDerived().TransformType(TLB, TL.getBaseLoc()); in TransformObjCObjectType()
5981 if (getDerived().TryExpandParameterPacks( in TransformObjCObjectType()
5994 QualType NewPatternType = getDerived().TransformType(TypeArgBuilder, in TransformObjCObjectType()
6016 QualType NewTypeArg = getDerived().TransformType(TypeArgBuilder, in TransformObjCObjectType()
6030 QualType NewTypeArg = getDerived().TransformType(TypeArgBuilder, TypeArgLoc); in TransformObjCObjectType()
6046 if (getDerived().AlwaysRebuild() || AnyChanged) { in TransformObjCObjectType()
6048 Result = getDerived().RebuildObjCObjectType( in TransformObjCObjectType()
6081 QualType PointeeType = getDerived().TransformType(TLB, TL.getPointeeLoc()); in TransformObjCObjectPointerType()
6086 if (getDerived().AlwaysRebuild() || in TransformObjCObjectPointerType()
6088 Result = getDerived().RebuildObjCObjectPointerType(PointeeType, in TransformObjCObjectPointerType()
6111 return getDerived().TransformCompoundStmt(S, false); in TransformCompoundStmt()
6124 StmtResult Result = getDerived().TransformStmt(B); in TransformCompoundStmt()
6143 if (!getDerived().AlwaysRebuild() && in TransformCompoundStmt()
6147 return getDerived().RebuildCompoundStmt(S->getLBracLoc(), in TransformCompoundStmt()
6162 LHS = getDerived().TransformExpr(S->getLHS()); in TransformCaseStmt()
6168 RHS = getDerived().TransformExpr(S->getRHS()); in TransformCaseStmt()
6177 StmtResult Case = getDerived().RebuildCaseStmt(S->getCaseLoc(), in TransformCaseStmt()
6186 StmtResult SubStmt = getDerived().TransformStmt(S->getSubStmt()); in TransformCaseStmt()
6191 return getDerived().RebuildCaseStmtBody(Case.get(), SubStmt.get()); in TransformCaseStmt()
6198 StmtResult SubStmt = getDerived().TransformStmt(S->getSubStmt()); in TransformDefaultStmt()
6203 return getDerived().RebuildDefaultStmt(S->getDefaultLoc(), S->getColonLoc(), in TransformDefaultStmt()
6210 StmtResult SubStmt = getDerived().TransformStmt(S->getSubStmt()); in TransformLabelStmt()
6214 Decl *LD = getDerived().TransformDecl(S->getDecl()->getLocation(), in TransformLabelStmt()
6221 return getDerived().RebuildLabelStmt(S->getIdentLoc(), in TransformLabelStmt()
6236 return getDerived().Transform##X##Attr(cast<X##Attr>(R)); in TransformAttr()
6250 const Attr *R = getDerived().TransformAttr(I); in TransformAttributedStmt()
6255 StmtResult SubStmt = getDerived().TransformStmt(S->getSubStmt()); in TransformAttributedStmt()
6262 return getDerived().RebuildAttributedStmt(S->getAttrLoc(), Attrs, in TransformAttributedStmt()
6270 StmtResult Init = getDerived().TransformStmt(S->getInit()); in TransformIfStmt()
6275 Sema::ConditionResult Cond = getDerived().TransformCondition( in TransformIfStmt()
6290 Then = getDerived().TransformStmt(S->getThen()); in TransformIfStmt()
6300 Else = getDerived().TransformStmt(S->getElse()); in TransformIfStmt()
6305 if (!getDerived().AlwaysRebuild() && in TransformIfStmt()
6312 return getDerived().RebuildIfStmt(S->getIfLoc(), S->isConstexpr(), Cond, in TransformIfStmt()
6321 StmtResult Init = getDerived().TransformStmt(S->getInit()); in TransformSwitchStmt()
6326 Sema::ConditionResult Cond = getDerived().TransformCondition( in TransformSwitchStmt()
6334 = getDerived().RebuildSwitchStmtStart(S->getSwitchLoc(), in TransformSwitchStmt()
6340 StmtResult Body = getDerived().TransformStmt(S->getBody()); in TransformSwitchStmt()
6345 return getDerived().RebuildSwitchStmtBody(S->getSwitchLoc(), Switch.get(), in TransformSwitchStmt()
6353 Sema::ConditionResult Cond = getDerived().TransformCondition( in TransformWhileStmt()
6360 StmtResult Body = getDerived().TransformStmt(S->getBody()); in TransformWhileStmt()
6364 if (!getDerived().AlwaysRebuild() && in TransformWhileStmt()
6369 return getDerived().RebuildWhileStmt(S->getWhileLoc(), Cond, Body.get()); in TransformWhileStmt()
6376 StmtResult Body = getDerived().TransformStmt(S->getBody()); in TransformDoStmt()
6381 ExprResult Cond = getDerived().TransformExpr(S->getCond()); in TransformDoStmt()
6385 if (!getDerived().AlwaysRebuild() && in TransformDoStmt()
6390 return getDerived().RebuildDoStmt(S->getDoLoc(), Body.get(), S->getWhileLoc(), in TransformDoStmt()
6399 StmtResult Init = getDerived().TransformStmt(S->getInit()); in TransformForStmt()
6409 Sema::ConditionResult Cond = getDerived().TransformCondition( in TransformForStmt()
6416 ExprResult Inc = getDerived().TransformExpr(S->getInc()); in TransformForStmt()
6425 StmtResult Body = getDerived().TransformStmt(S->getBody()); in TransformForStmt()
6429 if (!getDerived().AlwaysRebuild() && in TransformForStmt()
6436 return getDerived().RebuildForStmt(S->getForLoc(), S->getLParenLoc(), in TransformForStmt()
6444 Decl *LD = getDerived().TransformDecl(S->getLabel()->getLocation(), in TransformGotoStmt()
6450 return getDerived().RebuildGotoStmt(S->getGotoLoc(), S->getLabelLoc(), in TransformGotoStmt()
6457 ExprResult Target = getDerived().TransformExpr(S->getTarget()); in TransformIndirectGotoStmt()
6462 if (!getDerived().AlwaysRebuild() && in TransformIndirectGotoStmt()
6466 return getDerived().RebuildIndirectGotoStmt(S->getGotoLoc(), S->getStarLoc(), in TransformIndirectGotoStmt()
6485 ExprResult Result = getDerived().TransformInitializer(S->getRetValue(), in TransformReturnStmt()
6492 return getDerived().RebuildReturnStmt(S->getReturnLoc(), Result.get()); in TransformReturnStmt()
6501 Decl *Transformed = getDerived().TransformDefinition(D->getLocation(), D); in TransformDeclStmt()
6511 if (!getDerived().AlwaysRebuild() && !DeclChanged) in TransformDeclStmt()
6514 return getDerived().RebuildDeclStmt(Decls, S->getStartLoc(), S->getEndLoc()); in TransformDeclStmt()
6539 ExprResult Result = getDerived().TransformExpr(OutputExpr); in TransformGCCAsmStmt()
6557 ExprResult Result = getDerived().TransformExpr(InputExpr); in TransformGCCAsmStmt()
6566 if (!getDerived().AlwaysRebuild() && !ExprsChanged) in TransformGCCAsmStmt()
6575 return getDerived().RebuildGCCAsmStmt(S->getAsmLoc(), S->isSimple(), in TransformGCCAsmStmt()
6594 ExprResult Result = getDerived().TransformExpr(SrcExprs[i]); in TransformMSAsmStmt()
6604 if (!HadChange && !getDerived().AlwaysRebuild()) in TransformMSAsmStmt()
6607 return getDerived().RebuildMSAsmStmt(S->getAsmLoc(), S->getLBraceLoc(), in TransformMSAsmStmt()
6620 return getDerived().TransformStmt(S->getBody()); in TransformCoroutineBodyStmt()
6626 ExprResult Result = getDerived().TransformInitializer(S->getOperand(), in TransformCoreturnStmt()
6633 return getDerived().RebuildCoreturnStmt(S->getKeywordLoc(), Result.get()); in TransformCoreturnStmt()
6639 ExprResult Result = getDerived().TransformInitializer(E->getOperand(), in TransformCoawaitExpr()
6646 return getDerived().RebuildCoawaitExpr(E->getKeywordLoc(), Result.get()); in TransformCoawaitExpr()
6652 ExprResult Result = getDerived().TransformInitializer(E->getOperand(), in TransformCoyieldExpr()
6659 return getDerived().RebuildCoyieldExpr(E->getKeywordLoc(), Result.get()); in TransformCoyieldExpr()
6668 StmtResult TryBody = getDerived().TransformStmt(S->getTryBody()); in TransformObjCAtTryStmt()
6676 StmtResult Catch = getDerived().TransformStmt(S->getCatchStmt(I)); in TransformObjCAtTryStmt()
6687 Finally = getDerived().TransformStmt(S->getFinallyStmt()); in TransformObjCAtTryStmt()
6693 if (!getDerived().AlwaysRebuild() && in TransformObjCAtTryStmt()
6700 return getDerived().RebuildObjCAtTryStmt(S->getAtTryLoc(), TryBody.get(), in TransformObjCAtTryStmt()
6712 TSInfo = getDerived().TransformType(FromVar->getTypeSourceInfo()); in TransformObjCAtCatchStmt()
6721 T = getDerived().TransformType(FromVar->getType()); in TransformObjCAtCatchStmt()
6726 Var = getDerived().RebuildObjCExceptionDecl(FromVar, TSInfo, T); in TransformObjCAtCatchStmt()
6731 StmtResult Body = getDerived().TransformStmt(S->getCatchBody()); in TransformObjCAtCatchStmt()
6735 return getDerived().RebuildObjCAtCatchStmt(S->getAtCatchLoc(), in TransformObjCAtCatchStmt()
6744 StmtResult Body = getDerived().TransformStmt(S->getFinallyBody()); in TransformObjCAtFinallyStmt()
6749 if (!getDerived().AlwaysRebuild() && in TransformObjCAtFinallyStmt()
6754 return getDerived().RebuildObjCAtFinallyStmt(S->getAtFinallyLoc(), in TransformObjCAtFinallyStmt()
6763 Operand = getDerived().TransformExpr(S->getThrowExpr()); in TransformObjCAtThrowStmt()
6768 if (!getDerived().AlwaysRebuild() && in TransformObjCAtThrowStmt()
6772 return getDerived().RebuildObjCAtThrowStmt(S->getThrowLoc(), Operand.get()); in TransformObjCAtThrowStmt()
6780 ExprResult Object = getDerived().TransformExpr(S->getSynchExpr()); in TransformObjCAtSynchronizedStmt()
6784 getDerived().RebuildObjCAtSynchronizedOperand(S->getAtSynchronizedLoc(), in TransformObjCAtSynchronizedStmt()
6790 StmtResult Body = getDerived().TransformStmt(S->getSynchBody()); in TransformObjCAtSynchronizedStmt()
6795 if (!getDerived().AlwaysRebuild() && in TransformObjCAtSynchronizedStmt()
6801 return getDerived().RebuildObjCAtSynchronizedStmt(S->getAtSynchronizedLoc(), in TransformObjCAtSynchronizedStmt()
6810 StmtResult Body = getDerived().TransformStmt(S->getSubStmt()); in TransformObjCAutoreleasePoolStmt()
6815 if (!getDerived().AlwaysRebuild() && in TransformObjCAutoreleasePoolStmt()
6820 return getDerived().RebuildObjCAutoreleasePoolStmt( in TransformObjCAutoreleasePoolStmt()
6829 StmtResult Element = getDerived().TransformStmt(S->getElement()); in TransformObjCForCollectionStmt()
6834 ExprResult Collection = getDerived().TransformExpr(S->getCollection()); in TransformObjCForCollectionStmt()
6839 StmtResult Body = getDerived().TransformStmt(S->getBody()); in TransformObjCForCollectionStmt()
6844 if (!getDerived().AlwaysRebuild() && in TransformObjCForCollectionStmt()
6851 return getDerived().RebuildObjCForCollectionStmt(S->getForLoc(), in TransformObjCForCollectionStmt()
6864 getDerived().TransformType(ExceptionDecl->getTypeSourceInfo()); in TransformCXXCatchStmt()
6868 Var = getDerived().RebuildExceptionDecl( in TransformCXXCatchStmt()
6876 StmtResult Handler = getDerived().TransformStmt(S->getHandlerBlock()); in TransformCXXCatchStmt()
6880 if (!getDerived().AlwaysRebuild() && !Var && in TransformCXXCatchStmt()
6884 return getDerived().RebuildCXXCatchStmt(S->getCatchLoc(), Var, Handler.get()); in TransformCXXCatchStmt()
6890 StmtResult TryBlock = getDerived().TransformCompoundStmt(S->getTryBlock()); in TransformCXXTryStmt()
6898 StmtResult Handler = getDerived().TransformCXXCatchStmt(S->getHandler(I)); in TransformCXXTryStmt()
6906 if (!getDerived().AlwaysRebuild() && TryBlock.get() == S->getTryBlock() && in TransformCXXTryStmt()
6910 return getDerived().RebuildCXXTryStmt(S->getTryLoc(), TryBlock.get(), in TransformCXXTryStmt()
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()
6928 ExprResult Cond = getDerived().TransformExpr(S->getCond()); in TransformCXXForRangeStmt()
6938 ExprResult Inc = getDerived().TransformExpr(S->getInc()); in TransformCXXForRangeStmt()
6944 StmtResult LoopVar = getDerived().TransformStmt(S->getLoopVarStmt()); in TransformCXXForRangeStmt()
6949 if (getDerived().AlwaysRebuild() || in TransformCXXForRangeStmt()
6956 NewStmt = getDerived().RebuildCXXForRangeStmt(S->getForLoc(), in TransformCXXForRangeStmt()
6967 StmtResult Body = getDerived().TransformStmt(S->getBody()); in TransformCXXForRangeStmt()
6974 NewStmt = getDerived().RebuildCXXForRangeStmt(S->getForLoc(), in TransformCXXForRangeStmt()
6999 = getDerived().TransformNestedNameSpecifierLoc(S->getQualifierLoc()); in TransformMSDependentExistsStmt()
7007 NameInfo = getDerived().TransformDeclarationNameInfo(NameInfo); in TransformMSDependentExistsStmt()
7013 if (!getDerived().AlwaysRebuild() && in TransformMSDependentExistsStmt()
7044 StmtResult SubStmt = getDerived().TransformCompoundStmt(S->getSubStmt()); in TransformMSDependentExistsStmt()
7053 return getDerived().RebuildMSDependentExistsStmt(S->getKeywordLoc(), in TransformMSDependentExistsStmt()
7066 = getDerived().TransformNestedNameSpecifierLoc(E->getQualifierLoc()); in TransformMSPropertyRefExpr()
7072 getDerived().TransformDecl(E->getMemberLoc(), E->getPropertyDecl())); in TransformMSPropertyRefExpr()
7076 ExprResult Base = getDerived().TransformExpr(E->getBaseExpr()); in TransformMSPropertyRefExpr()
7089 auto BaseRes = getDerived().TransformExpr(E->getBase()); in TransformMSPropertySubscriptExpr()
7092 auto IdxRes = getDerived().TransformExpr(E->getIdx()); in TransformMSPropertySubscriptExpr()
7096 if (!getDerived().AlwaysRebuild() && in TransformMSPropertySubscriptExpr()
7101 return getDerived().RebuildArraySubscriptExpr( in TransformMSPropertySubscriptExpr()
7107 StmtResult TryBlock = getDerived().TransformCompoundStmt(S->getTryBlock()); in TransformSEHTryStmt()
7111 StmtResult Handler = getDerived().TransformSEHHandler(S->getHandler()); in TransformSEHTryStmt()
7115 if (!getDerived().AlwaysRebuild() && TryBlock.get() == S->getTryBlock() && in TransformSEHTryStmt()
7119 return getDerived().RebuildSEHTryStmt(S->getIsCXXTry(), S->getTryLoc(), in TransformSEHTryStmt()
7125 StmtResult Block = getDerived().TransformCompoundStmt(S->getBlock()); in TransformSEHFinallyStmt()
7129 return getDerived().RebuildSEHFinallyStmt(S->getFinallyLoc(), Block.get()); in TransformSEHFinallyStmt()
7134 ExprResult FilterExpr = getDerived().TransformExpr(S->getFilterExpr()); in TransformSEHExceptStmt()
7138 StmtResult Block = getDerived().TransformCompoundStmt(S->getBlock()); in TransformSEHExceptStmt()
7142 return getDerived().RebuildSEHExceptStmt(S->getExceptLoc(), FilterExpr.get(), in TransformSEHExceptStmt()
7149 return getDerived().TransformSEHFinallyStmt(cast<SEHFinallyStmt>(Handler)); in TransformSEHHandler()
7151 return getDerived().TransformSEHExceptStmt(cast<SEHExceptStmt>(Handler)); in TransformSEHHandler()
7174 getDerived().getSema().StartOpenMPClause((*I)->getClauseKind()); in TransformOMPExecutableDirective()
7175 OMPClause *Clause = getDerived().TransformOMPClause(*I); in TransformOMPExecutableDirective()
7176 getDerived().getSema().EndOpenMPClause(); in TransformOMPExecutableDirective()
7185 getDerived().getSema().ActOnOpenMPRegionStart(D->getDirectiveKind(), in TransformOMPExecutableDirective()
7190 Body = getDerived().TransformStmt( in TransformOMPExecutableDirective()
7194 getDerived().getSema().ActOnOpenMPRegionEnd(Body, TClauses); in TransformOMPExecutableDirective()
7207 DirName = getDerived().TransformDeclarationNameInfo(DirName); in TransformOMPExecutableDirective()
7216 return getDerived().RebuildOMPExecutableDirective( in TransformOMPExecutableDirective()
7225 getDerived().getSema().StartOpenMPDSABlock(OMPD_parallel, DirName, nullptr, in TransformOMPParallelDirective()
7227 StmtResult Res = getDerived().TransformOMPExecutableDirective(D); in TransformOMPParallelDirective()
7228 getDerived().getSema().EndOpenMPDSABlock(Res.get()); in TransformOMPParallelDirective()
7236 getDerived().getSema().StartOpenMPDSABlock(OMPD_simd, DirName, nullptr, in TransformOMPSimdDirective()
7238 StmtResult Res = getDerived().TransformOMPExecutableDirective(D); in TransformOMPSimdDirective()
7239 getDerived().getSema().EndOpenMPDSABlock(Res.get()); in TransformOMPSimdDirective()
7247 getDerived().getSema().StartOpenMPDSABlock(OMPD_for, DirName, nullptr, in TransformOMPForDirective()
7249 StmtResult Res = getDerived().TransformOMPExecutableDirective(D); in TransformOMPForDirective()
7250 getDerived().getSema().EndOpenMPDSABlock(Res.get()); in TransformOMPForDirective()
7258 getDerived().getSema().StartOpenMPDSABlock(OMPD_for_simd, DirName, nullptr, in TransformOMPForSimdDirective()
7260 StmtResult Res = getDerived().TransformOMPExecutableDirective(D); in TransformOMPForSimdDirective()
7261 getDerived().getSema().EndOpenMPDSABlock(Res.get()); in TransformOMPForSimdDirective()
7269 getDerived().getSema().StartOpenMPDSABlock(OMPD_sections, DirName, nullptr, in TransformOMPSectionsDirective()
7271 StmtResult Res = getDerived().TransformOMPExecutableDirective(D); in TransformOMPSectionsDirective()
7272 getDerived().getSema().EndOpenMPDSABlock(Res.get()); in TransformOMPSectionsDirective()
7280 getDerived().getSema().StartOpenMPDSABlock(OMPD_section, DirName, nullptr, in TransformOMPSectionDirective()
7282 StmtResult Res = getDerived().TransformOMPExecutableDirective(D); in TransformOMPSectionDirective()
7283 getDerived().getSema().EndOpenMPDSABlock(Res.get()); in TransformOMPSectionDirective()
7291 getDerived().getSema().StartOpenMPDSABlock(OMPD_single, DirName, nullptr, in TransformOMPSingleDirective()
7293 StmtResult Res = getDerived().TransformOMPExecutableDirective(D); in TransformOMPSingleDirective()
7294 getDerived().getSema().EndOpenMPDSABlock(Res.get()); in TransformOMPSingleDirective()
7302 getDerived().getSema().StartOpenMPDSABlock(OMPD_master, DirName, nullptr, in TransformOMPMasterDirective()
7304 StmtResult Res = getDerived().TransformOMPExecutableDirective(D); in TransformOMPMasterDirective()
7305 getDerived().getSema().EndOpenMPDSABlock(Res.get()); in TransformOMPMasterDirective()
7312 getDerived().getSema().StartOpenMPDSABlock( in TransformOMPCriticalDirective()
7314 StmtResult Res = getDerived().TransformOMPExecutableDirective(D); in TransformOMPCriticalDirective()
7315 getDerived().getSema().EndOpenMPDSABlock(Res.get()); in TransformOMPCriticalDirective()
7323 getDerived().getSema().StartOpenMPDSABlock(OMPD_parallel_for, DirName, in TransformOMPParallelForDirective()
7325 StmtResult Res = getDerived().TransformOMPExecutableDirective(D); in TransformOMPParallelForDirective()
7326 getDerived().getSema().EndOpenMPDSABlock(Res.get()); in TransformOMPParallelForDirective()
7334 getDerived().getSema().StartOpenMPDSABlock(OMPD_parallel_for_simd, DirName, in TransformOMPParallelForSimdDirective()
7336 StmtResult Res = getDerived().TransformOMPExecutableDirective(D); in TransformOMPParallelForSimdDirective()
7337 getDerived().getSema().EndOpenMPDSABlock(Res.get()); in TransformOMPParallelForSimdDirective()
7345 getDerived().getSema().StartOpenMPDSABlock(OMPD_parallel_sections, DirName, in TransformOMPParallelSectionsDirective()
7347 StmtResult Res = getDerived().TransformOMPExecutableDirective(D); in TransformOMPParallelSectionsDirective()
7348 getDerived().getSema().EndOpenMPDSABlock(Res.get()); in TransformOMPParallelSectionsDirective()
7356 getDerived().getSema().StartOpenMPDSABlock(OMPD_task, DirName, nullptr, in TransformOMPTaskDirective()
7358 StmtResult Res = getDerived().TransformOMPExecutableDirective(D); in TransformOMPTaskDirective()
7359 getDerived().getSema().EndOpenMPDSABlock(Res.get()); in TransformOMPTaskDirective()
7367 getDerived().getSema().StartOpenMPDSABlock(OMPD_taskyield, DirName, nullptr, in TransformOMPTaskyieldDirective()
7369 StmtResult Res = getDerived().TransformOMPExecutableDirective(D); in TransformOMPTaskyieldDirective()
7370 getDerived().getSema().EndOpenMPDSABlock(Res.get()); in TransformOMPTaskyieldDirective()
7378 getDerived().getSema().StartOpenMPDSABlock(OMPD_barrier, DirName, nullptr, in TransformOMPBarrierDirective()
7380 StmtResult Res = getDerived().TransformOMPExecutableDirective(D); in TransformOMPBarrierDirective()
7381 getDerived().getSema().EndOpenMPDSABlock(Res.get()); in TransformOMPBarrierDirective()
7389 getDerived().getSema().StartOpenMPDSABlock(OMPD_taskwait, DirName, nullptr, in TransformOMPTaskwaitDirective()
7391 StmtResult Res = getDerived().TransformOMPExecutableDirective(D); in TransformOMPTaskwaitDirective()
7392 getDerived().getSema().EndOpenMPDSABlock(Res.get()); in TransformOMPTaskwaitDirective()
7400 getDerived().getSema().StartOpenMPDSABlock(OMPD_taskgroup, DirName, nullptr, in TransformOMPTaskgroupDirective()
7402 StmtResult Res = getDerived().TransformOMPExecutableDirective(D); in TransformOMPTaskgroupDirective()
7403 getDerived().getSema().EndOpenMPDSABlock(Res.get()); in TransformOMPTaskgroupDirective()
7411 getDerived().getSema().StartOpenMPDSABlock(OMPD_flush, DirName, nullptr, in TransformOMPFlushDirective()
7413 StmtResult Res = getDerived().TransformOMPExecutableDirective(D); in TransformOMPFlushDirective()
7414 getDerived().getSema().EndOpenMPDSABlock(Res.get()); in TransformOMPFlushDirective()
7422 getDerived().getSema().StartOpenMPDSABlock(OMPD_ordered, DirName, nullptr, in TransformOMPOrderedDirective()
7424 StmtResult Res = getDerived().TransformOMPExecutableDirective(D); in TransformOMPOrderedDirective()
7425 getDerived().getSema().EndOpenMPDSABlock(Res.get()); in TransformOMPOrderedDirective()
7433 getDerived().getSema().StartOpenMPDSABlock(OMPD_atomic, DirName, nullptr, in TransformOMPAtomicDirective()
7435 StmtResult Res = getDerived().TransformOMPExecutableDirective(D); in TransformOMPAtomicDirective()
7436 getDerived().getSema().EndOpenMPDSABlock(Res.get()); in TransformOMPAtomicDirective()
7444 getDerived().getSema().StartOpenMPDSABlock(OMPD_target, DirName, nullptr, in TransformOMPTargetDirective()
7446 StmtResult Res = getDerived().TransformOMPExecutableDirective(D); in TransformOMPTargetDirective()
7447 getDerived().getSema().EndOpenMPDSABlock(Res.get()); in TransformOMPTargetDirective()
7455 getDerived().getSema().StartOpenMPDSABlock(OMPD_target_data, DirName, nullptr, in TransformOMPTargetDataDirective()
7457 StmtResult Res = getDerived().TransformOMPExecutableDirective(D); in TransformOMPTargetDataDirective()
7458 getDerived().getSema().EndOpenMPDSABlock(Res.get()); in TransformOMPTargetDataDirective()
7466 getDerived().getSema().StartOpenMPDSABlock(OMPD_target_enter_data, DirName, in TransformOMPTargetEnterDataDirective()
7468 StmtResult Res = getDerived().TransformOMPExecutableDirective(D); in TransformOMPTargetEnterDataDirective()
7469 getDerived().getSema().EndOpenMPDSABlock(Res.get()); in TransformOMPTargetEnterDataDirective()
7477 getDerived().getSema().StartOpenMPDSABlock(OMPD_target_exit_data, DirName, in TransformOMPTargetExitDataDirective()
7479 StmtResult Res = getDerived().TransformOMPExecutableDirective(D); in TransformOMPTargetExitDataDirective()
7480 getDerived().getSema().EndOpenMPDSABlock(Res.get()); in TransformOMPTargetExitDataDirective()
7488 getDerived().getSema().StartOpenMPDSABlock(OMPD_target_parallel, DirName, in TransformOMPTargetParallelDirective()
7490 StmtResult Res = getDerived().TransformOMPExecutableDirective(D); in TransformOMPTargetParallelDirective()
7491 getDerived().getSema().EndOpenMPDSABlock(Res.get()); in TransformOMPTargetParallelDirective()
7499 getDerived().getSema().StartOpenMPDSABlock(OMPD_target_parallel_for, DirName, in TransformOMPTargetParallelForDirective()
7501 StmtResult Res = getDerived().TransformOMPExecutableDirective(D); in TransformOMPTargetParallelForDirective()
7502 getDerived().getSema().EndOpenMPDSABlock(Res.get()); in TransformOMPTargetParallelForDirective()
7510 getDerived().getSema().StartOpenMPDSABlock(OMPD_target_update, DirName, in TransformOMPTargetUpdateDirective()
7512 StmtResult Res = getDerived().TransformOMPExecutableDirective(D); in TransformOMPTargetUpdateDirective()
7513 getDerived().getSema().EndOpenMPDSABlock(Res.get()); in TransformOMPTargetUpdateDirective()
7521 getDerived().getSema().StartOpenMPDSABlock(OMPD_teams, DirName, nullptr, in TransformOMPTeamsDirective()
7523 StmtResult Res = getDerived().TransformOMPExecutableDirective(D); in TransformOMPTeamsDirective()
7524 getDerived().getSema().EndOpenMPDSABlock(Res.get()); in TransformOMPTeamsDirective()
7532 getDerived().getSema().StartOpenMPDSABlock(OMPD_cancellation_point, DirName, in TransformOMPCancellationPointDirective()
7534 StmtResult Res = getDerived().TransformOMPExecutableDirective(D); in TransformOMPCancellationPointDirective()
7535 getDerived().getSema().EndOpenMPDSABlock(Res.get()); in TransformOMPCancellationPointDirective()
7543 getDerived().getSema().StartOpenMPDSABlock(OMPD_cancel, DirName, nullptr, in TransformOMPCancelDirective()
7545 StmtResult Res = getDerived().TransformOMPExecutableDirective(D); in TransformOMPCancelDirective()
7546 getDerived().getSema().EndOpenMPDSABlock(Res.get()); in TransformOMPCancelDirective()
7554 getDerived().getSema().StartOpenMPDSABlock(OMPD_taskloop, DirName, nullptr, in TransformOMPTaskLoopDirective()
7556 StmtResult Res = getDerived().TransformOMPExecutableDirective(D); in TransformOMPTaskLoopDirective()
7557 getDerived().getSema().EndOpenMPDSABlock(Res.get()); in TransformOMPTaskLoopDirective()
7565 getDerived().getSema().StartOpenMPDSABlock(OMPD_taskloop_simd, DirName, in TransformOMPTaskLoopSimdDirective()
7567 StmtResult Res = getDerived().TransformOMPExecutableDirective(D); in TransformOMPTaskLoopSimdDirective()
7568 getDerived().getSema().EndOpenMPDSABlock(Res.get()); in TransformOMPTaskLoopSimdDirective()
7576 getDerived().getSema().StartOpenMPDSABlock(OMPD_distribute, DirName, nullptr, in TransformOMPDistributeDirective()
7578 StmtResult Res = getDerived().TransformOMPExecutableDirective(D); in TransformOMPDistributeDirective()
7579 getDerived().getSema().EndOpenMPDSABlock(Res.get()); in TransformOMPDistributeDirective()
7587 getDerived().getSema().StartOpenMPDSABlock( in TransformOMPDistributeParallelForDirective()
7589 StmtResult Res = getDerived().TransformOMPExecutableDirective(D); in TransformOMPDistributeParallelForDirective()
7590 getDerived().getSema().EndOpenMPDSABlock(Res.get()); in TransformOMPDistributeParallelForDirective()
7599 getDerived().getSema().StartOpenMPDSABlock( in TransformOMPDistributeParallelForSimdDirective()
7601 StmtResult Res = getDerived().TransformOMPExecutableDirective(D); in TransformOMPDistributeParallelForSimdDirective()
7602 getDerived().getSema().EndOpenMPDSABlock(Res.get()); in TransformOMPDistributeParallelForSimdDirective()
7610 getDerived().getSema().StartOpenMPDSABlock(OMPD_distribute_simd, DirName, in TransformOMPDistributeSimdDirective()
7612 StmtResult Res = getDerived().TransformOMPExecutableDirective(D); in TransformOMPDistributeSimdDirective()
7613 getDerived().getSema().EndOpenMPDSABlock(Res.get()); in TransformOMPDistributeSimdDirective()
7621 getDerived().getSema().StartOpenMPDSABlock(OMPD_target_parallel_for_simd, in TransformOMPTargetParallelForSimdDirective()
7624 StmtResult Res = getDerived().TransformOMPExecutableDirective(D); in TransformOMPTargetParallelForSimdDirective()
7625 getDerived().getSema().EndOpenMPDSABlock(Res.get()); in TransformOMPTargetParallelForSimdDirective()
7634 ExprResult Cond = getDerived().TransformExpr(C->getCondition()); in TransformOMPIfClause()
7637 return getDerived().RebuildOMPIfClause( in TransformOMPIfClause()
7644 ExprResult Cond = getDerived().TransformExpr(C->getCondition()); in TransformOMPFinalClause()
7647 return getDerived().RebuildOMPFinalClause(Cond.get(), C->getLocStart(), in TransformOMPFinalClause()
7654 ExprResult NumThreads = getDerived().TransformExpr(C->getNumThreads()); in TransformOMPNumThreadsClause()
7657 return getDerived().RebuildOMPNumThreadsClause( in TransformOMPNumThreadsClause()
7664 ExprResult E = getDerived().TransformExpr(C->getSafelen()); in TransformOMPSafelenClause()
7667 return getDerived().RebuildOMPSafelenClause( in TransformOMPSafelenClause()
7674 ExprResult E = getDerived().TransformExpr(C->getSimdlen()); in TransformOMPSimdlenClause()
7677 return getDerived().RebuildOMPSimdlenClause( in TransformOMPSimdlenClause()
7684 ExprResult E = getDerived().TransformExpr(C->getNumForLoops()); in TransformOMPCollapseClause()
7687 return getDerived().RebuildOMPCollapseClause( in TransformOMPCollapseClause()
7694 return getDerived().RebuildOMPDefaultClause( in TransformOMPDefaultClause()
7702 return getDerived().RebuildOMPProcBindClause( in TransformOMPProcBindClause()
7710 ExprResult E = getDerived().TransformExpr(C->getChunkSize()); in TransformOMPScheduleClause()
7713 return getDerived().RebuildOMPScheduleClause( in TransformOMPScheduleClause()
7725 E = getDerived().TransformExpr(Num); in TransformOMPOrderedClause()
7729 return getDerived().RebuildOMPOrderedClause(C->getLocStart(), C->getLocEnd(), in TransformOMPOrderedClause()
7813 ExprResult EVar = getDerived().TransformExpr(cast<Expr>(VE)); in TransformOMPPrivateClause()
7818 return getDerived().RebuildOMPPrivateClause( in TransformOMPPrivateClause()
7828 ExprResult EVar = getDerived().TransformExpr(cast<Expr>(VE)); in TransformOMPFirstprivateClause()
7833 return getDerived().RebuildOMPFirstprivateClause( in TransformOMPFirstprivateClause()
7843 ExprResult EVar = getDerived().TransformExpr(cast<Expr>(VE)); in TransformOMPLastprivateClause()
7848 return getDerived().RebuildOMPLastprivateClause( in TransformOMPLastprivateClause()
7858 ExprResult EVar = getDerived().TransformExpr(cast<Expr>(VE)); in TransformOMPSharedClause()
7863 return getDerived().RebuildOMPSharedClause(Vars, C->getLocStart(), in TransformOMPSharedClause()
7873 ExprResult EVar = getDerived().TransformExpr(cast<Expr>(VE)); in TransformOMPReductionClause()
7883 NameInfo = getDerived().TransformDeclarationNameInfo(NameInfo); in TransformOMPReductionClause()
7897 cast<NamedDecl>(getDerived().TransformDecl(E->getExprLoc(), D)); in TransformOMPReductionClause()
7909 return getDerived().RebuildOMPReductionClause( in TransformOMPReductionClause()
7920 ExprResult EVar = getDerived().TransformExpr(cast<Expr>(VE)); in TransformOMPLinearClause()
7925 ExprResult Step = getDerived().TransformExpr(C->getStep()); in TransformOMPLinearClause()
7928 return getDerived().RebuildOMPLinearClause( in TransformOMPLinearClause()
7939 ExprResult EVar = getDerived().TransformExpr(cast<Expr>(VE)); in TransformOMPAlignedClause()
7944 ExprResult Alignment = getDerived().TransformExpr(C->getAlignment()); in TransformOMPAlignedClause()
7947 return getDerived().RebuildOMPAlignedClause( in TransformOMPAlignedClause()
7958 ExprResult EVar = getDerived().TransformExpr(cast<Expr>(VE)); in TransformOMPCopyinClause()
7963 return getDerived().RebuildOMPCopyinClause(Vars, C->getLocStart(), in TransformOMPCopyinClause()
7973 ExprResult EVar = getDerived().TransformExpr(cast<Expr>(VE)); in TransformOMPCopyprivateClause()
7978 return getDerived().RebuildOMPCopyprivateClause( in TransformOMPCopyprivateClause()
7987 ExprResult EVar = getDerived().TransformExpr(cast<Expr>(VE)); in TransformOMPFlushClause()
7992 return getDerived().RebuildOMPFlushClause(Vars, C->getLocStart(), in TransformOMPFlushClause()
8002 ExprResult EVar = getDerived().TransformExpr(cast<Expr>(VE)); in TransformOMPDependClause()
8007 return getDerived().RebuildOMPDependClause( in TransformOMPDependClause()
8015 ExprResult E = getDerived().TransformExpr(C->getDevice()); in TransformOMPDeviceClause()
8018 return getDerived().RebuildOMPDeviceClause( in TransformOMPDeviceClause()
8027 ExprResult EVar = getDerived().TransformExpr(cast<Expr>(VE)); in TransformOMPMapClause()
8032 return getDerived().RebuildOMPMapClause( in TransformOMPMapClause()
8041 ExprResult E = getDerived().TransformExpr(C->getNumTeams()); in TransformOMPNumTeamsClause()
8044 return getDerived().RebuildOMPNumTeamsClause( in TransformOMPNumTeamsClause()
8051 ExprResult E = getDerived().TransformExpr(C->getThreadLimit()); in TransformOMPThreadLimitClause()
8054 return getDerived().RebuildOMPThreadLimitClause( in TransformOMPThreadLimitClause()
8061 ExprResult E = getDerived().TransformExpr(C->getPriority()); in TransformOMPPriorityClause()
8064 return getDerived().RebuildOMPPriorityClause( in TransformOMPPriorityClause()
8071 ExprResult E = getDerived().TransformExpr(C->getGrainsize()); in TransformOMPGrainsizeClause()
8074 return getDerived().RebuildOMPGrainsizeClause( in TransformOMPGrainsizeClause()
8081 ExprResult E = getDerived().TransformExpr(C->getNumTasks()); in TransformOMPNumTasksClause()
8084 return getDerived().RebuildOMPNumTasksClause( in TransformOMPNumTasksClause()
8090 ExprResult E = getDerived().TransformExpr(C->getHint()); in TransformOMPHintClause()
8093 return getDerived().RebuildOMPHintClause(E.get(), C->getLocStart(), in TransformOMPHintClause()
8100 ExprResult E = getDerived().TransformExpr(C->getChunkSize()); in TransformOMPDistScheduleClause()
8103 return getDerived().RebuildOMPDistScheduleClause( in TransformOMPDistScheduleClause()
8119 ExprResult EVar = getDerived().TransformExpr(cast<Expr>(VE)); in TransformOMPToClause()
8124 return getDerived().RebuildOMPToClause(Vars, C->getLocStart(), in TransformOMPToClause()
8133 ExprResult EVar = getDerived().TransformExpr(cast<Expr>(VE)); in TransformOMPFromClause()
8138 return getDerived().RebuildOMPFromClause(Vars, C->getLocStart(), in TransformOMPFromClause()
8148 ExprResult EVar = getDerived().TransformExpr(cast<Expr>(VE)); in TransformOMPUseDevicePtrClause()
8153 return getDerived().RebuildOMPUseDevicePtrClause( in TransformOMPUseDevicePtrClause()
8163 ExprResult EVar = getDerived().TransformExpr(cast<Expr>(VE)); in TransformOMPIsDevicePtrClause()
8168 return getDerived().RebuildOMPIsDevicePtrClause( in TransformOMPIsDevicePtrClause()
8181 return getDerived().RebuildPredefinedExpr(E->getLocation(), in TransformPredefinedExpr()
8191 = getDerived().TransformNestedNameSpecifierLoc(E->getQualifierLoc()); in TransformDeclRefExpr()
8197 = cast_or_null<ValueDecl>(getDerived().TransformDecl(E->getLocation(), in TransformDeclRefExpr()
8204 NameInfo = getDerived().TransformDeclarationNameInfo(NameInfo); in TransformDeclRefExpr()
8209 if (!getDerived().AlwaysRebuild() && in TransformDeclRefExpr()
8227 if (getDerived().TransformTemplateArguments(E->getTemplateArgs(), in TransformDeclRefExpr()
8233 return getDerived().RebuildDeclRefExpr(QualifierLoc, ND, NameInfo, in TransformDeclRefExpr()
8279 getDerived().TransformExpr(E->getControllingExpr()); in TransformGenericSelectionExpr()
8288 TypeSourceInfo *AssocType = getDerived().TransformType(TS); in TransformGenericSelectionExpr()
8296 ExprResult AssocExpr = getDerived().TransformExpr(E->getAssocExpr(i)); in TransformGenericSelectionExpr()
8302 return getDerived().RebuildGenericSelectionExpr(E->getGenericLoc(), in TransformGenericSelectionExpr()
8313 ExprResult SubExpr = getDerived().TransformExpr(E->getSubExpr()); in TransformParenExpr()
8317 if (!getDerived().AlwaysRebuild() && SubExpr.get() == E->getSubExpr()) in TransformParenExpr()
8320 return getDerived().RebuildParenExpr(SubExpr.get(), E->getLParen(), in TransformParenExpr()
8331 return getDerived().TransformDependentScopeDeclRefExpr(DRE, true, nullptr); in TransformAddressOfOperand()
8333 return getDerived().TransformExpr(E); in TransformAddressOfOperand()
8347 if (!getDerived().AlwaysRebuild() && SubExpr.get() == E->getSubExpr()) in TransformUnaryOperator()
8350 return getDerived().RebuildUnaryOperator(E->getOperatorLoc(), in TransformUnaryOperator()
8359 TypeSourceInfo *Type = getDerived().TransformType(E->getTypeSourceInfo()); in TransformOffsetOfExpr()
8381 ExprResult Index = getDerived().TransformExpr(FromIndex); in TransformOffsetOfExpr()
8409 if (!getDerived().AlwaysRebuild() && in TransformOffsetOfExpr()
8415 return getDerived().RebuildOffsetOfExpr(E->getOperatorLoc(), Type, in TransformOffsetOfExpr()
8422 assert((!E->getSourceExpr() || getDerived().AlreadyTransformed(E->getType())) && in TransformOpaqueValueExpr()
8443 ExprResult result = getDerived().TransformExpr(newSyntacticForm); in TransformPseudoObjectExpr()
8462 TypeSourceInfo *NewT = getDerived().TransformType(OldT); in TransformUnaryExprOrTypeTraitExpr()
8466 if (!getDerived().AlwaysRebuild() && OldT == NewT) in TransformUnaryExprOrTypeTraitExpr()
8469 return getDerived().RebuildUnaryExprOrTypeTrait(NewT, E->getOperatorLoc(), in TransformUnaryExprOrTypeTraitExpr()
8487 SubExpr = getDerived().TransformParenDependentScopeDeclRefExpr( in TransformUnaryExprOrTypeTraitExpr()
8490 SubExpr = getDerived().TransformExpr(E->getArgumentExpr()); in TransformUnaryExprOrTypeTraitExpr()
8493 return getDerived().RebuildUnaryExprOrTypeTrait( in TransformUnaryExprOrTypeTraitExpr()
8498 if (!getDerived().AlwaysRebuild() && SubExpr.get() == E->getArgumentExpr()) in TransformUnaryExprOrTypeTraitExpr()
8501 return getDerived().RebuildUnaryExprOrTypeTrait(SubExpr.get(), in TransformUnaryExprOrTypeTraitExpr()
8510 ExprResult LHS = getDerived().TransformExpr(E->getLHS()); in TransformArraySubscriptExpr()
8514 ExprResult RHS = getDerived().TransformExpr(E->getRHS()); in TransformArraySubscriptExpr()
8519 if (!getDerived().AlwaysRebuild() && in TransformArraySubscriptExpr()
8524 return getDerived().RebuildArraySubscriptExpr(LHS.get(), in TransformArraySubscriptExpr()
8533 ExprResult Base = getDerived().TransformExpr(E->getBase()); in TransformOMPArraySectionExpr()
8539 LowerBound = getDerived().TransformExpr(E->getLowerBound()); in TransformOMPArraySectionExpr()
8546 Length = getDerived().TransformExpr(E->getLength()); in TransformOMPArraySectionExpr()
8551 if (!getDerived().AlwaysRebuild() && Base.get() == E->getBase() && in TransformOMPArraySectionExpr()
8555 return getDerived().RebuildOMPArraySectionExpr( in TransformOMPArraySectionExpr()
8564 ExprResult Callee = getDerived().TransformExpr(E->getCallee()); in TransformCallExpr()
8571 if (getDerived().TransformExprs(E->getArgs(), E->getNumArgs(), true, Args, in TransformCallExpr()
8575 if (!getDerived().AlwaysRebuild() && in TransformCallExpr()
8583 return getDerived().RebuildCallExpr(Callee.get(), FakeLParenLoc, in TransformCallExpr()
8591 ExprResult Base = getDerived().TransformExpr(E->getBase()); in TransformMemberExpr()
8598 = getDerived().TransformNestedNameSpecifierLoc(E->getQualifierLoc()); in TransformMemberExpr()
8606 = cast_or_null<ValueDecl>(getDerived().TransformDecl(E->getMemberLoc(), in TransformMemberExpr()
8616 getDerived().TransformDecl(E->getMemberLoc(), FoundDecl)); in TransformMemberExpr()
8621 if (!getDerived().AlwaysRebuild() && in TransformMemberExpr()
8639 if (getDerived().TransformTemplateArguments(E->getTemplateArgs(), in TransformMemberExpr()
8655 return getDerived().RebuildMemberExpr(Base.get(), FakeOperatorLoc, in TransformMemberExpr()
8670 ExprResult LHS = getDerived().TransformExpr(E->getLHS()); in TransformBinaryOperator()
8674 ExprResult RHS = getDerived().TransformExpr(E->getRHS()); in TransformBinaryOperator()
8678 if (!getDerived().AlwaysRebuild() && in TransformBinaryOperator()
8686 return getDerived().RebuildBinaryOperator(E->getOperatorLoc(), E->getOpcode(), in TransformBinaryOperator()
8694 return getDerived().TransformBinaryOperator(E); in TransformCompoundAssignOperator()
8703 ExprResult commonExpr = getDerived().TransformExpr(e->getCommon()); in TransformBinaryConditionalOperator()
8707 ExprResult rhs = getDerived().TransformExpr(e->getFalseExpr()); in TransformBinaryConditionalOperator()
8711 if (!getDerived().AlwaysRebuild() && in TransformBinaryConditionalOperator()
8716 return getDerived().RebuildConditionalOperator(commonExpr.get(), in TransformBinaryConditionalOperator()
8726 ExprResult Cond = getDerived().TransformExpr(E->getCond()); in TransformConditionalOperator()
8730 ExprResult LHS = getDerived().TransformExpr(E->getLHS()); in TransformConditionalOperator()
8734 ExprResult RHS = getDerived().TransformExpr(E->getRHS()); in TransformConditionalOperator()
8738 if (!getDerived().AlwaysRebuild() && in TransformConditionalOperator()
8744 return getDerived().RebuildConditionalOperator(Cond.get(), in TransformConditionalOperator()
8756 return getDerived().TransformExpr(E->getSubExprAsWritten()); in TransformImplicitCastExpr()
8762 TypeSourceInfo *Type = getDerived().TransformType(E->getTypeInfoAsWritten()); in TransformCStyleCastExpr()
8767 = getDerived().TransformExpr(E->getSubExprAsWritten()); in TransformCStyleCastExpr()
8771 if (!getDerived().AlwaysRebuild() && in TransformCStyleCastExpr()
8776 return getDerived().RebuildCStyleCastExpr(E->getLParenLoc(), in TransformCStyleCastExpr()
8786 TypeSourceInfo *NewT = getDerived().TransformType(OldT); in TransformCompoundLiteralExpr()
8790 ExprResult Init = getDerived().TransformExpr(E->getInitializer()); in TransformCompoundLiteralExpr()
8794 if (!getDerived().AlwaysRebuild() && in TransformCompoundLiteralExpr()
8803 return getDerived().RebuildCompoundLiteralExpr(E->getLParenLoc(), NewT, in TransformCompoundLiteralExpr()
8811 ExprResult Base = getDerived().TransformExpr(E->getBase()); in TransformExtVectorElementExpr()
8815 if (!getDerived().AlwaysRebuild() && in TransformExtVectorElementExpr()
8822 return getDerived().RebuildExtVectorElementExpr(Base.get(), FakeOperatorLoc, in TransformExtVectorElementExpr()
8836 if (getDerived().TransformExprs(E->getInits(), E->getNumInits(), false, in TransformInitListExpr()
8840 if (!getDerived().AlwaysRebuild() && !InitChanged) { in TransformInitListExpr()
8847 return getDerived().RebuildInitList(E->getLBraceLoc(), Inits, in TransformInitListExpr()
8857 ExprResult Init = getDerived().TransformExpr(E->getInit()); in TransformDesignatedInitExpr()
8873 ExprResult Index = getDerived().TransformExpr(E->getArrayIndex(D)); in TransformDesignatedInitExpr()
8887 = getDerived().TransformExpr(E->getArrayRangeStart(D)); in TransformDesignatedInitExpr()
8891 ExprResult End = getDerived().TransformExpr(E->getArrayRangeEnd(D)); in TransformDesignatedInitExpr()
8907 if (!getDerived().AlwaysRebuild() && in TransformDesignatedInitExpr()
8912 return getDerived().RebuildDesignatedInitExpr(Desig, ArrayExprs, in TransformDesignatedInitExpr()
8944 QualType T = getDerived().TransformType(E->getType()); in TransformImplicitValueInitExpr()
8948 if (!getDerived().AlwaysRebuild() && in TransformImplicitValueInitExpr()
8952 return getDerived().RebuildImplicitValueInitExpr(T); in TransformImplicitValueInitExpr()
8958 TypeSourceInfo *TInfo = getDerived().TransformType(E->getWrittenTypeInfo()); in TransformVAArgExpr()
8962 ExprResult SubExpr = getDerived().TransformExpr(E->getSubExpr()); in TransformVAArgExpr()
8966 if (!getDerived().AlwaysRebuild() && in TransformVAArgExpr()
8971 return getDerived().RebuildVAArgExpr(E->getBuiltinLoc(), SubExpr.get(), in TransformVAArgExpr()
8984 return getDerived().RebuildParenListExpr(E->getLParenLoc(), in TransformParenListExpr()
8997 Decl *LD = getDerived().TransformDecl(E->getLabel()->getLocation(), in TransformAddrLabelExpr()
9002 return getDerived().RebuildAddrLabelExpr(E->getAmpAmpLoc(), E->getLabelLoc(), in TransformAddrLabelExpr()
9011 = getDerived().TransformCompoundStmt(E->getSubStmt(), true); in TransformStmtExpr()
9017 if (!getDerived().AlwaysRebuild() && in TransformStmtExpr()
9024 return getDerived().RebuildStmtExpr(E->getLParenLoc(), in TransformStmtExpr()
9032 ExprResult Cond = getDerived().TransformExpr(E->getCond()); in TransformChooseExpr()
9036 ExprResult LHS = getDerived().TransformExpr(E->getLHS()); in TransformChooseExpr()
9040 ExprResult RHS = getDerived().TransformExpr(E->getRHS()); in TransformChooseExpr()
9044 if (!getDerived().AlwaysRebuild() && in TransformChooseExpr()
9050 return getDerived().RebuildChooseExpr(E->getBuiltinLoc(), in TransformChooseExpr()
9076 ExprResult Object = getDerived().TransformExpr(E->getArg(0)); in TransformCXXOperatorCallExpr()
9086 if (getDerived().TransformExprs(E->getArgs() + 1, E->getNumArgs() - 1, true, in TransformCXXOperatorCallExpr()
9090 return getDerived().RebuildCallExpr(Object.get(), FakeLParenLoc, in TransformCXXOperatorCallExpr()
9111 ExprResult Callee = getDerived().TransformExpr(E->getCallee()); in TransformCXXOperatorCallExpr()
9117 First = getDerived().TransformAddressOfOperand(E->getArg(0)); in TransformCXXOperatorCallExpr()
9119 First = getDerived().TransformExpr(E->getArg(0)); in TransformCXXOperatorCallExpr()
9125 Second = getDerived().TransformExpr(E->getArg(1)); in TransformCXXOperatorCallExpr()
9130 if (!getDerived().AlwaysRebuild() && in TransformCXXOperatorCallExpr()
9139 return getDerived().RebuildCXXOperatorCallExpr(E->getOperator(), in TransformCXXOperatorCallExpr()
9149 return getDerived().TransformCallExpr(E); in TransformCXXMemberCallExpr()
9156 ExprResult Callee = getDerived().TransformExpr(E->getCallee()); in TransformCUDAKernelCallExpr()
9161 ExprResult EC = getDerived().TransformCallExpr(E->getConfig()); in TransformCUDAKernelCallExpr()
9168 if (getDerived().TransformExprs(E->getArgs(), E->getNumArgs(), true, Args, in TransformCUDAKernelCallExpr()
9172 if (!getDerived().AlwaysRebuild() && in TransformCUDAKernelCallExpr()
9180 return getDerived().RebuildCallExpr(Callee.get(), FakeLParenLoc, in TransformCUDAKernelCallExpr()
9188 TypeSourceInfo *Type = getDerived().TransformType(E->getTypeInfoAsWritten()); in TransformCXXNamedCastExpr()
9193 = getDerived().TransformExpr(E->getSubExprAsWritten()); in TransformCXXNamedCastExpr()
9197 if (!getDerived().AlwaysRebuild() && in TransformCXXNamedCastExpr()
9201 return getDerived().RebuildCXXNamedCastExpr( in TransformCXXNamedCastExpr()
9211 return getDerived().TransformCXXNamedCastExpr(E); in TransformCXXStaticCastExpr()
9217 return getDerived().TransformCXXNamedCastExpr(E); in TransformCXXDynamicCastExpr()
9224 return getDerived().TransformCXXNamedCastExpr(E); in TransformCXXReinterpretCastExpr()
9230 return getDerived().TransformCXXNamedCastExpr(E); in TransformCXXConstCastExpr()
9237 TypeSourceInfo *Type = getDerived().TransformType(E->getTypeInfoAsWritten()); in TransformCXXFunctionalCastExpr()
9242 = getDerived().TransformExpr(E->getSubExprAsWritten()); in TransformCXXFunctionalCastExpr()
9246 if (!getDerived().AlwaysRebuild() && in TransformCXXFunctionalCastExpr()
9251 return getDerived().RebuildCXXFunctionalCastExpr(Type, in TransformCXXFunctionalCastExpr()
9262 = getDerived().TransformType(E->getTypeOperandSourceInfo()); in TransformCXXTypeidExpr()
9266 if (!getDerived().AlwaysRebuild() && in TransformCXXTypeidExpr()
9270 return getDerived().RebuildCXXTypeidExpr(E->getType(), in TransformCXXTypeidExpr()
9283 ExprResult SubExpr = getDerived().TransformExpr(E->getExprOperand()); in TransformCXXTypeidExpr()
9287 if (!getDerived().AlwaysRebuild() && in TransformCXXTypeidExpr()
9291 return getDerived().RebuildCXXTypeidExpr(E->getType(), in TransformCXXTypeidExpr()
9302 = getDerived().TransformType(E->getTypeOperandSourceInfo()); in TransformCXXUuidofExpr()
9306 if (!getDerived().AlwaysRebuild() && in TransformCXXUuidofExpr()
9310 return getDerived().RebuildCXXUuidofExpr(E->getType(), in TransformCXXUuidofExpr()
9318 ExprResult SubExpr = getDerived().TransformExpr(E->getExprOperand()); in TransformCXXUuidofExpr()
9322 if (!getDerived().AlwaysRebuild() && in TransformCXXUuidofExpr()
9326 return getDerived().RebuildCXXUuidofExpr(E->getType(), in TransformCXXUuidofExpr()
9350 if (!getDerived().AlwaysRebuild() && T == E->getType()) { in TransformCXXThisExpr()
9356 return getDerived().RebuildCXXThisExpr(E->getLocStart(), T, E->isImplicit()); in TransformCXXThisExpr()
9362 ExprResult SubExpr = getDerived().TransformExpr(E->getSubExpr()); in TransformCXXThrowExpr()
9366 if (!getDerived().AlwaysRebuild() && in TransformCXXThrowExpr()
9370 return getDerived().RebuildCXXThrowExpr(E->getThrowLoc(), SubExpr.get(), in TransformCXXThrowExpr()
9378 = cast_or_null<ParmVarDecl>(getDerived().TransformDecl(E->getLocStart(), in TransformCXXDefaultArgExpr()
9383 if (!getDerived().AlwaysRebuild() && in TransformCXXDefaultArgExpr()
9387 return getDerived().RebuildCXXDefaultArgExpr(E->getUsedLocation(), Param); in TransformCXXDefaultArgExpr()
9394 = cast_or_null<FieldDecl>(getDerived().TransformDecl(E->getLocStart(), in TransformCXXDefaultInitExpr()
9399 if (!getDerived().AlwaysRebuild() && Field == E->getField()) in TransformCXXDefaultInitExpr()
9402 return getDerived().RebuildCXXDefaultInitExpr(E->getExprLoc(), Field); in TransformCXXDefaultInitExpr()
9409 TypeSourceInfo *T = getDerived().TransformType(E->getTypeSourceInfo()); in TransformCXXScalarValueInitExpr()
9413 if (!getDerived().AlwaysRebuild() && in TransformCXXScalarValueInitExpr()
9417 return getDerived().RebuildCXXScalarValueInitExpr(T, in TransformCXXScalarValueInitExpr()
9427 = getDerived().TransformType(E->getAllocatedTypeSourceInfo()); in TransformCXXNewExpr()
9432 ExprResult ArraySize = getDerived().TransformExpr(E->getArraySize()); in TransformCXXNewExpr()
9439 if (getDerived().TransformExprs(E->getPlacementArgs(), in TransformCXXNewExpr()
9448 NewInit = getDerived().TransformInitializer(OldInit, true); in TransformCXXNewExpr()
9456 getDerived().TransformDecl(E->getLocStart(), in TransformCXXNewExpr()
9465 getDerived().TransformDecl(E->getLocStart(), in TransformCXXNewExpr()
9471 if (!getDerived().AlwaysRebuild() && in TransformCXXNewExpr()
9524 return getDerived().RebuildCXXNewExpr(E->getLocStart(), in TransformCXXNewExpr()
9540 ExprResult Operand = getDerived().TransformExpr(E->getArgument()); in TransformCXXDeleteExpr()
9548 getDerived().TransformDecl(E->getLocStart(), in TransformCXXDeleteExpr()
9554 if (!getDerived().AlwaysRebuild() && in TransformCXXDeleteExpr()
9575 return getDerived().RebuildCXXDeleteExpr(E->getLocStart(), in TransformCXXDeleteExpr()
9585 ExprResult Base = getDerived().TransformExpr(E->getBase()); in TransformCXXPseudoDestructorExpr()
9603 = getDerived().TransformNestedNameSpecifierLoc(QualifierLoc, ObjectType); in TransformCXXPseudoDestructorExpr()
9613 = getDerived().TransformTypeInObjectScope(E->getDestroyedTypeInfo(), in TransformCXXPseudoDestructorExpr()
9642 ScopeTypeInfo = getDerived().TransformTypeInObjectScope( in TransformCXXPseudoDestructorExpr()
9648 return getDerived().RebuildCXXPseudoDestructorExpr(Base.get(), in TransformCXXPseudoDestructorExpr()
9669 getDerived().TransformDecl(Old->getNameLoc(), in TransformUnresolvedLookupExpr()
9701 = getDerived().TransformNestedNameSpecifierLoc(Old->getQualifierLoc()); in TransformUnresolvedLookupExpr()
9710 = cast_or_null<CXXRecordDecl>(getDerived().TransformDecl( in TransformUnresolvedLookupExpr()
9736 return getDerived().RebuildDeclarationNameExpr(SS, R, Old->requiresADL()); in TransformUnresolvedLookupExpr()
9743 getDerived().TransformTemplateArguments(Old->getTemplateArgs(), in TransformUnresolvedLookupExpr()
9750 return getDerived().RebuildTemplateIdExpr(SS, TemplateKWLoc, R, in TransformUnresolvedLookupExpr()
9765 QualType To = getDerived().TransformType(TLB, FromTL); in TransformTypeTraitExpr()
9793 if (getDerived().TryExpandParameterPacks(ExpansionTL.getEllipsisLoc(), in TransformTypeTraitExpr()
9809 QualType To = getDerived().TransformType(TLB, PatternTL); in TransformTypeTraitExpr()
9813 To = getDerived().RebuildPackExpansionType(To, in TransformTypeTraitExpr()
9833 QualType To = getDerived().TransformType(TLB, PatternTL); in TransformTypeTraitExpr()
9838 To = getDerived().RebuildPackExpansionType(To, in TransformTypeTraitExpr()
9858 ForgetPartiallySubstitutedPackRAII Forget(getDerived()); in TransformTypeTraitExpr()
9863 QualType To = getDerived().TransformType(TLB, PatternTL); in TransformTypeTraitExpr()
9867 To = getDerived().RebuildPackExpansionType(To, in TransformTypeTraitExpr()
9880 if (!getDerived().AlwaysRebuild() && !ArgChanged) in TransformTypeTraitExpr()
9883 return getDerived().RebuildTypeTrait(E->getTrait(), in TransformTypeTraitExpr()
9892 TypeSourceInfo *T = getDerived().TransformType(E->getQueriedTypeSourceInfo()); in TransformArrayTypeTraitExpr()
9896 if (!getDerived().AlwaysRebuild() && in TransformArrayTypeTraitExpr()
9903 SubExpr = getDerived().TransformExpr(E->getDimensionExpression()); in TransformArrayTypeTraitExpr()
9907 if (!getDerived().AlwaysRebuild() && SubExpr.get() == E->getDimensionExpression()) in TransformArrayTypeTraitExpr()
9911 return getDerived().RebuildArrayTypeTrait(E->getTrait(), in TransformArrayTypeTraitExpr()
9924 SubExpr = getDerived().TransformExpr(E->getQueriedExpression()); in TransformExpressionTraitExpr()
9928 if (!getDerived().AlwaysRebuild() && SubExpr.get() == E->getQueriedExpression()) in TransformExpressionTraitExpr()
9932 return getDerived().RebuildExpressionTrait( in TransformExpressionTraitExpr()
9940 ExprResult NewDRE = getDerived().TransformDependentScopeDeclRefExpr( in TransformParenDependentScopeDeclRefExpr()
9948 if (!getDerived().AlwaysRebuild() && NewDRE.get() == DRE) in TransformParenDependentScopeDeclRefExpr()
9950 return getDerived().RebuildParenExpr(NewDRE.get(), PE->getLParen(), in TransformParenDependentScopeDeclRefExpr()
9969 = getDerived().TransformNestedNameSpecifierLoc(E->getQualifierLoc()); in TransformDependentScopeDeclRefExpr()
9979 = getDerived().TransformDeclarationNameInfo(E->getNameInfo()); in TransformDependentScopeDeclRefExpr()
9984 if (!getDerived().AlwaysRebuild() && in TransformDependentScopeDeclRefExpr()
9991 return getDerived().RebuildDependentScopeDeclRefExpr( in TransformDependentScopeDeclRefExpr()
9997 if (getDerived().TransformTemplateArguments(E->getTemplateArgs(), in TransformDependentScopeDeclRefExpr()
10002 return getDerived().RebuildDependentScopeDeclRefExpr( in TransformDependentScopeDeclRefExpr()
10014 (E->getNumArgs() > 1 && getDerived().DropCallArgument(E->getArg(1)))) && in TransformCXXConstructExpr()
10015 (!getDerived().DropCallArgument(E->getArg(0))) && in TransformCXXConstructExpr()
10017 return getDerived().TransformExpr(E->getArg(0)); in TransformCXXConstructExpr()
10021 QualType T = getDerived().TransformType(E->getType()); in TransformCXXConstructExpr()
10027 getDerived().TransformDecl(E->getLocStart(), in TransformCXXConstructExpr()
10034 if (getDerived().TransformExprs(E->getArgs(), E->getNumArgs(), true, Args, in TransformCXXConstructExpr()
10038 if (!getDerived().AlwaysRebuild() && in TransformCXXConstructExpr()
10048 return getDerived().RebuildCXXConstructExpr(T, /*FIXME:*/E->getLocStart(), in TransformCXXConstructExpr()
10062 QualType T = getDerived().TransformType(E->getType()); in TransformCXXInheritedCtorInitExpr()
10067 getDerived().TransformDecl(E->getLocStart(), E->getConstructor())); in TransformCXXInheritedCtorInitExpr()
10071 if (!getDerived().AlwaysRebuild() && in TransformCXXInheritedCtorInitExpr()
10080 return getDerived().RebuildCXXInheritedCtorInitExpr( in TransformCXXInheritedCtorInitExpr()
10092 return getDerived().TransformExpr(E->getSubExpr()); in TransformCXXBindTemporaryExpr()
10103 return getDerived().TransformExpr(E->getSubExpr()); in TransformExprWithCleanups()
10110 TypeSourceInfo *T = getDerived().TransformType(E->getTypeSourceInfo()); in TransformCXXTemporaryObjectExpr()
10116 getDerived().TransformDecl(E->getLocStart(), in TransformCXXTemporaryObjectExpr()
10128 if (!getDerived().AlwaysRebuild() && in TransformCXXTemporaryObjectExpr()
10138 return getDerived().RebuildCXXTemporaryObjectExpr(T, in TransformCXXTemporaryObjectExpr()
10160 ExprResult NewExprInitResult = getDerived().TransformInitializer( in TransformLambdaExpr()
10181 auto TPL = getDerived().TransformTemplateParameterList( in TransformLambdaExpr()
10219 getDerived().transformedLocalDecl(E->getLambdaClass(), Class); in TransformLambdaExpr()
10230 getDerived().transformAttrs(E->getCallOperator(), NewCallOperator); in TransformLambdaExpr()
10231 getDerived().transformedLocalDecl(E->getCallOperator(), NewCallOperator); in TransformLambdaExpr()
10289 getDerived().transformedLocalDecl(OldVD, NewVD); in TransformLambdaExpr()
10309 if (getDerived().TryExpandParameterPacks(C->getEllipsisLoc(), in TransformLambdaExpr()
10326 = cast_or_null<VarDecl>(getDerived().TransformDecl(C->getLocation(), in TransformLambdaExpr()
10347 = cast_or_null<VarDecl>(getDerived().TransformDecl(C->getLocation(), in TransformLambdaExpr()
10367 Invalid ? StmtError() : getDerived().TransformStmt(E->getBody()); in TransformLambdaExpr()
10395 TypeSourceInfo *T = getDerived().TransformType(E->getTypeSourceInfo()); in TransformCXXUnresolvedConstructExpr()
10402 if (getDerived().TransformExprs(E->arg_begin(), E->arg_size(), true, Args, in TransformCXXUnresolvedConstructExpr()
10406 if (!getDerived().AlwaysRebuild() && in TransformCXXUnresolvedConstructExpr()
10412 return getDerived().RebuildCXXUnresolvedConstructExpr(T, in TransformCXXUnresolvedConstructExpr()
10429 Base = getDerived().TransformExpr(OldBase); in TransformCXXDependentScopeMemberExpr()
10448 BaseType = getDerived().TransformType(E->getBaseType()); in TransformCXXDependentScopeMemberExpr()
10455 = getDerived().TransformFirstQualifierInScope( in TransformCXXDependentScopeMemberExpr()
10462 = getDerived().TransformNestedNameSpecifierLoc(E->getQualifierLoc(), in TransformCXXDependentScopeMemberExpr()
10476 = getDerived().TransformDeclarationNameInfo(E->getMemberNameInfo()); in TransformCXXDependentScopeMemberExpr()
10483 if (!getDerived().AlwaysRebuild() && in TransformCXXDependentScopeMemberExpr()
10491 return getDerived().RebuildCXXDependentScopeMemberExpr(Base.get(), in TransformCXXDependentScopeMemberExpr()
10503 if (getDerived().TransformTemplateArguments(E->getTemplateArgs(), in TransformCXXDependentScopeMemberExpr()
10508 return getDerived().RebuildCXXDependentScopeMemberExpr(Base.get(), in TransformCXXDependentScopeMemberExpr()
10526 Base = getDerived().TransformExpr(Old->getBase()); in TransformUnresolvedMemberExpr()
10535 BaseType = getDerived().TransformType(Old->getBaseType()); in TransformUnresolvedMemberExpr()
10541 = getDerived().TransformNestedNameSpecifierLoc(Old->getQualifierLoc()); in TransformUnresolvedMemberExpr()
10555 getDerived().TransformDecl(Old->getMemberLoc(), in TransformUnresolvedMemberExpr()
10584 = cast_or_null<CXXRecordDecl>(getDerived().TransformDecl( in TransformUnresolvedMemberExpr()
10597 if (getDerived().TransformTemplateArguments(Old->getTemplateArgs(), in TransformUnresolvedMemberExpr()
10609 return getDerived().RebuildUnresolvedMemberExpr(Base.get(), in TransformUnresolvedMemberExpr()
10625 ExprResult SubExpr = getDerived().TransformExpr(E->getOperand()); in TransformCXXNoexceptExpr()
10629 if (!getDerived().AlwaysRebuild() && SubExpr.get() == E->getOperand()) in TransformCXXNoexceptExpr()
10632 return getDerived().RebuildCXXNoexceptExpr(E->getSourceRange(),SubExpr.get()); in TransformCXXNoexceptExpr()
10638 ExprResult Pattern = getDerived().TransformExpr(E->getPattern()); in TransformPackExpansionExpr()
10642 if (!getDerived().AlwaysRebuild() && Pattern.get() == E->getPattern()) in TransformPackExpansionExpr()
10645 return getDerived().RebuildPackExpansion(Pattern.get(), E->getEllipsisLoc(), in TransformPackExpansionExpr()
10670 if (getDerived().TryExpandParameterPacks(E->getOperatorLoc(), E->getPackLoc(), in TransformSizeOfPackExpr()
10701 getDerived().TransformDecl(E->getPackLoc(), E->getPack())); in TransformSizeOfPackExpr()
10704 return getDerived().RebuildSizeOfPackExpr(E->getOperatorLoc(), Pack, in TransformSizeOfPackExpr()
10730 return getDerived().RebuildSizeOfPackExpr(E->getOperatorLoc(), E->getPack(), in TransformSizeOfPackExpr()
10734 return getDerived().RebuildSizeOfPackExpr(E->getOperatorLoc(), E->getPack(), in TransformSizeOfPackExpr()
10766 return getDerived().TransformExpr(E->GetTemporaryExpr()); in TransformMaterializeTemporaryExpr()
10783 if (getDerived().TryExpandParameterPacks(E->getEllipsisLoc(), in TransformCXXFoldExpr()
10796 E->getLHS() ? getDerived().TransformExpr(E->getLHS()) : ExprResult(); in TransformCXXFoldExpr()
10801 E->getRHS() ? getDerived().TransformExpr(E->getRHS()) : ExprResult(); in TransformCXXFoldExpr()
10805 if (!getDerived().AlwaysRebuild() && in TransformCXXFoldExpr()
10809 return getDerived().RebuildCXXFoldExpr( in TransformCXXFoldExpr()
10816 ExprResult Result = getDerived().TransformExpr(E->getInit()); in TransformCXXFoldExpr()
10824 ForgetPartiallySubstitutedPackRAII Forget(getDerived()); in TransformCXXFoldExpr()
10826 ExprResult Out = getDerived().TransformExpr(Pattern); in TransformCXXFoldExpr()
10830 Result = getDerived().RebuildCXXFoldExpr( in TransformCXXFoldExpr()
10840 ExprResult Out = getDerived().TransformExpr(Pattern); in TransformCXXFoldExpr()
10846 Result = getDerived().RebuildCXXFoldExpr( in TransformCXXFoldExpr()
10854 Result = getDerived().RebuildBinaryOperator( in TransformCXXFoldExpr()
10868 ForgetPartiallySubstitutedPackRAII Forget(getDerived()); in TransformCXXFoldExpr()
10870 ExprResult Out = getDerived().TransformExpr(Pattern); in TransformCXXFoldExpr()
10874 Result = getDerived().RebuildCXXFoldExpr( in TransformCXXFoldExpr()
10885 return getDerived().RebuildEmptyCXXFoldExpr(E->getEllipsisLoc(), in TransformCXXFoldExpr()
10895 return getDerived().TransformExpr(E->getSubExpr()); in TransformCXXStdInitializerListExpr()
10913 ExprResult SubExpr = getDerived().TransformExpr(E->getSubExpr()); in TransformObjCBoxedExpr()
10917 if (!getDerived().AlwaysRebuild() && in TransformObjCBoxedExpr()
10921 return getDerived().RebuildObjCBoxedExpr(E->getSourceRange(), SubExpr.get()); in TransformObjCBoxedExpr()
10930 if (getDerived().TransformExprs(E->getElements(), E->getNumElements(), in TransformObjCArrayLiteral()
10934 if (!getDerived().AlwaysRebuild() && !ArgChanged) in TransformObjCArrayLiteral()
10937 return getDerived().RebuildObjCArrayLiteral(E->getSourceRange(), in TransformObjCArrayLiteral()
10967 if (getDerived().TryExpandParameterPacks(OrigElement.EllipsisLoc, in TransformObjCDictionaryLiteral()
10979 ExprResult Key = getDerived().TransformExpr(OrigElement.Key); in TransformObjCDictionaryLiteral()
10986 ExprResult Value = getDerived().TransformExpr(OrigElement.Value); in TransformObjCDictionaryLiteral()
11008 ExprResult Key = getDerived().TransformExpr(OrigElement.Key); in TransformObjCDictionaryLiteral()
11012 ExprResult Value = getDerived().TransformExpr(OrigElement.Value); in TransformObjCDictionaryLiteral()
11037 ExprResult Key = getDerived().TransformExpr(OrigElement.Key); in TransformObjCDictionaryLiteral()
11046 = getDerived().TransformExpr(OrigElement.Value); in TransformObjCDictionaryLiteral()
11059 if (!getDerived().AlwaysRebuild() && !ArgChanged) in TransformObjCDictionaryLiteral()
11062 return getDerived().RebuildObjCDictionaryLiteral(E->getSourceRange(), in TransformObjCDictionaryLiteral()
11070 = getDerived().TransformType(E->getEncodedTypeSourceInfo()); in TransformObjCEncodeExpr()
11074 if (!getDerived().AlwaysRebuild() && in TransformObjCEncodeExpr()
11078 return getDerived().RebuildObjCEncodeExpr(E->getAtLoc(), in TransformObjCEncodeExpr()
11090 return getDerived().TransformExpr(E->getSubExpr()); in TransformObjCIndirectCopyRestoreExpr()
11097 = getDerived().TransformType(E->getTypeInfoAsWritten()); in TransformObjCBridgedCastExpr()
11101 ExprResult Result = getDerived().TransformExpr(E->getSubExpr()); in TransformObjCBridgedCastExpr()
11105 if (!getDerived().AlwaysRebuild() && in TransformObjCBridgedCastExpr()
11122 if (getDerived().TransformExprs(E->getArgs(), E->getNumArgs(), false, Args, in TransformObjCMessageExpr()
11129 = getDerived().TransformType(E->getClassReceiverTypeInfo()); in TransformObjCMessageExpr()
11134 if (!getDerived().AlwaysRebuild() && in TransformObjCMessageExpr()
11141 return getDerived().RebuildObjCMessageExpr(ReceiverTypeInfo, in TransformObjCMessageExpr()
11154 return getDerived().RebuildObjCMessageExpr(E->getSuperLoc(), in TransformObjCMessageExpr()
11168 = getDerived().TransformExpr(E->getInstanceReceiver()); in TransformObjCMessageExpr()
11173 if (!getDerived().AlwaysRebuild() && in TransformObjCMessageExpr()
11180 return getDerived().RebuildObjCMessageExpr(Receiver.get(), in TransformObjCMessageExpr()
11205 ExprResult Base = getDerived().TransformExpr(E->getBase()); in TransformObjCIvarRefExpr()
11212 if (!getDerived().AlwaysRebuild() && in TransformObjCIvarRefExpr()
11216 return getDerived().RebuildObjCIvarRefExpr(Base.get(), E->getDecl(), in TransformObjCIvarRefExpr()
11230 ExprResult Base = getDerived().TransformExpr(E->getBase()); in TransformObjCPropertyRefExpr()
11237 if (!getDerived().AlwaysRebuild() && in TransformObjCPropertyRefExpr()
11242 return getDerived().RebuildObjCPropertyRefExpr(Base.get(), in TransformObjCPropertyRefExpr()
11246 return getDerived().RebuildObjCPropertyRefExpr(Base.get(), in TransformObjCPropertyRefExpr()
11257 ExprResult Base = getDerived().TransformExpr(E->getBaseExpr()); in TransformObjCSubscriptRefExpr()
11262 ExprResult Key = getDerived().TransformExpr(E->getKeyExpr()); in TransformObjCSubscriptRefExpr()
11267 if (!getDerived().AlwaysRebuild() && in TransformObjCSubscriptRefExpr()
11271 return getDerived().RebuildObjCSubscriptRefExpr(E->getRBracket(), in TransformObjCSubscriptRefExpr()
11281 ExprResult Base = getDerived().TransformExpr(E->getBase()); in TransformObjCIsaExpr()
11286 if (!getDerived().AlwaysRebuild() && in TransformObjCIsaExpr()
11290 return getDerived().RebuildObjCIsaExpr(Base.get(), E->getIsaMemberLoc(), in TransformObjCIsaExpr()
11301 if (getDerived().TransformExprs(E->getSubExprs(), E->getNumSubExprs(), false, in TransformShuffleVectorExpr()
11305 if (!getDerived().AlwaysRebuild() && in TransformShuffleVectorExpr()
11309 return getDerived().RebuildShuffleVectorExpr(E->getBuiltinLoc(), in TransformShuffleVectorExpr()
11317 ExprResult SrcExpr = getDerived().TransformExpr(E->getSrcExpr()); in TransformConvertVectorExpr()
11321 TypeSourceInfo *Type = getDerived().TransformType(E->getTypeSourceInfo()); in TransformConvertVectorExpr()
11325 if (!getDerived().AlwaysRebuild() && in TransformConvertVectorExpr()
11330 return getDerived().RebuildConvertVectorExpr(E->getBuiltinLoc(), in TransformConvertVectorExpr()
11354 if (getDerived().TransformFunctionTypeParams( in TransformBlockExpr()
11363 getDerived().TransformType(exprFunctionType->getReturnType()); in TransformBlockExpr()
11369 getDerived().RebuildFunctionProtoType(exprResultType, paramTypes, epi); in TransformBlockExpr()
11382 StmtResult body = getDerived().TransformStmt(E->getBody()); in TransformBlockExpr()
11401 cast<VarDecl>(getDerived().TransformDecl(E->getCaretLocation(), in TransformBlockExpr()
11422 QualType RetTy = getDerived().TransformType(E->getType()); in TransformAtomicExpr()
11426 if (getDerived().TransformExprs(E->getSubExprs(), E->getNumSubExprs(), false, in TransformAtomicExpr()
11430 if (!getDerived().AlwaysRebuild() && in TransformAtomicExpr()
11434 return getDerived().RebuildAtomicExpr(E->getBuiltinLoc(), SubExprs, in TransformAtomicExpr()
11446 getDerived().getBaseEntity()); in RebuildPointerType()
11453 getDerived().getBaseEntity()); in RebuildBlockPointerType()
11462 Sigil, getDerived().getBaseEntity()); in RebuildReferenceType()
11471 getDerived().getBaseEntity()); in RebuildMemberPointerType()
11510 getDerived().getBaseEntity()); in RebuildArrayType()
11532 getDerived().getBaseEntity()); in RebuildArrayType()
11542 return getDerived().RebuildArrayType(ElementType, SizeMod, &Size, nullptr, in RebuildConstantArrayType()
11552 return getDerived().RebuildArrayType(ElementType, SizeMod, nullptr, nullptr, in RebuildIncompleteArrayType()
11563 return getDerived().RebuildArrayType(ElementType, SizeMod, nullptr, in RebuildVariableArrayType()
11575 return getDerived().RebuildArrayType(ElementType, SizeMod, nullptr, in RebuildDependentSizedArrayType()
11614 getDerived().getBaseLocation(), in RebuildFunctionProtoType()
11615 getDerived().getBaseEntity(), in RebuildFunctionProtoType()
11923 getDerived().TransformType(CD->getParam(I)->getType()))); in TransformCapturedStmt()
11933 Body = getDerived().TransformStmt(S->getCapturedStmt()); in TransformCapturedStmt()