• Home
  • Raw
  • Download

Lines Matching refs:TL

308   QualType TransformType(TypeLocBuilder &TLB, TypeLoc TL);
581 FunctionProtoTypeLoc TL,
595 TemplateSpecializationTypeLoc TL,
600 DependentTemplateSpecializationTypeLoc TL,
605 TypeLocBuilder &TLB, DependentTemplateSpecializationTypeLoc TL,
632 QualType TransformReferenceType(TypeLocBuilder &TLB, ReferenceTypeLoc TL);
3126 TypeLoc TransformTypeInObjectScope(TypeLoc TL,
3136 TypeSourceInfo *TransformTSIInObjectScope(TypeLoc TL, QualType ObjectType,
3488 TypeLoc TL = TransformTypeInObjectScope(Q.getTypeLoc(), ObjectType, in TransformNestedNameSpecifierLoc() local
3491 if (!TL) in TransformNestedNameSpecifierLoc()
3494 if (TL.getType()->isDependentType() || TL.getType()->isRecordType() || in TransformNestedNameSpecifierLoc()
3496 TL.getType()->isEnumeralType())) { in TransformNestedNameSpecifierLoc()
3497 assert(!TL.getType().hasLocalQualifiers() && in TransformNestedNameSpecifierLoc()
3499 if (TL.getType()->isEnumeralType()) in TransformNestedNameSpecifierLoc()
3500 SemaRef.Diag(TL.getBeginLoc(), in TransformNestedNameSpecifierLoc()
3502 SS.Extend(SemaRef.Context, /*FIXME:*/SourceLocation(), TL, in TransformNestedNameSpecifierLoc()
3508 TypedefTypeLoc TTL = TL.getAs<TypedefTypeLoc>(); in TransformNestedNameSpecifierLoc()
3510 SemaRef.Diag(TL.getBeginLoc(), diag::err_nested_name_spec_non_tag) in TransformNestedNameSpecifierLoc()
3511 << TL.getType() << SS.getRange(); in TransformNestedNameSpecifierLoc()
4002 TypeLoc TL = DI->getTypeLoc(); in TransformType() local
4003 TLB.reserve(TL.getFullDataSize()); in TransformType()
4005 QualType Result = getDerived().TransformType(TLB, TL); in TransformType()
4104 TreeTransform<Derived>::TransformTypeInObjectScope(TypeLoc TL, in TransformTypeInObjectScope() argument
4108 if (getDerived().AlreadyTransformed(TL.getType())) in TransformTypeInObjectScope()
4109 return TL; in TransformTypeInObjectScope()
4112 TransformTSIInObjectScope(TL, ObjectType, UnqualLookup, SS); in TransformTypeInObjectScope()
4133 TypeLoc TL, QualType ObjectType, NamedDecl *UnqualLookup, in TransformTSIInObjectScope() argument
4135 QualType T = TL.getType(); in TransformTSIInObjectScope()
4143 TL.castAs<TemplateSpecializationTypeLoc>(); in TransformTSIInObjectScope()
4157 TL.castAs<DependentTemplateSpecializationTypeLoc>(); in TransformTSIInObjectScope()
4173 Result = getDerived().TransformType(TLB, TL); in TransformTSIInObjectScope()
4208 AdjustedTypeLoc TL) { in TransformAdjustedType() argument
4210 return getDerived().TransformType(TLB, TL.getOriginalLoc()); in TransformAdjustedType()
4215 DecayedTypeLoc TL) { in TransformDecayedType() argument
4216 QualType OriginalType = getDerived().TransformType(TLB, TL.getOriginalLoc()); in TransformDecayedType()
4220 QualType Result = TL.getType(); in TransformDecayedType()
4222 OriginalType != TL.getOriginalLoc().getType()) in TransformDecayedType()
4231 PointerTypeLoc TL) { in TransformPointerType() argument
4233 = getDerived().TransformType(TLB, TL.getPointeeLoc()); in TransformPointerType()
4237 QualType Result = TL.getType(); in TransformPointerType()
4246 NewT.setStarLoc(TL.getStarLoc()); in TransformPointerType()
4251 PointeeType != TL.getPointeeLoc().getType()) { in TransformPointerType()
4252 Result = getDerived().RebuildPointerType(PointeeType, TL.getSigilLoc()); in TransformPointerType()
4262 NewT.setSigilLoc(TL.getSigilLoc()); in TransformPointerType()
4269 BlockPointerTypeLoc TL) { in TransformBlockPointerType() argument
4271 = getDerived().TransformType(TLB, TL.getPointeeLoc()); in TransformBlockPointerType()
4275 QualType Result = TL.getType(); in TransformBlockPointerType()
4277 PointeeType != TL.getPointeeLoc().getType()) { in TransformBlockPointerType()
4279 TL.getSigilLoc()); in TransformBlockPointerType()
4285 NewT.setSigilLoc(TL.getSigilLoc()); in TransformBlockPointerType()
4296 ReferenceTypeLoc TL) { in TransformReferenceType() argument
4297 const ReferenceType *T = TL.getTypePtr(); in TransformReferenceType()
4300 QualType PointeeType = getDerived().TransformType(TLB, TL.getPointeeLoc()); in TransformReferenceType()
4304 QualType Result = TL.getType(); in TransformReferenceType()
4309 TL.getSigilLoc()); in TransformReferenceType()
4325 NewTL.setSigilLoc(TL.getSigilLoc()); in TransformReferenceType()
4333 LValueReferenceTypeLoc TL) { in TransformLValueReferenceType() argument
4334 return TransformReferenceType(TLB, TL); in TransformLValueReferenceType()
4340 RValueReferenceTypeLoc TL) { in TransformRValueReferenceType() argument
4341 return TransformReferenceType(TLB, TL); in TransformRValueReferenceType()
4347 MemberPointerTypeLoc TL) { in TransformMemberPointerType() argument
4348 QualType PointeeType = getDerived().TransformType(TLB, TL.getPointeeLoc()); in TransformMemberPointerType()
4352 TypeSourceInfo* OldClsTInfo = TL.getClassTInfo(); in TransformMemberPointerType()
4360 const MemberPointerType *T = TL.getTypePtr(); in TransformMemberPointerType()
4371 QualType Result = TL.getType(); in TransformMemberPointerType()
4376 TL.getStarLoc()); in TransformMemberPointerType()
4390 NewTL.setSigilLoc(TL.getSigilLoc()); in TransformMemberPointerType()
4399 ConstantArrayTypeLoc TL) { in TransformConstantArrayType() argument
4400 const ConstantArrayType *T = TL.getTypePtr(); in TransformConstantArrayType()
4401 QualType ElementType = getDerived().TransformType(TLB, TL.getElementLoc()); in TransformConstantArrayType()
4405 QualType Result = TL.getType(); in TransformConstantArrayType()
4412 TL.getBracketsRange()); in TransformConstantArrayType()
4422 NewTL.setLBracketLoc(TL.getLBracketLoc()); in TransformConstantArrayType()
4423 NewTL.setRBracketLoc(TL.getRBracketLoc()); in TransformConstantArrayType()
4425 Expr *Size = TL.getSizeExpr(); in TransformConstantArrayType()
4440 IncompleteArrayTypeLoc TL) { in TransformIncompleteArrayType() argument
4441 const IncompleteArrayType *T = TL.getTypePtr(); in TransformIncompleteArrayType()
4442 QualType ElementType = getDerived().TransformType(TLB, TL.getElementLoc()); in TransformIncompleteArrayType()
4446 QualType Result = TL.getType(); in TransformIncompleteArrayType()
4452 TL.getBracketsRange()); in TransformIncompleteArrayType()
4458 NewTL.setLBracketLoc(TL.getLBracketLoc()); in TransformIncompleteArrayType()
4459 NewTL.setRBracketLoc(TL.getRBracketLoc()); in TransformIncompleteArrayType()
4468 VariableArrayTypeLoc TL) { in TransformVariableArrayType() argument
4469 const VariableArrayType *T = TL.getTypePtr(); in TransformVariableArrayType()
4470 QualType ElementType = getDerived().TransformType(TLB, TL.getElementLoc()); in TransformVariableArrayType()
4481 QualType Result = TL.getType(); in TransformVariableArrayType()
4489 TL.getBracketsRange()); in TransformVariableArrayType()
4497 NewTL.setLBracketLoc(TL.getLBracketLoc()); in TransformVariableArrayType()
4498 NewTL.setRBracketLoc(TL.getRBracketLoc()); in TransformVariableArrayType()
4507 DependentSizedArrayTypeLoc TL) { in TransformDependentSizedArrayType() argument
4508 const DependentSizedArrayType *T = TL.getTypePtr(); in TransformDependentSizedArrayType()
4509 QualType ElementType = getDerived().TransformType(TLB, TL.getElementLoc()); in TransformDependentSizedArrayType()
4518 Expr *origSize = TL.getSizeExpr(); in TransformDependentSizedArrayType()
4529 QualType Result = TL.getType(); in TransformDependentSizedArrayType()
4537 TL.getBracketsRange()); in TransformDependentSizedArrayType()
4545 NewTL.setLBracketLoc(TL.getLBracketLoc()); in TransformDependentSizedArrayType()
4546 NewTL.setRBracketLoc(TL.getRBracketLoc()); in TransformDependentSizedArrayType()
4555 DependentSizedExtVectorTypeLoc TL) { in TransformDependentSizedExtVectorType() argument
4556 const DependentSizedExtVectorType *T = TL.getTypePtr(); in TransformDependentSizedExtVectorType()
4572 QualType Result = TL.getType(); in TransformDependentSizedExtVectorType()
4587 NewTL.setNameLoc(TL.getNameLoc()); in TransformDependentSizedExtVectorType()
4590 NewTL.setNameLoc(TL.getNameLoc()); in TransformDependentSizedExtVectorType()
4598 VectorTypeLoc TL) { in TransformVectorType() argument
4599 const VectorType *T = TL.getTypePtr(); in TransformVectorType()
4604 QualType Result = TL.getType(); in TransformVectorType()
4614 NewTL.setNameLoc(TL.getNameLoc()); in TransformVectorType()
4621 ExtVectorTypeLoc TL) { in TransformExtVectorType() argument
4622 const VectorType *T = TL.getTypePtr(); in TransformExtVectorType()
4627 QualType Result = TL.getType(); in TransformExtVectorType()
4638 NewTL.setNameLoc(TL.getNameLoc()); in TransformExtVectorType()
4720 TypeLoc TL = OldParm->getTypeSourceInfo()->getTypeLoc(); in TransformFunctionTypeParams() local
4721 PackExpansionTypeLoc ExpansionTL = TL.castAs<PackExpansionTypeLoc>(); in TransformFunctionTypeParams()
4919 FunctionProtoTypeLoc TL) { in TransformFunctionProtoType() argument
4923 TLB, TL, nullptr, 0, in TransformFunctionProtoType()
4925 return This->TransformExceptionSpec(TL.getBeginLoc(), ESI, in TransformFunctionProtoType()
4932 TypeLocBuilder &TLB, FunctionProtoTypeLoc TL, CXXRecordDecl *ThisContext, in TransformFunctionProtoType() argument
4945 const FunctionProtoType *T = TL.getTypePtr(); in TransformFunctionProtoType()
4951 TL.getBeginLoc(), TL.getParams(), in TransformFunctionProtoType()
4952 TL.getTypePtr()->param_type_begin(), in TransformFunctionProtoType()
4966 ResultType = getDerived().TransformType(TLB, TL.getReturnLoc()); in TransformFunctionProtoType()
4972 ResultType = getDerived().TransformType(TLB, TL.getReturnLoc()); in TransformFunctionProtoType()
4977 TL.getBeginLoc(), TL.getParams(), in TransformFunctionProtoType()
4978 TL.getTypePtr()->param_type_begin(), in TransformFunctionProtoType()
4994 llvm::makeArrayRef(EPI.ExtParameterInfos, TL.getNumParams()) in TransformFunctionProtoType()
5004 QualType Result = TL.getType(); in TransformFunctionProtoType()
5013 NewTL.setLocalRangeBegin(TL.getLocalRangeBegin()); in TransformFunctionProtoType()
5014 NewTL.setLParenLoc(TL.getLParenLoc()); in TransformFunctionProtoType()
5015 NewTL.setRParenLoc(TL.getRParenLoc()); in TransformFunctionProtoType()
5016 NewTL.setLocalRangeEnd(TL.getLocalRangeEnd()); in TransformFunctionProtoType()
5127 FunctionNoProtoTypeLoc TL) { in TransformFunctionNoProtoType() argument
5128 const FunctionNoProtoType *T = TL.getTypePtr(); in TransformFunctionNoProtoType()
5129 QualType ResultType = getDerived().TransformType(TLB, TL.getReturnLoc()); in TransformFunctionNoProtoType()
5133 QualType Result = TL.getType(); in TransformFunctionNoProtoType()
5138 NewTL.setLocalRangeBegin(TL.getLocalRangeBegin()); in TransformFunctionNoProtoType()
5139 NewTL.setLParenLoc(TL.getLParenLoc()); in TransformFunctionNoProtoType()
5140 NewTL.setRParenLoc(TL.getRParenLoc()); in TransformFunctionNoProtoType()
5141 NewTL.setLocalRangeEnd(TL.getLocalRangeEnd()); in TransformFunctionNoProtoType()
5148 UnresolvedUsingTypeLoc TL) { in TransformUnresolvedUsingType() argument
5149 const UnresolvedUsingType *T = TL.getTypePtr(); in TransformUnresolvedUsingType()
5150 Decl *D = getDerived().TransformDecl(TL.getNameLoc(), T->getDecl()); in TransformUnresolvedUsingType()
5154 QualType Result = TL.getType(); in TransformUnresolvedUsingType()
5164 NewTL.setNameLoc(TL.getNameLoc()); in TransformUnresolvedUsingType()
5171 TypedefTypeLoc TL) { in TransformTypedefType() argument
5172 const TypedefType *T = TL.getTypePtr(); in TransformTypedefType()
5174 = cast_or_null<TypedefNameDecl>(getDerived().TransformDecl(TL.getNameLoc(), in TransformTypedefType()
5179 QualType Result = TL.getType(); in TransformTypedefType()
5188 NewTL.setNameLoc(TL.getNameLoc()); in TransformTypedefType()
5195 TypeOfExprTypeLoc TL) { in TransformTypeOfExprType() argument
5200 ExprResult E = getDerived().TransformExpr(TL.getUnderlyingExpr()); in TransformTypeOfExprType()
5208 QualType Result = TL.getType(); in TransformTypeOfExprType()
5210 E.get() != TL.getUnderlyingExpr()) { in TransformTypeOfExprType()
5211 Result = getDerived().RebuildTypeOfExprType(E.get(), TL.getTypeofLoc()); in TransformTypeOfExprType()
5218 NewTL.setTypeofLoc(TL.getTypeofLoc()); in TransformTypeOfExprType()
5219 NewTL.setLParenLoc(TL.getLParenLoc()); in TransformTypeOfExprType()
5220 NewTL.setRParenLoc(TL.getRParenLoc()); in TransformTypeOfExprType()
5227 TypeOfTypeLoc TL) { in TransformTypeOfType() argument
5228 TypeSourceInfo* Old_Under_TI = TL.getUnderlyingTInfo(); in TransformTypeOfType()
5233 QualType Result = TL.getType(); in TransformTypeOfType()
5241 NewTL.setTypeofLoc(TL.getTypeofLoc()); in TransformTypeOfType()
5242 NewTL.setLParenLoc(TL.getLParenLoc()); in TransformTypeOfType()
5243 NewTL.setRParenLoc(TL.getRParenLoc()); in TransformTypeOfType()
5251 DecltypeTypeLoc TL) { in TransformDecltypeType() argument
5252 const DecltypeType *T = TL.getTypePtr(); in TransformDecltypeType()
5266 QualType Result = TL.getType(); in TransformDecltypeType()
5269 Result = getDerived().RebuildDecltypeType(E.get(), TL.getNameLoc()); in TransformDecltypeType()
5276 NewTL.setNameLoc(TL.getNameLoc()); in TransformDecltypeType()
5284 UnaryTransformTypeLoc TL) { in TransformUnaryTransformType() argument
5285 QualType Result = TL.getType(); in TransformUnaryTransformType()
5287 const UnaryTransformType *T = TL.getTypePtr(); in TransformUnaryTransformType()
5289 getDerived().TransformType(TL.getUnderlyingTInfo())->getType(); in TransformUnaryTransformType()
5292 TL.getKWLoc()); in TransformUnaryTransformType()
5298 NewTL.setKWLoc(TL.getKWLoc()); in TransformUnaryTransformType()
5299 NewTL.setParensRange(TL.getParensRange()); in TransformUnaryTransformType()
5300 NewTL.setUnderlyingTInfo(TL.getUnderlyingTInfo()); in TransformUnaryTransformType()
5306 AutoTypeLoc TL) { in TransformAutoType() argument
5307 const AutoType *T = TL.getTypePtr(); in TransformAutoType()
5316 QualType Result = TL.getType(); in TransformAutoType()
5325 NewTL.setNameLoc(TL.getNameLoc()); in TransformAutoType()
5332 RecordTypeLoc TL) { in TransformRecordType() argument
5333 const RecordType *T = TL.getTypePtr(); in TransformRecordType()
5335 = cast_or_null<RecordDecl>(getDerived().TransformDecl(TL.getNameLoc(), in TransformRecordType()
5340 QualType Result = TL.getType(); in TransformRecordType()
5349 NewTL.setNameLoc(TL.getNameLoc()); in TransformRecordType()
5356 EnumTypeLoc TL) { in TransformEnumType() argument
5357 const EnumType *T = TL.getTypePtr(); in TransformEnumType()
5359 = cast_or_null<EnumDecl>(getDerived().TransformDecl(TL.getNameLoc(), in TransformEnumType()
5364 QualType Result = TL.getType(); in TransformEnumType()
5373 NewTL.setNameLoc(TL.getNameLoc()); in TransformEnumType()
5381 InjectedClassNameTypeLoc TL) { in TransformInjectedClassNameType() argument
5382 Decl *D = getDerived().TransformDecl(TL.getNameLoc(), in TransformInjectedClassNameType()
5383 TL.getTypePtr()->getDecl()); in TransformInjectedClassNameType()
5387 TLB.pushTypeSpec(T).setNameLoc(TL.getNameLoc()); in TransformInjectedClassNameType()
5394 TemplateTypeParmTypeLoc TL) { in TransformTemplateTypeParmType() argument
5395 return TransformTypeSpecType(TLB, TL); in TransformTemplateTypeParmType()
5401 SubstTemplateTypeParmTypeLoc TL) { in TransformSubstTemplateTypeParmType() argument
5402 const SubstTemplateTypeParmType *T = TL.getTypePtr(); in TransformSubstTemplateTypeParmType()
5407 TemporaryBase Rebase(*this, TL.getNameLoc(), DeclarationName()); in TransformSubstTemplateTypeParmType()
5421 NewTL.setNameLoc(TL.getNameLoc()); in TransformSubstTemplateTypeParmType()
5429 SubstTemplateTypeParmPackTypeLoc TL) { in TransformSubstTemplateTypeParmPackType() argument
5430 return TransformTypeSpecType(TLB, TL); in TransformSubstTemplateTypeParmPackType()
5436 TemplateSpecializationTypeLoc TL) { in TransformTemplateSpecializationType() argument
5437 const TemplateSpecializationType *T = TL.getTypePtr(); in TransformTemplateSpecializationType()
5444 TL.getTemplateNameLoc()); in TransformTemplateSpecializationType()
5448 return getDerived().TransformTemplateSpecializationType(TLB, TL, Template); in TransformTemplateSpecializationType()
5453 AtomicTypeLoc TL) { in TransformAtomicType() argument
5454 QualType ValueType = getDerived().TransformType(TLB, TL.getValueLoc()); in TransformAtomicType()
5458 QualType Result = TL.getType(); in TransformAtomicType()
5460 ValueType != TL.getValueLoc().getType()) { in TransformAtomicType()
5461 Result = getDerived().RebuildAtomicType(ValueType, TL.getKWLoc()); in TransformAtomicType()
5467 NewTL.setKWLoc(TL.getKWLoc()); in TransformAtomicType()
5468 NewTL.setLParenLoc(TL.getLParenLoc()); in TransformAtomicType()
5469 NewTL.setRParenLoc(TL.getRParenLoc()); in TransformAtomicType()
5476 PipeTypeLoc TL) { in TransformPipeType() argument
5477 QualType ValueType = getDerived().TransformType(TLB, TL.getValueLoc()); in TransformPipeType()
5481 QualType Result = TL.getType(); in TransformPipeType()
5482 if (getDerived().AlwaysRebuild() || ValueType != TL.getValueLoc().getType()) { in TransformPipeType()
5483 Result = getDerived().RebuildPipeType(ValueType, TL.getKWLoc()); in TransformPipeType()
5489 NewTL.setKWLoc(TL.getKWLoc()); in TransformPipeType()
5562 TemplateSpecializationTypeLoc TL, in TransformTemplateSpecializationType() argument
5565 NewTemplateArgs.setLAngleLoc(TL.getLAngleLoc()); in TransformTemplateSpecializationType()
5566 NewTemplateArgs.setRAngleLoc(TL.getRAngleLoc()); in TransformTemplateSpecializationType()
5569 if (getDerived().TransformTemplateArguments(ArgIterator(TL, 0), in TransformTemplateSpecializationType()
5570 ArgIterator(TL, TL.getNumArgs()), in TransformTemplateSpecializationType()
5578 TL.getTemplateNameLoc(), in TransformTemplateSpecializationType()
5591 NewTL.setTemplateKeywordLoc(TL.getTemplateKeywordLoc()); in TransformTemplateSpecializationType()
5592 NewTL.setTemplateNameLoc(TL.getTemplateNameLoc()); in TransformTemplateSpecializationType()
5593 NewTL.setLAngleLoc(TL.getLAngleLoc()); in TransformTemplateSpecializationType()
5594 NewTL.setRAngleLoc(TL.getRAngleLoc()); in TransformTemplateSpecializationType()
5602 NewTL.setTemplateKeywordLoc(TL.getTemplateKeywordLoc()); in TransformTemplateSpecializationType()
5603 NewTL.setTemplateNameLoc(TL.getTemplateNameLoc()); in TransformTemplateSpecializationType()
5604 NewTL.setLAngleLoc(TL.getLAngleLoc()); in TransformTemplateSpecializationType()
5605 NewTL.setRAngleLoc(TL.getRAngleLoc()); in TransformTemplateSpecializationType()
5616 DependentTemplateSpecializationTypeLoc TL, in TransformDependentTemplateSpecializationType() argument
5620 NewTemplateArgs.setLAngleLoc(TL.getLAngleLoc()); in TransformDependentTemplateSpecializationType()
5621 NewTemplateArgs.setRAngleLoc(TL.getRAngleLoc()); in TransformDependentTemplateSpecializationType()
5624 if (getDerived().TransformTemplateArguments(ArgIterator(TL, 0), in TransformDependentTemplateSpecializationType()
5625 ArgIterator(TL, TL.getNumArgs()), in TransformDependentTemplateSpecializationType()
5634 TL.getTypePtr()->getKeyword(), in TransformDependentTemplateSpecializationType()
5641 NewTL.setElaboratedKeywordLoc(TL.getElaboratedKeywordLoc()); in TransformDependentTemplateSpecializationType()
5643 NewTL.setTemplateKeywordLoc(TL.getTemplateKeywordLoc()); in TransformDependentTemplateSpecializationType()
5644 NewTL.setTemplateNameLoc(TL.getTemplateNameLoc()); in TransformDependentTemplateSpecializationType()
5645 NewTL.setLAngleLoc(TL.getLAngleLoc()); in TransformDependentTemplateSpecializationType()
5646 NewTL.setRAngleLoc(TL.getRAngleLoc()); in TransformDependentTemplateSpecializationType()
5654 TL.getTemplateNameLoc(), in TransformDependentTemplateSpecializationType()
5661 NewTL.setTemplateKeywordLoc(TL.getTemplateKeywordLoc()); in TransformDependentTemplateSpecializationType()
5662 NewTL.setTemplateNameLoc(TL.getTemplateNameLoc()); in TransformDependentTemplateSpecializationType()
5663 NewTL.setLAngleLoc(TL.getLAngleLoc()); in TransformDependentTemplateSpecializationType()
5664 NewTL.setRAngleLoc(TL.getRAngleLoc()); in TransformDependentTemplateSpecializationType()
5675 ElaboratedTypeLoc TL) { in TransformElaboratedType() argument
5676 const ElaboratedType *T = TL.getTypePtr(); in TransformElaboratedType()
5680 if (TL.getQualifierLoc()) { in TransformElaboratedType()
5682 = getDerived().TransformNestedNameSpecifierLoc(TL.getQualifierLoc()); in TransformElaboratedType()
5687 QualType NamedT = getDerived().TransformType(TLB, TL.getNamedTypeLoc()); in TransformElaboratedType()
5701 SemaRef.Diag(TL.getNamedTypeLoc().getBeginLoc(), in TransformElaboratedType()
5708 QualType Result = TL.getType(); in TransformElaboratedType()
5710 QualifierLoc != TL.getQualifierLoc() || in TransformElaboratedType()
5712 Result = getDerived().RebuildElaboratedType(TL.getElaboratedKeywordLoc(), in TransformElaboratedType()
5720 NewTL.setElaboratedKeywordLoc(TL.getElaboratedKeywordLoc()); in TransformElaboratedType()
5728 AttributedTypeLoc TL) { in TransformAttributedType() argument
5729 const AttributedType *oldType = TL.getTypePtr(); in TransformAttributedType()
5730 QualType modifiedType = getDerived().TransformType(TLB, TL.getModifiedLoc()); in TransformAttributedType()
5734 QualType result = TL.getType(); in TransformAttributedType()
5750 SemaRef.Diag(TL.getAttrNameLoc(), diag::err_nullability_nonpointer) in TransformAttributedType()
5762 newTL.setAttrNameLoc(TL.getAttrNameLoc()); in TransformAttributedType()
5763 if (TL.hasAttrOperand()) in TransformAttributedType()
5764 newTL.setAttrOperandParensRange(TL.getAttrOperandParensRange()); in TransformAttributedType()
5765 if (TL.hasAttrExprOperand()) in TransformAttributedType()
5766 newTL.setAttrExprOperand(TL.getAttrExprOperand()); in TransformAttributedType()
5767 else if (TL.hasAttrEnumOperand()) in TransformAttributedType()
5768 newTL.setAttrEnumOperandLoc(TL.getAttrEnumOperandLoc()); in TransformAttributedType()
5776 ParenTypeLoc TL) { in TransformParenType() argument
5777 QualType Inner = getDerived().TransformType(TLB, TL.getInnerLoc()); in TransformParenType()
5781 QualType Result = TL.getType(); in TransformParenType()
5783 Inner != TL.getInnerLoc().getType()) { in TransformParenType()
5790 NewTL.setLParenLoc(TL.getLParenLoc()); in TransformParenType()
5791 NewTL.setRParenLoc(TL.getRParenLoc()); in TransformParenType()
5797 DependentNameTypeLoc TL) { in TransformDependentNameType() argument
5798 const DependentNameType *T = TL.getTypePtr(); in TransformDependentNameType()
5801 = getDerived().TransformNestedNameSpecifierLoc(TL.getQualifierLoc()); in TransformDependentNameType()
5807 TL.getElaboratedKeywordLoc(), in TransformDependentNameType()
5810 TL.getNameLoc()); in TransformDependentNameType()
5816 TLB.pushTypeSpec(NamedT).setNameLoc(TL.getNameLoc()); in TransformDependentNameType()
5819 NewTL.setElaboratedKeywordLoc(TL.getElaboratedKeywordLoc()); in TransformDependentNameType()
5823 NewTL.setElaboratedKeywordLoc(TL.getElaboratedKeywordLoc()); in TransformDependentNameType()
5825 NewTL.setNameLoc(TL.getNameLoc()); in TransformDependentNameType()
5833 DependentTemplateSpecializationTypeLoc TL) { in TransformDependentTemplateSpecializationType() argument
5835 if (TL.getQualifierLoc()) { in TransformDependentTemplateSpecializationType()
5837 = getDerived().TransformNestedNameSpecifierLoc(TL.getQualifierLoc()); in TransformDependentTemplateSpecializationType()
5843 .TransformDependentTemplateSpecializationType(TLB, TL, QualifierLoc); in TransformDependentTemplateSpecializationType()
5849 DependentTemplateSpecializationTypeLoc TL, in TransformDependentTemplateSpecializationType() argument
5851 const DependentTemplateSpecializationType *T = TL.getTypePtr(); in TransformDependentTemplateSpecializationType()
5854 NewTemplateArgs.setLAngleLoc(TL.getLAngleLoc()); in TransformDependentTemplateSpecializationType()
5855 NewTemplateArgs.setRAngleLoc(TL.getRAngleLoc()); in TransformDependentTemplateSpecializationType()
5859 if (getDerived().TransformTemplateArguments(ArgIterator(TL, 0), in TransformDependentTemplateSpecializationType()
5860 ArgIterator(TL, TL.getNumArgs()), in TransformDependentTemplateSpecializationType()
5868 TL.getTemplateNameLoc(), in TransformDependentTemplateSpecializationType()
5879 NamedTL.setTemplateKeywordLoc(TL.getTemplateKeywordLoc()); in TransformDependentTemplateSpecializationType()
5880 NamedTL.setTemplateNameLoc(TL.getTemplateNameLoc()); in TransformDependentTemplateSpecializationType()
5881 NamedTL.setLAngleLoc(TL.getLAngleLoc()); in TransformDependentTemplateSpecializationType()
5882 NamedTL.setRAngleLoc(TL.getRAngleLoc()); in TransformDependentTemplateSpecializationType()
5888 NewTL.setElaboratedKeywordLoc(TL.getElaboratedKeywordLoc()); in TransformDependentTemplateSpecializationType()
5893 SpecTL.setElaboratedKeywordLoc(TL.getElaboratedKeywordLoc()); in TransformDependentTemplateSpecializationType()
5895 SpecTL.setTemplateKeywordLoc(TL.getTemplateKeywordLoc()); in TransformDependentTemplateSpecializationType()
5896 SpecTL.setTemplateNameLoc(TL.getTemplateNameLoc()); in TransformDependentTemplateSpecializationType()
5897 SpecTL.setLAngleLoc(TL.getLAngleLoc()); in TransformDependentTemplateSpecializationType()
5898 SpecTL.setRAngleLoc(TL.getRAngleLoc()); in TransformDependentTemplateSpecializationType()
5904 SpecTL.setTemplateKeywordLoc(TL.getTemplateKeywordLoc()); in TransformDependentTemplateSpecializationType()
5905 SpecTL.setTemplateNameLoc(TL.getTemplateNameLoc()); in TransformDependentTemplateSpecializationType()
5906 SpecTL.setLAngleLoc(TL.getLAngleLoc()); in TransformDependentTemplateSpecializationType()
5907 SpecTL.setRAngleLoc(TL.getRAngleLoc()); in TransformDependentTemplateSpecializationType()
5916 PackExpansionTypeLoc TL) { in TransformPackExpansionType() argument
5918 = getDerived().TransformType(TLB, TL.getPatternLoc()); in TransformPackExpansionType()
5922 QualType Result = TL.getType(); in TransformPackExpansionType()
5924 Pattern != TL.getPatternLoc().getType()) { in TransformPackExpansionType()
5926 TL.getPatternLoc().getSourceRange(), in TransformPackExpansionType()
5927 TL.getEllipsisLoc(), in TransformPackExpansionType()
5928 TL.getTypePtr()->getNumExpansions()); in TransformPackExpansionType()
5934 NewT.setEllipsisLoc(TL.getEllipsisLoc()); in TransformPackExpansionType()
5941 ObjCInterfaceTypeLoc TL) { in TransformObjCInterfaceType() argument
5943 TLB.pushFullCopy(TL); in TransformObjCInterfaceType()
5944 return TL.getType(); in TransformObjCInterfaceType()
5950 ObjCObjectTypeLoc TL) { in TransformObjCObjectType() argument
5952 QualType BaseType = getDerived().TransformType(TLB, TL.getBaseLoc()); in TransformObjCObjectType()
5956 bool AnyChanged = BaseType != TL.getBaseLoc().getType(); in TransformObjCObjectType()
5960 for (unsigned i = 0, n = TL.getNumTypeArgs(); i != n; ++i) { in TransformObjCObjectType()
5961 TypeSourceInfo *TypeArgInfo = TL.getTypeArgTInfo(i); in TransformObjCObjectType()
6045 QualType Result = TL.getType(); in TransformObjCObjectType()
6050 TL.getLocStart(), in TransformObjCObjectType()
6051 TL.getTypeArgsLAngleLoc(), in TransformObjCObjectType()
6053 TL.getTypeArgsRAngleLoc(), in TransformObjCObjectType()
6054 TL.getProtocolLAngleLoc(), in TransformObjCObjectType()
6055 llvm::makeArrayRef(TL.getTypePtr()->qual_begin(), in TransformObjCObjectType()
6056 TL.getNumProtocols()), in TransformObjCObjectType()
6057 TL.getProtocolLocs(), in TransformObjCObjectType()
6058 TL.getProtocolRAngleLoc()); in TransformObjCObjectType()
6066 NewT.setTypeArgsLAngleLoc(TL.getTypeArgsLAngleLoc()); in TransformObjCObjectType()
6067 for (unsigned i = 0, n = TL.getNumTypeArgs(); i != n; ++i) in TransformObjCObjectType()
6069 NewT.setTypeArgsRAngleLoc(TL.getTypeArgsRAngleLoc()); in TransformObjCObjectType()
6070 NewT.setProtocolLAngleLoc(TL.getProtocolLAngleLoc()); in TransformObjCObjectType()
6071 for (unsigned i = 0, n = TL.getNumProtocols(); i != n; ++i) in TransformObjCObjectType()
6072 NewT.setProtocolLoc(i, TL.getProtocolLoc(i)); in TransformObjCObjectType()
6073 NewT.setProtocolRAngleLoc(TL.getProtocolRAngleLoc()); in TransformObjCObjectType()
6080 ObjCObjectPointerTypeLoc TL) { in TransformObjCObjectPointerType() argument
6081 QualType PointeeType = getDerived().TransformType(TLB, TL.getPointeeLoc()); in TransformObjCObjectPointerType()
6085 QualType Result = TL.getType(); in TransformObjCObjectPointerType()
6087 PointeeType != TL.getPointeeLoc().getType()) { in TransformObjCObjectPointerType()
6089 TL.getStarLoc()); in TransformObjCObjectPointerType()
6095 NewT.setStarLoc(TL.getStarLoc()); in TransformObjCObjectPointerType()