Home
last modified time | relevance | path

Searched refs:getTypeLoc (Results 1 – 25 of 62) sorted by relevance

123

/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DRecursiveASTVisitor.h578 return getDerived().TraverseTypeLoc(R->getType()->getTypeLoc());
820 TRY_TO(TraverseTypeLoc(NNS.getTypeLoc()));
835 TRY_TO(TraverseTypeLoc(TSInfo->getTypeLoc()));
917 return getDerived().TraverseTypeLoc(TSI->getTypeLoc());
953 TRY_TO(TraverseTypeLoc(TInfo->getTypeLoc()));
1266 TRY_TO(TraverseTypeLoc(TSI->getTypeLoc()));
1385 TRY_TO(TraverseTypeLoc(TL.getUnmodifiedTInfo()->getTypeLoc()));
1399 TRY_TO(TraverseTypeLoc(TL.getUnderlyingTInfo()->getTypeLoc()));
1487 TRY_TO(TraverseTypeLoc(TL.getTypeArgTInfo(i)->getTypeLoc()));
1566 TRY_TO(TraverseTypeLoc(TInfo->getTypeLoc()));
[all …]
H A DASTNodeTraverser.h386 Visit(T->getTypeSourceInfo()->getTypeLoc()); in VisitLocInfoType()
483 Visit(TL.getClassTInfo()->getTypeLoc()); in VisitMemberPointerTypeLoc()
555 Visit(TSI->getTypeLoc()); in VisitVarDecl()
H A DDeclFriend.h166 return SourceRange(StartL, TInfo->getTypeLoc().getEndLoc()); in getSourceRange()
H A DNestedNameSpecifier.h336 TypeLoc getTypeLoc() const;
/freebsd/contrib/llvm-project/clang/lib/Index/
H A DIndexTypeSourceInfo.cpp93 TRY_TO(TraverseTypeLoc(D->getTypeSourceInfo()->getTypeLoc())); in traverseParamVarHelper()
250 if (!TInfo || TInfo->getTypeLoc().isNull()) in indexTypeSourceInfo()
253 indexTypeLoc(TInfo->getTypeLoc(), Parent, DC, isBase, isIBType); in indexTypeSourceInfo()
299 indexTypeLoc(NNS.getTypeLoc(), Parent, DC); in indexNestedNameSpecifierLoc()
/freebsd/contrib/llvm-project/clang/lib/ARCMigrate/
H A DTransARCAssign.cpp60 TypeLoc TLoc = var->getTypeSourceInfo()->getTypeLoc(); in VisitBinaryOperator()
H A DTransGCAttrs.cpp63 TypeLoc TL = TInfo->getTypeLoc(); in lookForAttribute()
242 TypeLoc TL = TInfo->getTypeLoc(); in checkAllAtProps()
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaObjC.cpp71 D->getTypeSourceInfo()->getTypeLoc(), DeducedInit, FirstType, Info); in ActOnObjCForCollectionStmt()
84 D->getTypeSourceInfo()->getTypeLoc().getBeginLoc(); in ActOnObjCForCollectionStmt()
353 TypeLoc ResultTL = ResultTInfo->getTypeLoc(); in actOnObjCProtocolQualifierType()
409 T, BaseTypeInfo->getTypeLoc().getSourceRange().getBegin(), in actOnObjCTypeArgsAndProtocolQualifiers()
423 TypeLoc ResultTL = ResultTInfo->getTypeLoc(); in actOnObjCTypeArgsAndProtocolQualifiers()
476 ObjCObjectTL.getBaseLoc().initializeFullCopy(BaseTypeInfo->getTypeLoc()); in actOnObjCTypeArgsAndProtocolQualifiers()
557 if (TypeLoc qual = typeArgInfo->getTypeLoc().findExplicitQualifierLoc()) { in applyObjCTypeArgs()
633 S.Diag(typeArgInfo->getTypeLoc().getBeginLoc(), in applyObjCTypeArgs()
661 S.Diag(typeArgInfo->getTypeLoc().getBeginLoc(), in applyObjCTypeArgs()
684 S.Diag(typeArgInfo->getTypeLoc().getBeginLoc(), in applyObjCTypeArgs()
[all …]
H A DSemaTemplateDeductionGuide.cpp169 TransformType(InnerTLB, OrigDecl->getTypeSourceInfo()->getTypeLoc()); in TransformTypedefType()
210 TInfo->getTypeLoc().castAs<FunctionProtoTypeLoc>().getParams();
416 ->getTypeLoc() in transformConstructor()
456 TSI->getTypeLoc().castAs<FunctionProtoTypeLoc>(); in buildSimpleDeductionGuide()
581 if (auto PackTL = OldDI->getTypeLoc().getAs<PackExpansionTypeLoc>()) { in transformFunctionTypeParam()
1211 FunctionType->getTypeLoc().castAs<FunctionProtoTypeLoc>(); in DeclareImplicitDeductionGuidesForTypeAlias()
H A DSemaTemplateVariadic.cpp404 T->getTypeLoc()); in DiagnoseUnexpandedParameterPack()
634 Pattern->getTypeLoc().getSourceRange(), in CheckPackExpansion()
640 TLB.pushFullCopy(Pattern->getTypeLoc()); in CheckPackExpansion()
1141 ExpansionTSInfo->getTypeLoc().castAs<PackExpansionTypeLoc>(); in getTemplateArgumentPackExpansionPattern()
H A DSemaExprCXX.cpp1529 Result = CreateRecoveryExpr(TInfo->getTypeLoc().getBeginLoc(), in ActOnCXXTypeConstructExpr()
1541 SourceLocation TyBeginLoc = TInfo->getTypeLoc().getBeginLoc(); in BuildCXXTypeConstructExpr()
1601 DeduceAutoType(TInfo->getTypeLoc(), Deduce, DeducedType, Info); in BuildCXXTypeConstructExpr()
2038 SourceRange TypeRange = AllocTypeInfo->getTypeLoc().getSourceRange(); in BuildCXXNew()
2130 DeduceAutoType(AllocTypeInfo->getTypeLoc(), Deduce, DeducedType, Info); in BuildCXXNew()
4943 S.Diag(T->getTypeLoc().getBeginLoc(), diag::err_vla_unsupported) in DiagnoseVLAInCXXTypeTrait()
5681 if (!Self.isCompleteType(Rhs->getTypeLoc().getBeginLoc(), RhsT) || in CheckConvertibilityForTypeTraits()
5682 Self.isAbstractType(Rhs->getTypeLoc().getBeginLoc(), RhsT)) in CheckConvertibilityForTypeTraits()
5787 OpaqueValueExpr(Args[I]->getTypeLoc().getBeginLoc(), in EvaluateBooleanTypeTrait()
5999 Rhs->getTypeLoc().getBeginLoc(), RhsT, in EvaluateBinaryTypeTrait()
[all …]
H A DSemaTemplateInstantiateDecl.cpp108 Result->getTypeLoc().getSourceRange())) in instantiateDependentAlignedAttr()
127 S.collectUnexpandedParameterPacks(Aligned->getAlignmentType()->getTypeLoc(), in instantiateDependentAlignedAttr()
1519 SourceLocation UnderlyingLoc = TI->getTypeLoc().getBeginLoc(); in VisitEnumDecl()
1556 SourceLocation UnderlyingLoc = TI->getTypeLoc().getBeginLoc(); in VisitEnumDecl()
2975 TypeLoc TL = D->getTypeSourceInfo()->getTypeLoc(); in VisitNonTypeTemplateParmDecl()
3101 if (AutoTypeLoc AutoLoc = DI->getTypeLoc().getContainedAutoTypeLoc()) in VisitNonTypeTemplateParmDecl()
3106 DI->getTypeLoc().getAs<PackExpansionTypeLoc>().getEllipsisLoc(); in VisitNonTypeTemplateParmDecl()
3146 S.collectUnexpandedParameterPacks(NTTP->getTypeSourceInfo()->getTypeLoc(), in collectUnexpandedParameterPacks()
4124 auto OldLoc = TInfo->getTypeLoc().getAsAdjusted<FunctionProtoTypeLoc>(); in adjustForRewrite()
4126 auto NewLoc = NewTInfo->getTypeLoc().castAs<FunctionProtoTypeLoc>(); in adjustForRewrite()
[all …]
H A DSemaType.cpp2998 AutoTypeLoc AutoLoc = TrailingTSI->getTypeLoc().getContainedAutoTypeLoc(); in InventTemplateParameter()
4955 DiagLoc = TInfo->getTypeLoc().getBeginLoc(); in GetFullTypeForDeclarator()
4956 FixitLoc = S.getLocForEndOfToken(TInfo->getTypeLoc().getEndLoc()); in GetFullTypeForDeclarator()
4968 TLB.pushFullCopy(TInfo->getTypeLoc()); in GetFullTypeForDeclarator()
5836 TL.copy(RepTInfo->getTypeLoc()); in VisitObjCObjectTypeLoc()
5841 TL.copy(RepTInfo->getTypeLoc()); in VisitObjCObjectPointerTypeLoc()
5854 TypeLoc OldTL = TInfo->getTypeLoc(); in VisitTemplateSpecializationTypeLoc()
5918 if (auto ETL = TInfo->getTypeLoc().getAs<ElaboratedTypeLoc>()) { in VisitElaboratedTypeLoc()
5936 TL.copy(TInfo->getTypeLoc().castAs<DependentNameTypeLoc>()); in VisitDependentNameTypeLoc()
5945 TInfo->getTypeLoc().castAs<DependentTemplateSpecializationTypeLoc>()); in VisitDependentTemplateSpecializationTypeLoc()
[all …]
H A DSemaDeclObjC.cpp662 IDecl->setEndOfDefinitionLoc(SuperClassTInfo->getTypeLoc().getEndLoc()); in ActOnSuperClassOfClassInterface()
683 SemaRef.getLocForEndOfToken(typeBoundInfo->getTypeLoc().getEndLoc()); in actOnObjCTypeParam()
684 Diag(typeBoundInfo->getTypeLoc().getBeginLoc(), in actOnObjCTypeParam()
692 builder.pushFullCopy(typeBoundInfo->getTypeLoc()); in actOnObjCTypeParam()
704 Diag(typeBoundInfo->getTypeLoc().getBeginLoc(), in actOnObjCTypeParam()
716 TypeLoc qual = typeBoundInfo->getTypeLoc().findExplicitQualifierLoc(); in actOnObjCTypeParam()
735 : typeBoundInfo->getTypeLoc().getBeginLoc(), in actOnObjCTypeParam()
923 ->getTypeLoc().getSourceRange(); in checkTypeParamListConsistency()
2343 return (TSI ? TSI->getTypeLoc().getSourceRange() : SourceRange()); in getTypeRange()
4805 ? DI->getTypeLoc().getBeginLoc() in ActOnMethodDeclaration()
[all …]
H A DSemaTemplateInstantiate.cpp2646 TemplateDeductionInfo Info(Req->getType()->getTypeLoc().getBeginLoc()); in TransformTypeRequirement()
2648 Req->getType()->getTypeLoc().getBeginLoc(), Req, Info, in TransformTypeRequirement()
2649 Req->getType()->getTypeLoc().getSourceRange()); in TransformTypeRequirement()
2861 TypeLoc TL = T->getTypeLoc().IgnoreParens(); in NeedsInstantiationAsFunctionType()
2897 TypeLoc TL = T->getTypeLoc(); in SubstFunctionDeclType()
2940 if (SubstExceptionSpec(New->getTypeSourceInfo()->getTypeLoc().getEndLoc(), in SubstExceptionSpec()
3075 TypeLoc OldTL = OldDI->getTypeLoc(); in SubstParmVarDecl()
3319 collectUnexpandedParameterPacks(Base.getTypeSourceInfo()->getTypeLoc(), in SubstBaseSpecifiers()
H A DSemaDeclCXX.cpp1905 TypeLoc TL = TN->getTypeSourceInfo()->getTypeLoc(); in CheckConstexprDeclStmt()
2638 SourceLocation BaseLoc = TInfo->getTypeLoc().getBeginLoc(); in CheckBaseSpecifier()
2646 << TInfo->getTypeLoc().getSourceRange(); in CheckBaseSpecifier()
4379 TInfo->getTypeLoc().castAs<DependentNameTypeLoc>(); in BuildMemInitializer()
4460 ElaboratedTypeLoc TL = TInfo->getTypeLoc().castAs<ElaboratedTypeLoc>(); in BuildMemInitializer()
4559 SourceLocation NameLoc = TInfo->getTypeLoc().getSourceRange().getBegin(); in BuildDelegatingInitializer()
4562 << TInfo->getTypeLoc().getSourceRange(); in BuildDelegatingInitializer()
4623 SourceLocation BaseLoc = BaseTInfo->getTypeLoc().getBeginLoc(); in BuildBaseInitializer()
4627 << BaseType << BaseTInfo->getTypeLoc().getSourceRange(); in BuildBaseInitializer()
4686 << BaseTInfo->getTypeLoc() in BuildBaseInitializer()
[all...]
H A DSemaTemplate.cpp960 TypeLoc TL = TInfo->getTypeLoc(); in ActOnTemplateTypeArgument()
989 TInfo->getTypeLoc().getBeginLoc()); in ActOnTemplateTypeArgument()
1232 Diag(NewConstrainedParm->getTypeSourceInfo()->getTypeLoc().getBeginLoc(), in AttachTypeConstraint()
1235 ->getTypeLoc() in AttachTypeConstraint()
1531 if (AutoTypeLoc TL = TInfo->getTypeLoc().getContainedAutoTypeLoc()) in ActOnNonTypeTemplateParameter()
2665 return NNSLoc.getTypeLoc().getSourceRange(); in getRangeOfTypeInNestedNameSpecifier()
5197 Context, Arg.getTypeSourceInfo()->getTypeLoc()); in CheckTemplateArgument()
5894 SourceRange SR = ArgInfo->getTypeLoc().getSourceRange(); in CheckTemplateArgument()
6541 DeduceAutoType(TSI->getTypeLoc(), DeductionArg, ParamType, Info, in CheckTemplateArgument()
8028 Param->getDepth(), Param->getTypeSourceInfo()->getTypeLoc()); in CheckNonTypeTemplatePartialSpecializationArgs()
[all …]
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DExprCXX.cpp225 return TypeInfo ? TypeInfo->getTypeLoc().getBeginLoc() : getRParenLoc(); in getBeginLoc()
368 Location = Info->getTypeLoc().getBeginLoc(); in PseudoDestructorTypeStorage()
395 End = TInfo->getTypeLoc().getSourceRange().getEnd(); in getEndLoc()
929 return getTypeInfoAsWritten()->getTypeLoc().getBeginLoc(); in getBeginLoc()
1114 CXXTemporaryObjectExprClass, Ty, TSI->getTypeLoc().getBeginLoc(), in CXXTemporaryObjectExpr()
1150 return getTypeSourceInfo()->getTypeLoc().getBeginLoc(); in getBeginLoc()
1489 return TypeAndInitForm.getPointer()->getTypeLoc().getBeginLoc(); in getBeginLoc()
H A DNestedNameSpecifier.cpp453 TypeLoc NestedNameSpecifierLoc::getTypeLoc() const { in getTypeLoc() function in NestedNameSpecifierLoc
656 SavePointer(TSInfo->getTypeLoc().getOpaqueData(), Buffer, BufferSize, in MakeTrivial()
H A DDeclarationName.cpp514 return TInfo->getTypeLoc().getEndLoc(); in getEndLocPrivate()
H A DExprObjC.cpp283 return getClassReceiverTypeInfo()->getTypeLoc().getSourceRange(); in getReceiverRange()
H A DDecl.cpp1972 if (TSI) return TSI->getTypeLoc().getBeginLoc(); in getTypeSpecStartLoc()
1978 if (TSI) return TSI->getTypeLoc().getEndLoc(); in getTypeSpecEndLoc()
2078 RangeEnd = TInfo->getTypeLoc().getSourceRange().getEnd(); in getSourceRange()
3861 return TSI ? TSI->getTypeLoc().IgnoreParens().getAs<FunctionTypeLoc>() in getFunctionTypeLoc()
4866 return TI->getTypeLoc().getSourceRange(); in getIntegerTypeRange()
4960 Res.setEnd(TSI->getTypeLoc().getEndLoc()); in getSourceRange()
5564 RangeEnd = TInfo->getTypeLoc().getSourceRange().getEnd(); in getSourceRange()
5572 RangeEnd = TInfo->getTypeLoc().getSourceRange().getEnd(); in getSourceRange()
H A DDeclObjC.cpp374 return superTInfo->getTypeLoc().getBeginLoc(); in getSuperClassLoc()
1234 return TSI->getTypeLoc().getSourceRange(); in getReturnTypeSourceRange()
1504 getTypeSourceInfo()->getTypeLoc().getEndLoc()); in getSourceRange()
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DMallocSizeofChecker.cpp237 Ranges.push_back(TSI->getTypeLoc().getSourceRange()); in checkASTCodeBody()
/freebsd/contrib/llvm-project/clang/lib/Tooling/Syntax/
H A DBuildTree.cpp941 if (auto TL = NNSLoc.getTypeLoc()) { in getLocalSourceRange()
1008 const auto TL = NNSLoc.getTypeLoc().castAs<DecltypeTypeLoc>(); in buildNameSpecifier()
1589 Builder.sourceManager(), D->getTypeSourceInfo()->getTypeLoc(), in processDeclaratorAndDeclaration()

123