Home | History | Annotate | Download | only in Sema

Lines Matching defs:TLB

304   QualType TransformType(TypeLocBuilder &TLB, TypeLoc TL);
539 QualType Transform##CLASS##Type(TypeLocBuilder &TLB, CLASS##TypeLoc T);
542 QualType TransformFunctionProtoType(TypeLocBuilder &TLB,
551 TransformTemplateSpecializationType(TypeLocBuilder &TLB,
556 TransformDependentTemplateSpecializationType(TypeLocBuilder &TLB,
562 TransformDependentTemplateSpecializationType(TypeLocBuilder &TLB,
589 QualType TransformReferenceType(TypeLocBuilder &TLB, ReferenceTypeLoc TL);
3420 TypeLocBuilder TLB;
3423 TLB.reserve(TL.getFullDataSize());
3425 QualType Result = getDerived().TransformType(TLB, TL);
3429 return TLB.getTypeSourceInfo(SemaRef.Context, Result);
3434 TreeTransform<Derived>::TransformType(TypeLocBuilder &TLB, TypeLoc T) {
3439 return getDerived().Transform##CLASS##Type(TLB, \
3454 TreeTransform<Derived>::TransformQualifiedType(TypeLocBuilder &TLB,
3458 QualType Result = getDerived().TransformType(TLB, T.getUnqualifiedLoc());
3489 TLB.TypeWasModifiedSafely(Result);
3498 TLB.TypeWasModifiedSafely(Result);
3514 TLB.push<QualifiedTypeLoc>(Result);
3531 TypeLocBuilder TLB;
3546 Result = getDerived().TransformTemplateSpecializationType(TLB, SpecTL,
3560 Result = getDerived().TransformDependentTemplateSpecializationType(TLB,
3566 Result = getDerived().TransformType(TLB, TL);
3572 return TLB.getTypeSourceInfo(SemaRef.Context, Result)->getTypeLoc();
3587 TypeLocBuilder TLB;
3603 Result = getDerived().TransformTemplateSpecializationType(TLB, SpecTL,
3617 Result = getDerived().TransformDependentTemplateSpecializationType(TLB,
3623 Result = getDerived().TransformType(TLB, TL);
3629 return TLB.getTypeSourceInfo(SemaRef.Context, Result);
3633 QualType TransformTypeSpecType(TypeLocBuilder &TLB, TyLoc T) {
3634 TyLoc NewT = TLB.push<TyLoc>(T.getType());
3640 QualType TreeTransform<Derived>::TransformBuiltinType(TypeLocBuilder &TLB,
3642 BuiltinTypeLoc NewT = TLB.push<BuiltinTypeLoc>(T.getType());
3650 QualType TreeTransform<Derived>::TransformComplexType(TypeLocBuilder &TLB,
3653 return TransformTypeSpecType(TLB, T);
3657 QualType TreeTransform<Derived>::TransformDecayedType(TypeLocBuilder &TLB,
3659 QualType OriginalType = getDerived().TransformType(TLB, TL.getOriginalLoc());
3667 TLB.push<DecayedTypeLoc>(Result);
3673 QualType TreeTransform<Derived>::TransformPointerType(TypeLocBuilder &TLB,
3676 = getDerived().TransformType(TLB, TL.getPointeeLoc());
3688 ObjCObjectPointerTypeLoc NewT = TLB.push<ObjCObjectPointerTypeLoc>(Result);
3702 TLB.TypeWasModifiedSafely(Result->getPointeeType());
3704 PointerTypeLoc NewT = TLB.push<PointerTypeLoc>(Result);
3711 TreeTransform<Derived>::TransformBlockPointerType(TypeLocBuilder &TLB,
3714 = getDerived().TransformType(TLB, TL.getPointeeLoc());
3727 BlockPointerTypeLoc NewT = TLB.push<BlockPointerTypeLoc>(Result);
3738 TreeTransform<Derived>::TransformReferenceType(TypeLocBuilder &TLB,
3743 QualType PointeeType = getDerived().TransformType(TLB, TL.getPointeeLoc());
3759 TLB.TypeWasModifiedSafely(
3765 NewTL = TLB.push<LValueReferenceTypeLoc>(Result);
3767 NewTL = TLB.push<RValueReferenceTypeLoc>(Result);
3775 TreeTransform<Derived>::TransformLValueReferenceType(TypeLocBuilder &TLB,
3777 return TransformReferenceType(TLB, TL);
3782 TreeTransform<Derived>::TransformRValueReferenceType(TypeLocBuilder &TLB,
3784 return TransformReferenceType(TLB, TL);
3789 TreeTransform<Derived>::TransformMemberPointerType(TypeLocBuilder &TLB,
3791 QualType PointeeType = getDerived().TransformType(TLB, TL.getPointeeLoc());
3824 MemberPointerTypeLoc NewTL = TLB.push<MemberPointerTypeLoc>(Result);
3833 TreeTransform<Derived>::TransformConstantArrayType(TypeLocBuilder &TLB,
3836 QualType ElementType = getDerived().TransformType(TLB, TL.getElementLoc());
3856 ArrayTypeLoc NewTL = TLB.push<ArrayTypeLoc>(Result);
3874 TypeLocBuilder &TLB,
3877 QualType ElementType = getDerived().TransformType(TLB, TL.getElementLoc());
3892 IncompleteArrayTypeLoc NewTL = TLB.push<IncompleteArrayTypeLoc>(Result);
3902 TreeTransform<Derived>::TransformVariableArrayType(TypeLocBuilder &TLB,
3905 QualType ElementType = getDerived().TransformType(TLB, TL.getElementLoc());
3929 VariableArrayTypeLoc NewTL = TLB.push<VariableArrayTypeLoc>(Result);
3939 TreeTransform<Derived>::TransformDependentSizedArrayType(TypeLocBuilder &TLB,
3942 QualType ElementType = getDerived().TransformType(TLB, TL.getElementLoc());
3977 ArrayTypeLoc NewTL = TLB.push<ArrayTypeLoc>(Result);
3987 TypeLocBuilder &TLB,
4019 = TLB.push<DependentSizedExtVectorTypeLoc>(Result);
4022 ExtVectorTypeLoc NewTL = TLB.push<ExtVectorTypeLoc>(Result);
4030 QualType TreeTransform<Derived>::TransformVectorType(TypeLocBuilder &TLB,
4046 VectorTypeLoc NewTL = TLB.push<VectorTypeLoc>(Result);
4053 QualType TreeTransform<Derived>::TransformExtVectorType(TypeLocBuilder &TLB,
4070 ExtVectorTypeLoc NewTL = TLB.push<ExtVectorTypeLoc>(Result);
4089 TypeLocBuilder TLB;
4091 TLB.reserve(NewTL.getFullDataSize());
4093 QualType Result = getDerived().TransformType(TLB,
4106 = TLB.push<PackExpansionTypeLoc>(Result);
4108 NewDI = TLB.getTypeSourceInfo(SemaRef.Context, Result);
4329 TreeTransform<Derived>::TransformFunctionProtoType(TypeLocBuilder &TLB,
4331 return getDerived().TransformFunctionProtoType(TLB, TL, 0, 0);
4336 TreeTransform<Derived>::TransformFunctionProtoType(TypeLocBuilder &TLB,
4370 ResultType = getDerived().TransformType(TLB, TL.getResultLoc());
4376 ResultType = getDerived().TransformType(TLB, TL.getResultLoc());
4401 FunctionProtoTypeLoc NewTL = TLB.push<FunctionProtoTypeLoc>(Result);
4414 TypeLocBuilder &TLB,
4417 QualType ResultType = getDerived().TransformType(TLB, TL.getResultLoc());
4426 FunctionNoProtoTypeLoc NewTL = TLB.push<FunctionNoProtoTypeLoc>(Result);
4436 TreeTransform<Derived>::TransformUnresolvedUsingType(TypeLocBuilder &TLB,
4452 TypeSpecTypeLoc NewTL = TLB.pushTypeSpec(Result);
4459 QualType TreeTransform<Derived>::TransformTypedefType(TypeLocBuilder &TLB,
4476 TypedefTypeLoc NewTL = TLB.push<TypedefTypeLoc>(Result);
4483 QualType TreeTransform<Derived>::TransformTypeOfExprType(TypeLocBuilder &TLB,
4506 TypeOfExprTypeLoc NewTL = TLB.push<TypeOfExprTypeLoc>(Result);
4515 QualType TreeTransform<Derived>::TransformTypeOfType(TypeLocBuilder &TLB,
4529 TypeOfTypeLoc NewTL = TLB.push<TypeOfTypeLoc>(Result);
4539 QualType TreeTransform<Derived>::TransformDecltypeType(TypeLocBuilder &TLB,
4564 DecltypeTypeLoc NewTL = TLB.push<DecltypeTypeLoc>(Result);
4572 TypeLocBuilder &TLB,
4586 UnaryTransformTypeLoc NewTL = TLB.push<UnaryTransformTypeLoc>(Result);
4594 QualType TreeTransform<Derived>::TransformAutoType(TypeLocBuilder &TLB,
4613 AutoTypeLoc NewTL = TLB.push<AutoTypeLoc>(Result);
4620 QualType TreeTransform<Derived>::TransformRecordType(TypeLocBuilder &TLB,
4637 RecordTypeLoc NewTL = TLB.push<RecordTypeLoc>(Result);
4644 QualType TreeTransform<Derived>::TransformEnumType(TypeLocBuilder &TLB,
4661 EnumTypeLoc NewTL = TLB.push<EnumTypeLoc>(Result);
4669 TypeLocBuilder &TLB,
4676 TLB.pushTypeSpec(T).setNameLoc(TL.getNameLoc());
4682 TypeLocBuilder &TLB,
4684 return TransformTypeSpecType(TLB, TL);
4689 TypeLocBuilder &TLB,
4709 = TLB.push<SubstTemplateTypeParmTypeLoc>(Result);
4717 TypeLocBuilder &TLB,
4719 return TransformTypeSpecType(TLB, TL);
4724 TypeLocBuilder &TLB,
4737 return getDerived().TransformTemplateSpecializationType(TLB, TL, Template);
4741 QualType TreeTransform<Derived>::TransformAtomicType(TypeLocBuilder &TLB,
4743 QualType ValueType = getDerived().TransformType(TLB, TL.getValueLoc());
4755 AtomicTypeLoc NewTL = TLB.push<AtomicTypeLoc>(Result);
4830 TypeLocBuilder &TLB,
4857 = TLB.push<DependentTemplateSpecializationTypeLoc>(Result);
4870 = TLB.push<TemplateSpecializationTypeLoc>(Result);
4884 TypeLocBuilder &TLB,
4909 = TLB.push<DependentTemplateSpecializationTypeLoc>(Result);
4929 = TLB.push<TemplateSpecializationTypeLoc>(Result);
4943 TreeTransform<Derived>::TransformElaboratedType(TypeLocBuilder &TLB,
4956 QualType NamedT = getDerived().TransformType(TLB, TL.getNamedTypeLoc());
4988 ElaboratedTypeLoc NewTL = TLB.push<ElaboratedTypeLoc>(Result);
4996 TypeLocBuilder &TLB,
4999 QualType modifiedType = getDerived().TransformType(TLB, TL.getModifiedLoc());
5019 AttributedTypeLoc newTL = TLB.push<AttributedTypeLoc>(result);
5033 TreeTransform<Derived>::TransformParenType(TypeLocBuilder &TLB,
5035 QualType Inner = getDerived().TransformType(TLB, TL.getInnerLoc());
5047 ParenTypeLoc NewTL = TLB.push<ParenTypeLoc>(Result);
5054 QualType TreeTransform<Derived>::TransformDependentNameType(TypeLocBuilder &TLB,
5074 TLB.pushTypeSpec(NamedT).setNameLoc(TL.getNameLoc());
5076 ElaboratedTypeLoc NewTL = TLB.push<ElaboratedTypeLoc>(Result);
5080 DependentNameTypeLoc NewTL = TLB.push<DependentNameTypeLoc>(Result);
5090 TransformDependentTemplateSpecializationType(TypeLocBuilder &TLB,
5101 .TransformDependentTemplateSpecializationType(TLB, TL, QualifierLoc);
5106 TransformDependentTemplateSpecializationType(TypeLocBuilder &TLB,
5136 = TLB.push<TemplateSpecializationTypeLoc>(NamedT);
5145 ElaboratedTypeLoc NewTL = TLB.push<ElaboratedTypeLoc>(Result);
5150 = TLB.push<DependentTemplateSpecializationTypeLoc>(Result);
5161 = TLB.push<TemplateSpecializationTypeLoc>(Result);
5173 QualType TreeTransform<Derived>::TransformPackExpansionType(TypeLocBuilder &TLB,
5176 = getDerived().TransformType(TLB, TL.getPatternLoc());
5191 PackExpansionTypeLoc NewT = TLB.push<PackExpansionTypeLoc>(Result);
5198 TreeTransform<Derived>::TransformObjCInterfaceType(TypeLocBuilder &TLB,
5201 TLB.pushFullCopy(TL);
5207 TreeTransform<Derived>::TransformObjCObjectType(TypeLocBuilder &TLB,
5210 TLB.pushFullCopy(TL);
5216 TreeTransform<Derived>::TransformObjCObjectPointerType(TypeLocBuilder &TLB,
5219 TLB.pushFullCopy(TL);
7855 TypeLocBuilder TLB;
7856 TLB.reserve(FromTL.getFullDataSize());
7857 QualType To = getDerived().TransformType(TLB, FromTL);
7864 Args.push_back(TLB.getTypeSourceInfo(SemaRef.Context, To));
7898 TypeLocBuilder TLB;
7899 TLB.reserve(From->getTypeLoc().getFullDataSize());
7901 QualType To = getDerived().TransformType(TLB, PatternTL);
7913 = TLB.push<PackExpansionTypeLoc>(To);
7915 Args.push_back(TLB.getTypeSourceInfo(SemaRef.Context, To));
7923 TypeLocBuilder TLB;
7924 TLB.reserve(PatternTL.getFullDataSize());
7925 QualType To = getDerived().TransformType(TLB, PatternTL);
7938 = TLB.push<PackExpansionTypeLoc>(To);
7942 Args.push_back(TLB.getTypeSourceInfo(SemaRef.Context, To));
7952 TypeLocBuilder TLB;
7953 TLB.reserve(From->getTypeLoc().getFullDataSize());
7955 QualType To = getDerived().TransformType(TLB, PatternTL);
7967 = TLB.push<PackExpansionTypeLoc>(To);
7969 Args.push_back(TLB.getTypeSourceInfo(SemaRef.Context, To));