Home
last modified time | relevance | path

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

123

/freebsd-12.1/contrib/llvm/tools/clang/include/clang/AST/
H A DRecursiveASTVisitor.h781 TRY_TO(TraverseTypeLoc(NNS.getTypeLoc()));
796 TRY_TO(TraverseTypeLoc(TSInfo->getTypeLoc()));
911 TRY_TO(TraverseTypeLoc(TInfo->getTypeLoc()));
1414 TRY_TO(TraverseTypeLoc(TInfo->getTypeLoc()));
1536 TRY_TO(TraverseTypeLoc(superTInfo->getTypeLoc()));
1988 TRY_TO(TraverseTypeLoc(TSI->getTypeLoc()));
2306 TRY_TO(TraverseTypeLoc(TS->getTypeLoc()));
2375 TRY_TO(TraverseTypeLoc(S->getArg(I)->getTypeLoc()));
2477 TRY_TO(TraverseTypeLoc(ScopeInfo->getTypeLoc()));
2502 TRY_TO(TraverseTypeLoc(TInfo->getTypeLoc()));
[all …]
H A DDeclFriend.h168 return SourceRange(StartL, TInfo->getTypeLoc().getEndLoc()); in getSourceRange()
H A DNestedNameSpecifier.h330 TypeLoc getTypeLoc() const;
/freebsd-12.1/contrib/llvm/tools/clang/lib/Index/
H A DIndexTypeSourceInfo.cpp76 TRY_TO(TraverseTypeLoc(D->getTypeSourceInfo()->getTypeLoc())); in traverseParamVarHelper()
196 if (!TInfo || TInfo->getTypeLoc().isNull()) in indexTypeSourceInfo()
199 indexTypeLoc(TInfo->getTypeLoc(), Parent, DC, isBase, isIBType); in indexTypeSourceInfo()
245 indexTypeLoc(NNS.getTypeLoc(), Parent, DC); in indexNestedNameSpecifierLoc()
/freebsd-12.1/contrib/llvm/tools/clang/lib/AST/
H A DComment.cpp168 TypeLoc TL = MaybeFunctionTSI->getTypeLoc().getUnqualifiedLoc(); in getFunctionTypeLoc()
295 TypeLoc TL = TSI->getTypeLoc().getUnqualifiedLoc(); in fill()
319 TypeLoc TL = TSI->getTypeLoc().getUnqualifiedLoc(); in fill()
340 TypeLoc TL = TSI->getTypeLoc().getUnqualifiedLoc(); in fill()
H A DExprCXX.cpp93 return TypeInfo ? TypeInfo->getTypeLoc().getBeginLoc() : getRParenLoc(); in getBeginLoc()
252 Location = Info->getTypeLoc().getLocalSourceRange().getBegin(); in PseudoDestructorTypeStorage()
300 End = TInfo->getTypeLoc().getLocalSourceRange().getEnd(); in getEndLoc()
830 return getTypeInfoAsWritten()->getTypeLoc().getBeginLoc(); in getBeginLoc()
940 CXXTemporaryObjectExprClass, Ty, TSI->getTypeLoc().getBeginLoc(), in CXXTemporaryObjectExpr()
974 return getTypeSourceInfo()->getTypeLoc().getBeginLoc(); in getBeginLoc()
1298 return TSI->getTypeLoc().getBeginLoc(); in getBeginLoc()
H A DNestedNameSpecifier.cpp464 TypeLoc NestedNameSpecifierLoc::getTypeLoc() const { in getTypeLoc() function in NestedNameSpecifierLoc
665 SavePointer(TSInfo->getTypeLoc().getOpaqueData(), Buffer, BufferSize, in MakeTrivial()
H A DDeclTemplate.cpp506 ? getDefaultArgumentInfo()->getTypeLoc().getBeginLoc() in getDefaultArgumentLoc()
513 getDefaultArgumentInfo()->getTypeLoc().getEndLoc()); in getSourceRange()
801 End = getTypeAsWritten()->getTypeLoc().getEndLoc(); in getSourceRange()
H A DDecl.cpp1767 if (TSI) return TSI->getTypeLoc().getBeginLoc(); in getTypeSpecStartLoc()
1863 RangeEnd = TInfo->getTypeLoc().getSourceRange().getEnd(); in getSourceRange()
3207 TSI->getTypeLoc().IgnoreParens().getAs<FunctionTypeLoc>(); in getReturnTypeSourceRange()
3227 TSI->getTypeLoc().IgnoreParens().getAs<FunctionTypeLoc>(); in getExceptionSpecSourceRange()
3997 return TI->getTypeLoc().getSourceRange(); in getIntegerTypeRange()
4587 RangeEnd = TInfo->getTypeLoc().getSourceRange().getEnd(); in getSourceRange()
4595 RangeEnd = TInfo->getTypeLoc().getSourceRange().getEnd(); in getSourceRange()
H A DDeclarationName.cpp515 return TInfo->getTypeLoc().getEndLoc(); in getEndLocPrivate()
H A DTemplateBase.cpp483 return TSI->getTypeLoc().getSourceRange(); in getSourceRange()
H A DExprObjC.cpp302 return getClassReceiverTypeInfo()->getTypeLoc().getSourceRange(); in getReceiverRange()
/freebsd-12.1/contrib/llvm/tools/clang/lib/ARCMigrate/
H A DTransARCAssign.cpp61 TypeLoc TLoc = var->getTypeSourceInfo()->getTypeLoc(); in VisitBinaryOperator()
H A DTransGCAttrs.cpp64 TypeLoc TL = TInfo->getTypeLoc(); in lookForAttribute()
241 TypeLoc TL = TInfo->getTypeLoc(); in checkAllAtProps()
/freebsd-12.1/contrib/llvm/tools/clang/lib/Sema/
H A DTypeLocBuilder.h111 memcpy(DI->getTypeLoc().getOpaqueData(), &Buffer[Index], FullDataSize); in getTypeSourceInfo()
H A DSemaTemplateVariadic.cpp379 T->getTypeLoc()); in DiagnoseUnexpandedParameterPack()
574 Pattern->getTypeLoc().getSourceRange(), in CheckPackExpansion()
580 TLB.pushFullCopy(Pattern->getTypeLoc()); in CheckPackExpansion()
1017 ExpansionTSInfo->getTypeLoc().castAs<PackExpansionTypeLoc>(); in getTemplateArgumentPackExpansionPattern()
H A DSemaType.cpp932 S.Diag(typeArgInfo->getTypeLoc().getBeginLoc(), in applyObjCTypeArgs()
960 S.Diag(typeArgInfo->getTypeLoc().getBeginLoc(), in applyObjCTypeArgs()
978 S.Diag(typeArgInfo->getTypeLoc().getBeginLoc(), in applyObjCTypeArgs()
1082 TypeLoc ResultTL = ResultTInfo->getTypeLoc(); in actOnObjCProtocolQualifierType()
1155 TypeLoc ResultTL = ResultTInfo->getTypeLoc(); in actOnObjCTypeArgsAndProtocolQualifiers()
4591 TLB.pushFullCopy(TInfo->getTypeLoc()); in GetFullTypeForDeclarator()
5334 TL.copy(RepTInfo->getTypeLoc()); in VisitObjCObjectTypeLoc()
5339 TL.copy(RepTInfo->getTypeLoc()); in VisitObjCObjectPointerTypeLoc()
5352 TypeLoc OldTL = TInfo->getTypeLoc(); in VisitTemplateSpecializationTypeLoc()
5515 TypeLoc ClsTL = ClsTInfo->getTypeLoc(); in VisitMemberPointerTypeLoc()
[all …]
H A DSemaDeclCXX.cpp1680 TypeLoc TL = TN->getTypeSourceInfo()->getTypeLoc(); in CheckConstexprDeclStmt()
2209 << TInfo->getTypeLoc().getSourceRange(); in CheckBaseSpecifier()
2213 SourceLocation BaseLoc = TInfo->getTypeLoc().getBeginLoc(); in CheckBaseSpecifier()
4071 << TInfo->getTypeLoc().getLocalSourceRange(); in BuildDelegatingInitializer()
4185 << BaseTInfo->getTypeLoc().getLocalSourceRange(); in BuildBaseInitializer()
5416 Visit(TSI->getTypeLoc(), Sema::AbstractNone); in Check()
8777 Diag(TSI->getTypeLoc().getBeginLoc(), in CheckDeductionGuideDeclarator()
8781 << TSI->getTypeLoc().getSourceRange(); in CheckDeductionGuideDeclarator()
14109 TSI->getTypeLoc().castAs<DependentNameTypeLoc>(); in ActOnTemplatedFriendTag()
15344 TypeLoc TL = TSInfo->getTypeLoc(); in checkThisInStaticMemberFunctionType()
[all …]
H A DSemaDeclObjC.cpp658 IDecl->setEndOfDefinitionLoc(SuperClassTInfo->getTypeLoc().getEndLoc()); in ActOnSuperClassOfClassInterface()
681 typeBoundInfo->getTypeLoc().getEndLoc()); in actOnObjCTypeParam()
682 Diag(typeBoundInfo->getTypeLoc().getBeginLoc(), in actOnObjCTypeParam()
690 builder.pushFullCopy(typeBoundInfo->getTypeLoc()); in actOnObjCTypeParam()
702 Diag(typeBoundInfo->getTypeLoc().getBeginLoc(), in actOnObjCTypeParam()
714 TypeLoc qual = typeBoundInfo->getTypeLoc().findExplicitQualifierLoc(); in actOnObjCTypeParam()
733 : typeBoundInfo->getTypeLoc().getBeginLoc(), in actOnObjCTypeParam()
919 ->getTypeLoc().getSourceRange(); in checkTypeParamListConsistency()
2286 return (TSI ? TSI->getTypeLoc().getSourceRange() : SourceRange()); in getTypeRange()
4597 ? DI->getTypeLoc().getBeginLoc() in ActOnMethodDeclaration()
H A DSemaTemplate.cpp861 TypeLoc TL = TInfo->getTypeLoc(); in ActOnTemplateTypeArgument()
894 TInfo->getTypeLoc().getBeginLoc()); in ActOnTemplateTypeArgument()
1678 TL.getTypedefNameDecl()->getTypeSourceInfo()->getTypeLoc()); in TransformTypedefType()
1785 TSI->getTypeLoc().castAs<FunctionProtoTypeLoc>(); in buildSimpleDeductionGuide()
2206 NewTypeParm->getDefaultArgumentInfo()->getTypeLoc() in CheckTemplateParameterList()
2504 return NNSLoc.getTypeLoc().getSourceRange(); in getRangeOfTypeInNestedNameSpecifier()
4928 Arg.getTypeSourceInfo()->getTypeLoc()); in CheckTemplateArgument()
5560 SourceRange SR = ArgInfo->getTypeLoc().getSourceRange(); in CheckTemplateArgument()
9167 Diag(T->getTypeLoc().getBeginLoc(), in ActOnExplicitInstantiation()
9235 Diag(T->getTypeLoc().getBeginLoc(), in ActOnExplicitInstantiation()
[all …]
H A DSemaTemplateInstantiate.cpp1643 TypeLoc TL = T->getTypeLoc().IgnoreParens(); in NeedsInstantiationAsFunctionType()
1681 TypeLoc TL = T->getTypeLoc(); in SubstFunctionDeclType()
1724 if (SubstExceptionSpec(New->getTypeSourceInfo()->getTypeLoc().getEndLoc(), in SubstExceptionSpec()
1740 TypeLoc OldTL = OldDI->getTypeLoc(); in SubstParmVarDecl()
1886 collectUnexpandedParameterPacks(Base.getTypeSourceInfo()->getTypeLoc(), in SubstBaseSpecifiers()
H A DSemaTemplateInstantiateDecl.cpp114 S.collectUnexpandedParameterPacks(Aligned->getAlignmentType()->getTypeLoc(), in instantiateDependentAlignedAttr()
1021 SourceLocation UnderlyingLoc = TI->getTypeLoc().getBeginLoc(); in VisitEnumDecl()
1058 SourceLocation UnderlyingLoc = TI->getTypeLoc().getBeginLoc(); in VisitEnumDecl()
2228 TypeLoc TL = D->getTypeSourceInfo()->getTypeLoc(); in VisitNonTypeTemplateParmDecl()
2380 S.collectUnexpandedParameterPacks(NTTP->getTypeSourceInfo()->getTypeLoc(), in collectUnexpandedParameterPacks()
2977 TemplateSpecializationTypeLoc Loc = D->getTypeAsWritten()->getTypeLoc(). in VisitClassTemplateSpecializationDecl()
3520 TypeLoc OldTL = OldTInfo->getTypeLoc().IgnoreParens(); in SubstFunctionType()
3524 TypeLoc NewTL = NewTInfo->getTypeLoc().IgnoreParens(); in SubstFunctionType()
4614 TypeLoc BaseTL = Init->getTypeSourceInfo()->getTypeLoc(); in InstantiateMemInitializers()
H A DTreeTransform.h4164 TypeLoc TL = DI->getTypeLoc(); in TransformType()
4216 TypeLoc TL = DI->getTypeLoc(); in TransformTypeWithDeducedTST()
4350 return TSI->getTypeLoc(); in TransformTypeInObjectScope()
4917 TransformType(TLB, DI->getTypeLoc()); in TransformDependentAddressSpaceType()
4980 TypeLoc OldTL = OldDI->getTypeLoc(); in TransformFunctionTypeParam()
4984 TypeLoc NewTL = OldDI->getTypeLoc(); in TransformFunctionTypeParam()
6367 TypeLoc TypeArgLoc = TypeArgInfo->getTypeLoc(); in TransformObjCObjectType()
10594 TypeLoc FromTL = From->getTypeLoc(); in TransformTypeTraitExpr()
10640 TLB.reserve(From->getTypeLoc().getFullDataSize()); in TransformTypeTraitExpr()
10694 TLB.reserve(From->getTypeLoc().getFullDataSize()); in TransformTypeTraitExpr()
[all …]
/freebsd-12.1/contrib/llvm/tools/clang/lib/Tooling/Refactoring/Rename/
H A DUSRLocFinder.cpp339 getSupportedDeclFromTypeLoc(NestedLoc.getTypeLoc())) { in VisitNestedNameSpecifierLocations()
342 EndLocationForType(NestedLoc.getTypeLoc()), in VisitNestedNameSpecifierLocations()
/freebsd-12.1/contrib/llvm/tools/clang/lib/StaticAnalyzer/Checkers/
H A DMallocSizeofChecker.cpp235 Ranges.push_back(TSI->getTypeLoc().getSourceRange()); in checkASTCodeBody()

123