Home
last modified time | relevance | path

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

123

/freebsd-13.1/contrib/llvm-project/clang/include/clang/AST/
H A DRecursiveASTVisitor.h726 TRY_TO(TraverseTypeLoc(NNS.getTypeLoc()));
741 TRY_TO(TraverseTypeLoc(TSInfo->getTypeLoc()));
856 TRY_TO(TraverseTypeLoc(TInfo->getTypeLoc()));
1149 TRY_TO(TraverseTypeLoc(TSI->getTypeLoc()));
1426 TRY_TO(TraverseTypeLoc(TInfo->getTypeLoc()));
1564 TRY_TO(TraverseTypeLoc(superTInfo->getTypeLoc()));
2062 TRY_TO(TraverseTypeLoc(TSI->getTypeLoc()));
2442 TRY_TO(TraverseTypeLoc(TSI->getTypeLoc()));
2619 TRY_TO(TraverseTypeLoc(ScopeInfo->getTypeLoc()));
2644 TRY_TO(TraverseTypeLoc(TInfo->getTypeLoc()));
[all …]
H A DDeclFriend.h167 return SourceRange(StartL, TInfo->getTypeLoc().getEndLoc()); in getSourceRange()
H A DNestedNameSpecifier.h336 TypeLoc getTypeLoc() const;
/freebsd-13.1/contrib/llvm-project/clang/lib/Index/
H A DIndexTypeSourceInfo.cpp83 TRY_TO(TraverseTypeLoc(D->getTypeSourceInfo()->getTypeLoc())); in traverseParamVarHelper()
240 if (!TInfo || TInfo->getTypeLoc().isNull()) in indexTypeSourceInfo()
243 indexTypeLoc(TInfo->getTypeLoc(), Parent, DC, isBase, isIBType); in indexTypeSourceInfo()
289 indexTypeLoc(NNS.getTypeLoc(), Parent, DC); in indexNestedNameSpecifierLoc()
/freebsd-13.1/contrib/llvm-project/clang/lib/AST/
H A DComment.cpp182 TypeLoc TL = MaybeFunctionTSI->getTypeLoc().getUnqualifiedLoc(); in getFunctionTypeLoc()
309 TypeLoc TL = TSI->getTypeLoc().getUnqualifiedLoc(); in fill()
333 TypeLoc TL = TSI->getTypeLoc().getUnqualifiedLoc(); in fill()
354 TypeLoc TL = TSI->getTypeLoc().getUnqualifiedLoc(); in fill()
H A DExprCXX.cpp177 return TypeInfo ? TypeInfo->getTypeLoc().getBeginLoc() : getRParenLoc(); in getBeginLoc()
317 Location = Info->getTypeLoc().getLocalSourceRange().getBegin(); in PseudoDestructorTypeStorage()
344 End = TInfo->getTypeLoc().getLocalSourceRange().getEnd(); in getEndLoc()
869 return getTypeInfoAsWritten()->getTypeLoc().getBeginLoc(); in getBeginLoc()
988 CXXTemporaryObjectExprClass, Ty, TSI->getTypeLoc().getBeginLoc(), in CXXTemporaryObjectExpr()
1022 return getTypeSourceInfo()->getTypeLoc().getBeginLoc(); in getBeginLoc()
1359 return TSI->getTypeLoc().getBeginLoc(); in getBeginLoc()
H A DNestedNameSpecifier.cpp452 TypeLoc NestedNameSpecifierLoc::getTypeLoc() const { in getTypeLoc() function in NestedNameSpecifierLoc
655 SavePointer(TSInfo->getTypeLoc().getOpaqueData(), Buffer, BufferSize, in MakeTrivial()
H A DDeclTemplate.cpp652 ? getDefaultArgumentInfo()->getTypeLoc().getBeginLoc() in getDefaultArgumentLoc()
659 getDefaultArgumentInfo()->getTypeLoc().getEndLoc()); in getSourceRange()
975 End = getTypeAsWritten()->getTypeLoc().getEndLoc(); in getSourceRange()
H A DExprObjC.cpp296 return getClassReceiverTypeInfo()->getTypeLoc().getSourceRange(); in getReceiverRange()
H A DDeclarationName.cpp520 return TInfo->getTypeLoc().getEndLoc(); in getEndLocPrivate()
H A DDecl.cpp1856 if (TSI) return TSI->getTypeLoc().getBeginLoc(); in getTypeSpecStartLoc()
1862 if (TSI) return TSI->getTypeLoc().getEndLoc(); in getTypeSpecEndLoc()
1962 RangeEnd = TInfo->getTypeLoc().getSourceRange().getEnd(); in getSourceRange()
3502 return TSI ? TSI->getTypeLoc().IgnoreParens().getAs<FunctionTypeLoc>() in getFunctionTypeLoc()
4398 return TI->getTypeLoc().getSourceRange(); in getIntegerTypeRange()
5012 RangeEnd = TInfo->getTypeLoc().getSourceRange().getEnd(); in getSourceRange()
5020 RangeEnd = TInfo->getTypeLoc().getSourceRange().getEnd(); in getSourceRange()
/freebsd-13.1/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-13.1/contrib/llvm-project/clang/lib/Sema/
H A DTypeLocBuilder.h108 memcpy(DI->getTypeLoc().getOpaqueData(), &Buffer[Index], FullDataSize); in getTypeSourceInfo()
H A DSemaTemplateVariadic.cpp392 T->getTypeLoc()); in DiagnoseUnexpandedParameterPack()
610 Pattern->getTypeLoc().getSourceRange(), in CheckPackExpansion()
616 TLB.pushFullCopy(Pattern->getTypeLoc()); in CheckPackExpansion()
1069 ExpansionTSInfo->getTypeLoc().castAs<PackExpansionTypeLoc>(); in getTemplateArgumentPackExpansionPattern()
H A DSemaType.cpp968 S.Diag(typeArgInfo->getTypeLoc().getBeginLoc(), in applyObjCTypeArgs()
996 S.Diag(typeArgInfo->getTypeLoc().getBeginLoc(), in applyObjCTypeArgs()
1014 S.Diag(typeArgInfo->getTypeLoc().getBeginLoc(), in applyObjCTypeArgs()
1118 TypeLoc ResultTL = ResultTInfo->getTypeLoc(); in actOnObjCProtocolQualifierType()
1191 TypeLoc ResultTL = ResultTInfo->getTypeLoc(); in actOnObjCTypeArgsAndProtocolQualifiers()
5121 TLB.pushFullCopy(TInfo->getTypeLoc()); in GetFullTypeForDeclarator()
5911 TL.copy(RepTInfo->getTypeLoc()); in VisitObjCObjectTypeLoc()
5916 TL.copy(RepTInfo->getTypeLoc()); in VisitObjCObjectPointerTypeLoc()
5929 TypeLoc OldTL = TInfo->getTypeLoc(); in VisitTemplateSpecializationTypeLoc()
6130 TypeLoc ClsTL = ClsTInfo->getTypeLoc(); in VisitMemberPointerTypeLoc()
[all …]
H A DSemaTemplateInstantiate.cpp1916 TemplateDeductionInfo Info(Req->getType()->getTypeLoc().getBeginLoc()); in TransformTypeRequirement()
1918 Req->getType()->getTypeLoc().getBeginLoc(), Req, Info, in TransformTypeRequirement()
1919 Req->getType()->getTypeLoc().getSourceRange()); in TransformTypeRequirement()
2134 TypeLoc TL = T->getTypeLoc().IgnoreParens(); in NeedsInstantiationAsFunctionType()
2172 TypeLoc TL = T->getTypeLoc(); in SubstFunctionDeclType()
2215 if (SubstExceptionSpec(New->getTypeSourceInfo()->getTypeLoc().getEndLoc(), in SubstExceptionSpec()
2319 TypeLoc OldTL = OldDI->getTypeLoc(); in SubstParmVarDecl()
2510 collectUnexpandedParameterPacks(Base.getTypeSourceInfo()->getTypeLoc(), in SubstBaseSpecifiers()
H A DSemaTemplate.cpp984 TypeLoc TL = TInfo->getTypeLoc(); in ActOnTemplateTypeArgument()
1017 TInfo->getTypeLoc().getBeginLoc()); in ActOnTemplateTypeArgument()
1252 Diag(NTTP->getTypeSourceInfo()->getTypeLoc().getBeginLoc(), in AttachTypeConstraint()
2237 TSI->getTypeLoc().castAs<FunctionProtoTypeLoc>(); in buildSimpleDeductionGuide()
3012 return NNSLoc.getTypeLoc().getSourceRange(); in getRangeOfTypeInNestedNameSpecifier()
5571 Context, Arg.getTypeSourceInfo()->getTypeLoc()); in CheckTemplateArgument()
6214 SourceRange SR = ArgInfo->getTypeLoc().getSourceRange(); in CheckTemplateArgument()
10054 Diag(T->getTypeLoc().getBeginLoc(), in ActOnExplicitInstantiation()
10129 Diag(T->getTypeLoc().getBeginLoc(), in ActOnExplicitInstantiation()
10492 TypeLoc EnableIfTy = NNS.getTypeLoc(); in isEnableIf()
[all …]
H A DSemaTemplateInstantiateDecl.cpp117 S.collectUnexpandedParameterPacks(Aligned->getAlignmentType()->getTypeLoc(), in instantiateDependentAlignedAttr()
1373 SourceLocation UnderlyingLoc = TI->getTypeLoc().getBeginLoc(); in VisitEnumDecl()
1410 SourceLocation UnderlyingLoc = TI->getTypeLoc().getBeginLoc(); in VisitEnumDecl()
2751 TypeLoc TL = D->getTypeSourceInfo()->getTypeLoc(); in VisitNonTypeTemplateParmDecl()
2877 if (AutoTypeLoc AutoLoc = DI->getTypeLoc().getContainedAutoTypeLoc()) in VisitNonTypeTemplateParmDecl()
2882 ? DI->getTypeLoc().getAs<PackExpansionTypeLoc>() in VisitNonTypeTemplateParmDecl()
3620 TemplateSpecializationTypeLoc Loc = D->getTypeAsWritten()->getTypeLoc(). in VisitClassTemplateSpecializationDecl()
3889 auto NewLoc = NewTInfo->getTypeLoc().castAs<FunctionProtoTypeLoc>(); in adjustForRewrite()
4276 TypeLoc OldTL = OldTInfo->getTypeLoc().IgnoreParens(); in SubstFunctionType()
4280 TypeLoc NewTL = NewTInfo->getTypeLoc().IgnoreParens(); in SubstFunctionType()
[all …]
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()
2308 return (TSI ? TSI->getTypeLoc().getSourceRange() : SourceRange()); in getTypeRange()
4775 ? DI->getTypeLoc().getBeginLoc() in ActOnMethodDeclaration()
H A DSemaDeclCXX.cpp1851 TypeLoc TL = TN->getTypeSourceInfo()->getTypeLoc(); in CheckConstexprDeclStmt()
2486 << TInfo->getTypeLoc().getSourceRange(); in CheckBaseSpecifier()
2490 SourceLocation BaseLoc = TInfo->getTypeLoc().getBeginLoc(); in CheckBaseSpecifier()
4409 << TInfo->getTypeLoc().getLocalSourceRange(); in BuildDelegatingInitializer()
4523 << BaseTInfo->getTypeLoc().getLocalSourceRange(); in BuildBaseInitializer()
5823 Visit(TSI->getTypeLoc(), Sema::AbstractNone); in Check()
10872 Diag(TSI->getTypeLoc().getBeginLoc(), in CheckDeductionGuideDeclarator()
10876 << TSI->getTypeLoc().getSourceRange(); in CheckDeductionGuideDeclarator()
16537 TSI->getTypeLoc().castAs<DependentNameTypeLoc>(); in ActOnTemplatedFriendTag()
17798 TypeLoc TL = TSInfo->getTypeLoc(); in checkThisInStaticMemberFunctionType()
[all …]
/freebsd-13.1/contrib/llvm-project/clang/lib/Tooling/Refactoring/Rename/
H A DUSRLocFinder.cpp357 getSupportedDeclFromTypeLoc(NestedLoc.getTypeLoc())) { in VisitNestedNameSpecifierLocations()
360 EndLocationForType(NestedLoc.getTypeLoc()), in VisitNestedNameSpecifierLocations()
/freebsd-13.1/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DMallocSizeofChecker.cpp238 Ranges.push_back(TSI->getTypeLoc().getSourceRange()); in checkASTCodeBody()
H A DDeadStoresChecker.cpp235 V->getTypeSourceInfo()->getTypeLoc().getEndLoc(), in Report()
/freebsd-13.1/contrib/llvm-project/clang/lib/Tooling/Syntax/
H A DBuildTree.cpp935 if (auto TL = NNSLoc.getTypeLoc()) { in getLocalSourceRange()
1002 const auto TL = NNSLoc.getTypeLoc().castAs<DecltypeTypeLoc>(); in buildNameSpecifier()
1583 Builder.sourceManager(), D->getTypeSourceInfo()->getTypeLoc(), in processDeclaratorAndDeclaration()

123