Lines Matching refs:TLB

308   QualType TransformType(TypeLocBuilder &TLB, TypeLoc TL);
568 QualType Transform##CLASS##Type(TypeLocBuilder &TLB, CLASS##TypeLoc T);
572 QualType TransformFunctionProtoType(TypeLocBuilder &TLB,
586 TransformTemplateSpecializationType(TypeLocBuilder &TLB,
591 TransformDependentTemplateSpecializationType(TypeLocBuilder &TLB,
597 TypeLocBuilder &TLB, DependentTemplateSpecializationTypeLoc TL,
623 QualType TransformReferenceType(TypeLocBuilder &TLB, ReferenceTypeLoc TL);
3894 TypeLocBuilder TLB; in TransformType() local
3897 TLB.reserve(TL.getFullDataSize()); in TransformType()
3899 QualType Result = getDerived().TransformType(TLB, TL); in TransformType()
3903 return TLB.getTypeSourceInfo(SemaRef.Context, Result); in TransformType()
3908 TreeTransform<Derived>::TransformType(TypeLocBuilder &TLB, TypeLoc T) { in TransformType() argument
3913 return getDerived().Transform##CLASS##Type(TLB, \ in TransformType()
3928 TreeTransform<Derived>::TransformQualifiedType(TypeLocBuilder &TLB, in TransformQualifiedType() argument
3932 QualType Result = getDerived().TransformType(TLB, T.getUnqualifiedLoc()); in TransformQualifiedType()
3963 TLB.TypeWasModifiedSafely(Result); in TransformQualifiedType()
3973 TLB.TypeWasModifiedSafely(Result); in TransformQualifiedType()
3989 TLB.push<QualifiedTypeLoc>(Result); in TransformQualifiedType()
4032 TypeLocBuilder TLB; in TransformTSIInObjectScope() local
4047 Result = getDerived().TransformTemplateSpecializationType(TLB, SpecTL, in TransformTSIInObjectScope()
4061 Result = getDerived().TransformDependentTemplateSpecializationType(TLB, in TransformTSIInObjectScope()
4067 Result = getDerived().TransformType(TLB, TL); in TransformTSIInObjectScope()
4073 return TLB.getTypeSourceInfo(SemaRef.Context, Result); in TransformTSIInObjectScope()
4077 QualType TransformTypeSpecType(TypeLocBuilder &TLB, TyLoc T) { in TransformTypeSpecType() argument
4078 TyLoc NewT = TLB.push<TyLoc>(T.getType()); in TransformTypeSpecType()
4084 QualType TreeTransform<Derived>::TransformBuiltinType(TypeLocBuilder &TLB, in TransformBuiltinType() argument
4086 BuiltinTypeLoc NewT = TLB.push<BuiltinTypeLoc>(T.getType()); in TransformBuiltinType()
4094 QualType TreeTransform<Derived>::TransformComplexType(TypeLocBuilder &TLB, in TransformComplexType() argument
4097 return TransformTypeSpecType(TLB, T); in TransformComplexType()
4101 QualType TreeTransform<Derived>::TransformAdjustedType(TypeLocBuilder &TLB, in TransformAdjustedType() argument
4104 return getDerived().TransformType(TLB, TL.getOriginalLoc()); in TransformAdjustedType()
4108 QualType TreeTransform<Derived>::TransformDecayedType(TypeLocBuilder &TLB, in TransformDecayedType() argument
4110 QualType OriginalType = getDerived().TransformType(TLB, TL.getOriginalLoc()); in TransformDecayedType()
4118 TLB.push<DecayedTypeLoc>(Result); in TransformDecayedType()
4124 QualType TreeTransform<Derived>::TransformPointerType(TypeLocBuilder &TLB, in TransformPointerType() argument
4127 = getDerived().TransformType(TLB, TL.getPointeeLoc()); in TransformPointerType()
4139 ObjCObjectPointerTypeLoc NewT = TLB.push<ObjCObjectPointerTypeLoc>(Result); in TransformPointerType()
4153 TLB.TypeWasModifiedSafely(Result->getPointeeType()); in TransformPointerType()
4155 PointerTypeLoc NewT = TLB.push<PointerTypeLoc>(Result); in TransformPointerType()
4162 TreeTransform<Derived>::TransformBlockPointerType(TypeLocBuilder &TLB, in TransformBlockPointerType() argument
4165 = getDerived().TransformType(TLB, TL.getPointeeLoc()); in TransformBlockPointerType()
4178 BlockPointerTypeLoc NewT = TLB.push<BlockPointerTypeLoc>(Result); in TransformBlockPointerType()
4189 TreeTransform<Derived>::TransformReferenceType(TypeLocBuilder &TLB, in TransformReferenceType() argument
4194 QualType PointeeType = getDerived().TransformType(TLB, TL.getPointeeLoc()); in TransformReferenceType()
4210 TLB.TypeWasModifiedSafely( in TransformReferenceType()
4216 NewTL = TLB.push<LValueReferenceTypeLoc>(Result); in TransformReferenceType()
4218 NewTL = TLB.push<RValueReferenceTypeLoc>(Result); in TransformReferenceType()
4226 TreeTransform<Derived>::TransformLValueReferenceType(TypeLocBuilder &TLB, in TransformLValueReferenceType() argument
4228 return TransformReferenceType(TLB, TL); in TransformLValueReferenceType()
4233 TreeTransform<Derived>::TransformRValueReferenceType(TypeLocBuilder &TLB, in TransformRValueReferenceType() argument
4235 return TransformReferenceType(TLB, TL); in TransformRValueReferenceType()
4240 TreeTransform<Derived>::TransformMemberPointerType(TypeLocBuilder &TLB, in TransformMemberPointerType() argument
4242 QualType PointeeType = getDerived().TransformType(TLB, TL.getPointeeLoc()); in TransformMemberPointerType()
4280 TLB.push<AdjustedTypeLoc>(MPT->getPointeeType()); in TransformMemberPointerType()
4283 MemberPointerTypeLoc NewTL = TLB.push<MemberPointerTypeLoc>(Result); in TransformMemberPointerType()
4292 TreeTransform<Derived>::TransformConstantArrayType(TypeLocBuilder &TLB, in TransformConstantArrayType() argument
4295 QualType ElementType = getDerived().TransformType(TLB, TL.getElementLoc()); in TransformConstantArrayType()
4315 ArrayTypeLoc NewTL = TLB.push<ArrayTypeLoc>(Result); in TransformConstantArrayType()
4333 TypeLocBuilder &TLB, in TransformIncompleteArrayType() argument
4336 QualType ElementType = getDerived().TransformType(TLB, TL.getElementLoc()); in TransformIncompleteArrayType()
4351 IncompleteArrayTypeLoc NewTL = TLB.push<IncompleteArrayTypeLoc>(Result); in TransformIncompleteArrayType()
4361 TreeTransform<Derived>::TransformVariableArrayType(TypeLocBuilder &TLB, in TransformVariableArrayType() argument
4364 QualType ElementType = getDerived().TransformType(TLB, TL.getElementLoc()); in TransformVariableArrayType()
4390 ArrayTypeLoc NewTL = TLB.push<ArrayTypeLoc>(Result); in TransformVariableArrayType()
4400 TreeTransform<Derived>::TransformDependentSizedArrayType(TypeLocBuilder &TLB, in TransformDependentSizedArrayType() argument
4403 QualType ElementType = getDerived().TransformType(TLB, TL.getElementLoc()); in TransformDependentSizedArrayType()
4438 ArrayTypeLoc NewTL = TLB.push<ArrayTypeLoc>(Result); in TransformDependentSizedArrayType()
4448 TypeLocBuilder &TLB, in TransformDependentSizedExtVectorType() argument
4480 = TLB.push<DependentSizedExtVectorTypeLoc>(Result); in TransformDependentSizedExtVectorType()
4483 ExtVectorTypeLoc NewTL = TLB.push<ExtVectorTypeLoc>(Result); in TransformDependentSizedExtVectorType()
4491 QualType TreeTransform<Derived>::TransformVectorType(TypeLocBuilder &TLB, in TransformVectorType() argument
4507 VectorTypeLoc NewTL = TLB.push<VectorTypeLoc>(Result); in TransformVectorType()
4514 QualType TreeTransform<Derived>::TransformExtVectorType(TypeLocBuilder &TLB, in TransformExtVectorType() argument
4531 ExtVectorTypeLoc NewTL = TLB.push<ExtVectorTypeLoc>(Result); in TransformExtVectorType()
4550 TypeLocBuilder TLB; in TransformFunctionTypeParam() local
4552 TLB.reserve(NewTL.getFullDataSize()); in TransformFunctionTypeParam()
4554 QualType Result = getDerived().TransformType(TLB, in TransformFunctionTypeParam()
4567 = TLB.push<PackExpansionTypeLoc>(Result); in TransformFunctionTypeParam()
4569 NewDI = TLB.getTypeSourceInfo(SemaRef.Context, Result); in TransformFunctionTypeParam()
4790 TreeTransform<Derived>::TransformFunctionProtoType(TypeLocBuilder &TLB, in TransformFunctionProtoType() argument
4795 TLB, TL, nullptr, 0, in TransformFunctionProtoType()
4804 TypeLocBuilder &TLB, FunctionProtoTypeLoc TL, CXXRecordDecl *ThisContext, in TransformFunctionProtoType() argument
4834 ResultType = getDerived().TransformType(TLB, TL.getReturnLoc()); in TransformFunctionProtoType()
4840 ResultType = getDerived().TransformType(TLB, TL.getReturnLoc()); in TransformFunctionProtoType()
4867 FunctionProtoTypeLoc NewTL = TLB.push<FunctionProtoTypeLoc>(Result); in TransformFunctionProtoType()
4981 TypeLocBuilder &TLB, in TransformFunctionNoProtoType() argument
4984 QualType ResultType = getDerived().TransformType(TLB, TL.getReturnLoc()); in TransformFunctionNoProtoType()
4992 FunctionNoProtoTypeLoc NewTL = TLB.push<FunctionNoProtoTypeLoc>(Result); in TransformFunctionNoProtoType()
5002 TreeTransform<Derived>::TransformUnresolvedUsingType(TypeLocBuilder &TLB, in TransformUnresolvedUsingType() argument
5018 TypeSpecTypeLoc NewTL = TLB.pushTypeSpec(Result); in TransformUnresolvedUsingType()
5025 QualType TreeTransform<Derived>::TransformTypedefType(TypeLocBuilder &TLB, in TransformTypedefType() argument
5042 TypedefTypeLoc NewTL = TLB.push<TypedefTypeLoc>(Result); in TransformTypedefType()
5049 QualType TreeTransform<Derived>::TransformTypeOfExprType(TypeLocBuilder &TLB, in TransformTypeOfExprType() argument
5072 TypeOfExprTypeLoc NewTL = TLB.push<TypeOfExprTypeLoc>(Result); in TransformTypeOfExprType()
5081 QualType TreeTransform<Derived>::TransformTypeOfType(TypeLocBuilder &TLB, in TransformTypeOfType() argument
5095 TypeOfTypeLoc NewTL = TLB.push<TypeOfTypeLoc>(Result); in TransformTypeOfType()
5105 QualType TreeTransform<Derived>::TransformDecltypeType(TypeLocBuilder &TLB, in TransformDecltypeType() argument
5130 DecltypeTypeLoc NewTL = TLB.push<DecltypeTypeLoc>(Result); in TransformDecltypeType()
5138 TypeLocBuilder &TLB, in TransformUnaryTransformType() argument
5152 UnaryTransformTypeLoc NewTL = TLB.push<UnaryTransformTypeLoc>(Result); in TransformUnaryTransformType()
5160 QualType TreeTransform<Derived>::TransformAutoType(TypeLocBuilder &TLB, in TransformAutoType() argument
5179 AutoTypeLoc NewTL = TLB.push<AutoTypeLoc>(Result); in TransformAutoType()
5186 QualType TreeTransform<Derived>::TransformRecordType(TypeLocBuilder &TLB, in TransformRecordType() argument
5203 RecordTypeLoc NewTL = TLB.push<RecordTypeLoc>(Result); in TransformRecordType()
5210 QualType TreeTransform<Derived>::TransformEnumType(TypeLocBuilder &TLB, in TransformEnumType() argument
5227 EnumTypeLoc NewTL = TLB.push<EnumTypeLoc>(Result); in TransformEnumType()
5235 TypeLocBuilder &TLB, in TransformInjectedClassNameType() argument
5242 TLB.pushTypeSpec(T).setNameLoc(TL.getNameLoc()); in TransformInjectedClassNameType()
5248 TypeLocBuilder &TLB, in TransformTemplateTypeParmType() argument
5250 return TransformTypeSpecType(TLB, TL); in TransformTemplateTypeParmType()
5255 TypeLocBuilder &TLB, in TransformSubstTemplateTypeParmType() argument
5275 = TLB.push<SubstTemplateTypeParmTypeLoc>(Result); in TransformSubstTemplateTypeParmType()
5283 TypeLocBuilder &TLB, in TransformSubstTemplateTypeParmPackType() argument
5285 return TransformTypeSpecType(TLB, TL); in TransformSubstTemplateTypeParmPackType()
5290 TypeLocBuilder &TLB, in TransformTemplateSpecializationType() argument
5303 return getDerived().TransformTemplateSpecializationType(TLB, TL, Template); in TransformTemplateSpecializationType()
5307 QualType TreeTransform<Derived>::TransformAtomicType(TypeLocBuilder &TLB, in TransformAtomicType() argument
5309 QualType ValueType = getDerived().TransformType(TLB, TL.getValueLoc()); in TransformAtomicType()
5321 AtomicTypeLoc NewTL = TLB.push<AtomicTypeLoc>(Result); in TransformAtomicType()
5396 TypeLocBuilder &TLB, in TransformTemplateSpecializationType() argument
5423 = TLB.push<DependentTemplateSpecializationTypeLoc>(Result); in TransformTemplateSpecializationType()
5436 = TLB.push<TemplateSpecializationTypeLoc>(Result); in TransformTemplateSpecializationType()
5450 TypeLocBuilder &TLB, in TransformDependentTemplateSpecializationType() argument
5475 = TLB.push<DependentTemplateSpecializationTypeLoc>(Result); in TransformDependentTemplateSpecializationType()
5495 = TLB.push<TemplateSpecializationTypeLoc>(Result); in TransformDependentTemplateSpecializationType()
5509 TreeTransform<Derived>::TransformElaboratedType(TypeLocBuilder &TLB, in TransformElaboratedType() argument
5522 QualType NamedT = getDerived().TransformType(TLB, TL.getNamedTypeLoc()); in TransformElaboratedType()
5554 ElaboratedTypeLoc NewTL = TLB.push<ElaboratedTypeLoc>(Result); in TransformElaboratedType()
5562 TypeLocBuilder &TLB, in TransformAttributedType() argument
5565 QualType modifiedType = getDerived().TransformType(TLB, TL.getModifiedLoc()); in TransformAttributedType()
5596 AttributedTypeLoc newTL = TLB.push<AttributedTypeLoc>(result); in TransformAttributedType()
5610 TreeTransform<Derived>::TransformParenType(TypeLocBuilder &TLB, in TransformParenType() argument
5612 QualType Inner = getDerived().TransformType(TLB, TL.getInnerLoc()); in TransformParenType()
5624 ParenTypeLoc NewTL = TLB.push<ParenTypeLoc>(Result); in TransformParenType()
5631 QualType TreeTransform<Derived>::TransformDependentNameType(TypeLocBuilder &TLB, in TransformDependentNameType() argument
5651 TLB.pushTypeSpec(NamedT).setNameLoc(TL.getNameLoc()); in TransformDependentNameType()
5653 ElaboratedTypeLoc NewTL = TLB.push<ElaboratedTypeLoc>(Result); in TransformDependentNameType()
5657 DependentNameTypeLoc NewTL = TLB.push<DependentNameTypeLoc>(Result); in TransformDependentNameType()
5667 TransformDependentTemplateSpecializationType(TypeLocBuilder &TLB, in TransformDependentTemplateSpecializationType() argument
5678 .TransformDependentTemplateSpecializationType(TLB, TL, QualifierLoc); in TransformDependentTemplateSpecializationType()
5683 TransformDependentTemplateSpecializationType(TypeLocBuilder &TLB, in TransformDependentTemplateSpecializationType() argument
5713 = TLB.push<TemplateSpecializationTypeLoc>(NamedT); in TransformDependentTemplateSpecializationType()
5722 ElaboratedTypeLoc NewTL = TLB.push<ElaboratedTypeLoc>(Result); in TransformDependentTemplateSpecializationType()
5727 = TLB.push<DependentTemplateSpecializationTypeLoc>(Result); in TransformDependentTemplateSpecializationType()
5738 = TLB.push<TemplateSpecializationTypeLoc>(Result); in TransformDependentTemplateSpecializationType()
5750 QualType TreeTransform<Derived>::TransformPackExpansionType(TypeLocBuilder &TLB, in TransformPackExpansionType() argument
5753 = getDerived().TransformType(TLB, TL.getPatternLoc()); in TransformPackExpansionType()
5768 PackExpansionTypeLoc NewT = TLB.push<PackExpansionTypeLoc>(Result); in TransformPackExpansionType()
5775 TreeTransform<Derived>::TransformObjCInterfaceType(TypeLocBuilder &TLB, in TransformObjCInterfaceType() argument
5778 TLB.pushFullCopy(TL); in TransformObjCInterfaceType()
5784 TreeTransform<Derived>::TransformObjCObjectType(TypeLocBuilder &TLB, in TransformObjCObjectType() argument
5787 QualType BaseType = getDerived().TransformType(TLB, TL.getBaseLoc()); in TransformObjCObjectType()
5836 auto NewExpansionLoc = TLB.push<PackExpansionTypeLoc>(NewExpansionType); in TransformObjCObjectType()
5899 ObjCObjectTypeLoc NewT = TLB.push<ObjCObjectTypeLoc>(Result); in TransformObjCObjectType()
5915 TreeTransform<Derived>::TransformObjCObjectPointerType(TypeLocBuilder &TLB, in TransformObjCObjectPointerType() argument
5917 QualType PointeeType = getDerived().TransformType(TLB, TL.getPointeeLoc()); in TransformObjCObjectPointerType()
5930 ObjCObjectPointerTypeLoc NewT = TLB.push<ObjCObjectPointerTypeLoc>(Result); in TransformObjCObjectPointerType()
9456 TypeLocBuilder TLB; in TransformTypeTraitExpr() local
9457 TLB.reserve(FromTL.getFullDataSize()); in TransformTypeTraitExpr()
9458 QualType To = getDerived().TransformType(TLB, FromTL); in TransformTypeTraitExpr()
9465 Args.push_back(TLB.getTypeSourceInfo(SemaRef.Context, To)); in TransformTypeTraitExpr()
9499 TypeLocBuilder TLB; in TransformTypeTraitExpr() local
9500 TLB.reserve(From->getTypeLoc().getFullDataSize()); in TransformTypeTraitExpr()
9502 QualType To = getDerived().TransformType(TLB, PatternTL); in TransformTypeTraitExpr()
9514 = TLB.push<PackExpansionTypeLoc>(To); in TransformTypeTraitExpr()
9516 Args.push_back(TLB.getTypeSourceInfo(SemaRef.Context, To)); in TransformTypeTraitExpr()
9524 TypeLocBuilder TLB; in TransformTypeTraitExpr() local
9525 TLB.reserve(PatternTL.getFullDataSize()); in TransformTypeTraitExpr()
9526 QualType To = getDerived().TransformType(TLB, PatternTL); in TransformTypeTraitExpr()
9539 = TLB.push<PackExpansionTypeLoc>(To); in TransformTypeTraitExpr()
9543 Args.push_back(TLB.getTypeSourceInfo(SemaRef.Context, To)); in TransformTypeTraitExpr()
9553 TypeLocBuilder TLB; in TransformTypeTraitExpr() local
9554 TLB.reserve(From->getTypeLoc().getFullDataSize()); in TransformTypeTraitExpr()
9556 QualType To = getDerived().TransformType(TLB, PatternTL); in TransformTypeTraitExpr()
9568 = TLB.push<PackExpansionTypeLoc>(To); in TransformTypeTraitExpr()
9570 Args.push_back(TLB.getTypeSourceInfo(SemaRef.Context, To)); in TransformTypeTraitExpr()