Home
last modified time | relevance | path

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

123

/freebsd-14.2/contrib/llvm-project/clang/include/clang/AST/
H A DRecursiveASTVisitor.h799 TRY_TO(TraverseTypeLoc(NNS.getTypeLoc()));
814 TRY_TO(TraverseTypeLoc(TSInfo->getTypeLoc()));
928 TRY_TO(TraverseTypeLoc(TInfo->getTypeLoc()));
1224 TRY_TO(TraverseTypeLoc(TSI->getTypeLoc()));
1511 TRY_TO(TraverseTypeLoc(TInfo->getTypeLoc()));
1957 TRY_TO(TraverseTypeLoc(TSI->getTypeLoc()));
2158 TRY_TO(TraverseTypeLoc(TSI->getTypeLoc()));
2562 TRY_TO(TraverseTypeLoc(TSI->getTypeLoc()));
2743 TRY_TO(TraverseTypeLoc(ScopeInfo->getTypeLoc()));
2768 TRY_TO(TraverseTypeLoc(TInfo->getTypeLoc()));
[all …]
H A DDeclFriend.h166 return SourceRange(StartL, TInfo->getTypeLoc().getEndLoc()); in getSourceRange()
H A DNestedNameSpecifier.h336 TypeLoc getTypeLoc() const;
/freebsd-14.2/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-14.2/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-14.2/contrib/llvm-project/clang/lib/AST/
H A DComment.cpp180 TypeLoc TL = MaybeFunctionTSI->getTypeLoc().getUnqualifiedLoc(); in getFunctionTypeLoc()
354 TypeLoc TL = TSI->getTypeLoc().getUnqualifiedLoc(); in fill()
H A DExprCXX.cpp178 return TypeInfo ? TypeInfo->getTypeLoc().getBeginLoc() : getRParenLoc(); in getBeginLoc()
321 Location = Info->getTypeLoc().getBeginLoc(); in PseudoDestructorTypeStorage()
348 End = TInfo->getTypeLoc().getSourceRange().getEnd(); in getEndLoc()
879 return getTypeInfoAsWritten()->getTypeLoc().getBeginLoc(); in getBeginLoc()
1064 CXXTemporaryObjectExprClass, Ty, TSI->getTypeLoc().getBeginLoc(), in CXXTemporaryObjectExpr()
1100 return getTypeSourceInfo()->getTypeLoc().getBeginLoc(); in getBeginLoc()
1439 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 DExprObjC.cpp283 return getClassReceiverTypeInfo()->getTypeLoc().getSourceRange(); in getReceiverRange()
H A DDeclarationName.cpp514 return TInfo->getTypeLoc().getEndLoc(); in getEndLocPrivate()
H A DDecl.cpp1987 if (TSI) return TSI->getTypeLoc().getBeginLoc(); in getTypeSpecStartLoc()
1993 if (TSI) return TSI->getTypeLoc().getEndLoc(); in getTypeSpecEndLoc()
2093 RangeEnd = TInfo->getTypeLoc().getSourceRange().getEnd(); in getSourceRange()
3811 return TSI ? TSI->getTypeLoc().IgnoreParens().getAs<FunctionTypeLoc>() in getFunctionTypeLoc()
4818 return TI->getTypeLoc().getSourceRange(); in getIntegerTypeRange()
4912 Res.setEnd(TSI->getTypeLoc().getEndLoc()); in getSourceRange()
5499 RangeEnd = TInfo->getTypeLoc().getSourceRange().getEnd(); in getSourceRange()
5507 RangeEnd = TInfo->getTypeLoc().getSourceRange().getEnd(); in getSourceRange()
H A DDeclTemplate.cpp672 ? getDefaultArgumentInfo()->getTypeLoc().getBeginLoc() in getDefaultArgumentLoc()
679 getDefaultArgumentInfo()->getTypeLoc().getEndLoc()); in getSourceRange()
1001 End = getTypeAsWritten()->getTypeLoc().getEndLoc(); in getSourceRange()
/freebsd-14.2/contrib/llvm-project/clang/lib/Sema/
H A DTypeLocBuilder.h117 memcpy(DI->getTypeLoc().getOpaqueData(), &Buffer[Index], FullDataSize); in getTypeSourceInfo()
H A DSemaTemplateVariadic.cpp392 T->getTypeLoc()); in DiagnoseUnexpandedParameterPack()
618 Pattern->getTypeLoc().getSourceRange(), in CheckPackExpansion()
624 TLB.pushFullCopy(Pattern->getTypeLoc()); in CheckPackExpansion()
1078 ExpansionTSInfo->getTypeLoc().castAs<PackExpansionTypeLoc>(); in getTemplateArgumentPackExpansionPattern()
H A DSemaType.cpp980 S.Diag(typeArgInfo->getTypeLoc().getBeginLoc(), in applyObjCTypeArgs()
1008 S.Diag(typeArgInfo->getTypeLoc().getBeginLoc(), in applyObjCTypeArgs()
1026 S.Diag(typeArgInfo->getTypeLoc().getBeginLoc(), in applyObjCTypeArgs()
1125 TypeLoc ResultTL = ResultTInfo->getTypeLoc(); in actOnObjCProtocolQualifierType()
1199 TypeLoc ResultTL = ResultTInfo->getTypeLoc(); in actOnObjCTypeArgsAndProtocolQualifiers()
5400 TLB.pushFullCopy(TInfo->getTypeLoc()); in GetFullTypeForDeclarator()
6264 TL.copy(RepTInfo->getTypeLoc()); in VisitObjCObjectTypeLoc()
6269 TL.copy(RepTInfo->getTypeLoc()); in VisitObjCObjectPointerTypeLoc()
6282 TypeLoc OldTL = TInfo->getTypeLoc(); in VisitTemplateSpecializationTypeLoc()
6497 TypeLoc ClsTL = ClsTInfo->getTypeLoc(); in VisitMemberPointerTypeLoc()
[all …]
H A DSemaTemplateInstantiateDecl.cpp103 Result->getTypeLoc().getSourceRange())) in instantiateDependentAlignedAttr()
122 S.collectUnexpandedParameterPacks(Aligned->getAlignmentType()->getTypeLoc(), in instantiateDependentAlignedAttr()
1481 SourceLocation UnderlyingLoc = TI->getTypeLoc().getBeginLoc(); in VisitEnumDecl()
1518 SourceLocation UnderlyingLoc = TI->getTypeLoc().getBeginLoc(); in VisitEnumDecl()
2932 TypeLoc TL = D->getTypeSourceInfo()->getTypeLoc(); in VisitNonTypeTemplateParmDecl()
3058 if (AutoTypeLoc AutoLoc = DI->getTypeLoc().getContainedAutoTypeLoc()) in VisitNonTypeTemplateParmDecl()
3815 TemplateSpecializationTypeLoc Loc = D->getTypeAsWritten()->getTypeLoc(). in VisitClassTemplateSpecializationDecl()
4089 auto NewLoc = NewTInfo->getTypeLoc().castAs<FunctionProtoTypeLoc>(); in adjustForRewrite()
4464 TypeLoc OldTL = OldTInfo->getTypeLoc().IgnoreParens(); in SubstFunctionType()
4468 TypeLoc NewTL = NewTInfo->getTypeLoc().IgnoreParens(); in SubstFunctionType()
[all …]
H A DSemaTemplate.cpp991 TypeLoc TL = TInfo->getTypeLoc(); in ActOnTemplateTypeArgument()
1024 TInfo->getTypeLoc().getBeginLoc()); in ActOnTemplateTypeArgument()
1280 ->getTypeLoc() in AttachTypeConstraint()
2443 TSI->getTypeLoc().castAs<FunctionProtoTypeLoc>(); in buildSimpleDeductionGuide()
3333 return NNSLoc.getTypeLoc().getSourceRange(); in getRangeOfTypeInNestedNameSpecifier()
5922 Context, Arg.getTypeSourceInfo()->getTypeLoc()); in CheckTemplateArgument()
6617 SourceRange SR = ArgInfo->getTypeLoc().getSourceRange(); in CheckTemplateArgument()
10714 Diag(T->getTypeLoc().getBeginLoc(), in ActOnExplicitInstantiation()
10789 Diag(T->getTypeLoc().getBeginLoc(), in ActOnExplicitInstantiation()
11158 TypeLoc EnableIfTy = NNS.getTypeLoc(); in isEnableIf()
[all …]
H A DSemaTemplateInstantiate.cpp2424 TemplateDeductionInfo Info(Req->getType()->getTypeLoc().getBeginLoc()); in TransformTypeRequirement()
2426 Req->getType()->getTypeLoc().getBeginLoc(), Req, Info, in TransformTypeRequirement()
2427 Req->getType()->getTypeLoc().getSourceRange()); in TransformTypeRequirement()
2672 TypeLoc TL = T->getTypeLoc().IgnoreParens(); in NeedsInstantiationAsFunctionType()
2712 TypeLoc TL = T->getTypeLoc(); in SubstFunctionDeclType()
2755 if (SubstExceptionSpec(New->getTypeSourceInfo()->getTypeLoc().getEndLoc(), in SubstExceptionSpec()
2889 TypeLoc OldTL = OldDI->getTypeLoc(); in SubstParmVarDecl()
3133 collectUnexpandedParameterPacks(Base.getTypeSourceInfo()->getTypeLoc(), in SubstBaseSpecifiers()
H A DSemaDeclObjC.cpp662 IDecl->setEndOfDefinitionLoc(SuperClassTInfo->getTypeLoc().getEndLoc()); in ActOnSuperClassOfClassInterface()
685 typeBoundInfo->getTypeLoc().getEndLoc()); in actOnObjCTypeParam()
686 Diag(typeBoundInfo->getTypeLoc().getBeginLoc(), in actOnObjCTypeParam()
694 builder.pushFullCopy(typeBoundInfo->getTypeLoc()); in actOnObjCTypeParam()
706 Diag(typeBoundInfo->getTypeLoc().getBeginLoc(), in actOnObjCTypeParam()
718 TypeLoc qual = typeBoundInfo->getTypeLoc().findExplicitQualifierLoc(); in actOnObjCTypeParam()
737 : typeBoundInfo->getTypeLoc().getBeginLoc(), in actOnObjCTypeParam()
923 ->getTypeLoc().getSourceRange(); in checkTypeParamListConsistency()
2335 return (TSI ? TSI->getTypeLoc().getSourceRange() : SourceRange()); in getTypeRange()
4795 ? DI->getTypeLoc().getBeginLoc() in ActOnMethodDeclaration()
H A DSemaDeclCXX.cpp1920 TypeLoc TL = TN->getTypeSourceInfo()->getTypeLoc(); in CheckConstexprDeclStmt()
2706 << TInfo->getTypeLoc().getSourceRange(); in CheckBaseSpecifier()
2710 SourceLocation BaseLoc = TInfo->getTypeLoc().getBeginLoc(); in CheckBaseSpecifier()
4708 << TInfo->getTypeLoc().getSourceRange(); in BuildDelegatingInitializer()
4832 << BaseTInfo->getTypeLoc().getSourceRange(); in BuildBaseInitializer()
6141 Visit(TSI->getTypeLoc(), Sema::AbstractNone); in Check()
6222 Info.CheckType(VD, VD->getTypeSourceInfo()->getTypeLoc(), in CheckAbstractClassUsage()
11563 return Diag(TSI->getTypeLoc().getBeginLoc(), in CheckDeductionGuideDeclarator()
11567 << TSI->getTypeLoc().getSourceRange(); in CheckDeductionGuideDeclarator()
18974 TypeLoc TL = TSInfo->getTypeLoc(); in checkThisInStaticMemberFunctionType()
[all …]
/freebsd-14.2/contrib/llvm-project/clang/lib/Tooling/Refactoring/Rename/
H A DUSRLocFinder.cpp358 getSupportedDeclFromTypeLoc(NestedLoc.getTypeLoc())) { in VisitNestedNameSpecifierLocations()
361 EndLocationForType(NestedLoc.getTypeLoc()), in VisitNestedNameSpecifierLocations()
/freebsd-14.2/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DMallocSizeofChecker.cpp237 Ranges.push_back(TSI->getTypeLoc().getSourceRange()); in checkASTCodeBody()
H A DDeadStoresChecker.cpp232 V->getTypeSourceInfo()->getTypeLoc().getEndLoc(), in Report()
/freebsd-14.2/contrib/llvm-project/clang/lib/Tooling/Syntax/
H A DBuildTree.cpp940 if (auto TL = NNSLoc.getTypeLoc()) { in getLocalSourceRange()
1007 const auto TL = NNSLoc.getTypeLoc().castAs<DecltypeTypeLoc>(); in buildNameSpecifier()
1588 Builder.sourceManager(), D->getTypeSourceInfo()->getTypeLoc(), in processDeclaratorAndDeclaration()

123