Home
last modified time | relevance | path

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

123

/freebsd-12-stable/contrib/llvm-project/clang/include/clang/AST/
DRecursiveASTVisitor.h726 TRY_TO(TraverseTypeLoc(NNS.getTypeLoc()));
741 TRY_TO(TraverseTypeLoc(TSInfo->getTypeLoc()));
818 return getDerived().TraverseTypeLoc(TSI->getTypeLoc());
856 TRY_TO(TraverseTypeLoc(TInfo->getTypeLoc()));
1149 TRY_TO(TraverseTypeLoc(TSI->getTypeLoc()));
1262 TRY_TO(TraverseTypeLoc(TL.getUnderlyingTInfo()->getTypeLoc()));
1271 TRY_TO(TraverseTypeLoc(TL.getUnderlyingTInfo()->getTypeLoc()));
1351 TRY_TO(TraverseTypeLoc(TL.getTypeArgTInfo(i)->getTypeLoc()));
1426 TRY_TO(TraverseTypeLoc(TInfo->getTypeLoc()));
1455 TRY_TO(TraverseTypeLoc(D->getFriendType()->getTypeLoc()));
[all …]
DDeclFriend.h167 return SourceRange(StartL, TInfo->getTypeLoc().getEndLoc()); in getSourceRange()
DNestedNameSpecifier.h336 TypeLoc getTypeLoc() const;
/freebsd-12-stable/contrib/llvm-project/clang/lib/Index/
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-12-stable/contrib/llvm-project/clang/lib/AST/
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()
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()
DNestedNameSpecifier.cpp452 TypeLoc NestedNameSpecifierLoc::getTypeLoc() const { in getTypeLoc() function in NestedNameSpecifierLoc
655 SavePointer(TSInfo->getTypeLoc().getOpaqueData(), Buffer, BufferSize, in MakeTrivial()
DDeclTemplate.cpp652 ? getDefaultArgumentInfo()->getTypeLoc().getBeginLoc() in getDefaultArgumentLoc()
659 getDefaultArgumentInfo()->getTypeLoc().getEndLoc()); in getSourceRange()
975 End = getTypeAsWritten()->getTypeLoc().getEndLoc(); in getSourceRange()
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()
DExprObjC.cpp296 return getClassReceiverTypeInfo()->getTypeLoc().getSourceRange(); in getReceiverRange()
DDeclarationName.cpp520 return TInfo->getTypeLoc().getEndLoc(); in getEndLocPrivate()
/freebsd-12-stable/contrib/llvm-project/clang/lib/ARCMigrate/
DTransARCAssign.cpp60 TypeLoc TLoc = var->getTypeSourceInfo()->getTypeLoc(); in VisitBinaryOperator()
DTransGCAttrs.cpp63 TypeLoc TL = TInfo->getTypeLoc(); in lookForAttribute()
242 TypeLoc TL = TInfo->getTypeLoc(); in checkAllAtProps()
/freebsd-12-stable/contrib/llvm-project/clang/lib/Sema/
DTypeLocBuilder.h108 memcpy(DI->getTypeLoc().getOpaqueData(), &Buffer[Index], FullDataSize); in getTypeSourceInfo()
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()
DSemaType.cpp891 if (TypeLoc qual = typeArgInfo->getTypeLoc().findExplicitQualifierLoc()) { in applyObjCTypeArgs()
968 S.Diag(typeArgInfo->getTypeLoc().getBeginLoc(), in applyObjCTypeArgs()
996 S.Diag(typeArgInfo->getTypeLoc().getBeginLoc(), in applyObjCTypeArgs()
1014 S.Diag(typeArgInfo->getTypeLoc().getBeginLoc(), in applyObjCTypeArgs()
1016 << typeArg << typeArgInfo->getTypeLoc().getSourceRange(); in applyObjCTypeArgs()
1118 TypeLoc ResultTL = ResultTInfo->getTypeLoc(); in actOnObjCProtocolQualifierType()
1178 T, BaseTypeInfo->getTypeLoc().getSourceRange().getBegin(), in actOnObjCTypeArgsAndProtocolQualifiers()
1191 TypeLoc ResultTL = ResultTInfo->getTypeLoc(); in actOnObjCTypeArgsAndProtocolQualifiers()
1244 ObjCObjectTL.getBaseLoc().initializeFullCopy(BaseTypeInfo->getTypeLoc()); in actOnObjCTypeArgsAndProtocolQualifiers()
3254 AutoTypeLoc AutoLoc = TrailingTSI->getTypeLoc().getContainedAutoTypeLoc(); in InventTemplateParameter()
[all …]
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()
DSemaTemplate.cpp984 TypeLoc TL = TInfo->getTypeLoc(); in ActOnTemplateTypeArgument()
1017 TInfo->getTypeLoc().getBeginLoc()); in ActOnTemplateTypeArgument()
1252 Diag(NTTP->getTypeSourceInfo()->getTypeLoc().getBeginLoc(), in AttachTypeConstraint()
1254 << NTTP->getTypeSourceInfo()->getTypeLoc().getSourceRange(); in AttachTypeConstraint()
1554 if (AutoTypeLoc TL = TInfo->getTypeLoc().getContainedAutoTypeLoc()) in ActOnNonTypeTemplateParameter()
2107 TransformType(InnerTLB, OrigDecl->getTypeSourceInfo()->getTypeLoc()); in TransformTypedefType()
2204 FunctionProtoTypeLoc FPTL = CD->getTypeSourceInfo()->getTypeLoc() in transformConstructor()
2237 TSI->getTypeLoc().castAs<FunctionProtoTypeLoc>(); in buildSimpleDeductionGuide()
2375 if (auto PackTL = OldDI->getTypeLoc().getAs<PackExpansionTypeLoc>()) { in transformFunctionTypeParam()
2434 TInfo->getTypeLoc().castAs<FunctionProtoTypeLoc>().getParams();
[all …]
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()
2914 S.collectUnexpandedParameterPacks(NTTP->getTypeSourceInfo()->getTypeLoc(), in collectUnexpandedParameterPacks()
3620 TemplateSpecializationTypeLoc Loc = D->getTypeAsWritten()->getTypeLoc(). in VisitClassTemplateSpecializationDecl()
3887 auto OldLoc = TInfo->getTypeLoc().getAsAdjusted<FunctionProtoTypeLoc>(); in adjustForRewrite()
3889 auto NewLoc = NewTInfo->getTypeLoc().castAs<FunctionProtoTypeLoc>(); in adjustForRewrite()
[all …]
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()
DSemaDeclCXX.cpp1851 TypeLoc TL = TN->getTypeSourceInfo()->getTypeLoc(); in CheckConstexprDeclStmt()
2486 << TInfo->getTypeLoc().getSourceRange(); in CheckBaseSpecifier()
2490 SourceLocation BaseLoc = TInfo->getTypeLoc().getBeginLoc(); in CheckBaseSpecifier()
4249 TInfo->getTypeLoc().castAs<DependentNameTypeLoc>(); in BuildMemInitializer()
4313 ElaboratedTypeLoc TL = TInfo->getTypeLoc().castAs<ElaboratedTypeLoc>(); in BuildMemInitializer()
4406 SourceLocation NameLoc = TInfo->getTypeLoc().getLocalSourceRange().getBegin(); in BuildDelegatingInitializer()
4409 << TInfo->getTypeLoc().getLocalSourceRange(); in BuildDelegatingInitializer()
4465 = BaseTInfo->getTypeLoc().getLocalSourceRange().getBegin(); in BuildBaseInitializer()
4469 << BaseType << BaseTInfo->getTypeLoc().getLocalSourceRange(); in BuildBaseInitializer()
4523 << BaseTInfo->getTypeLoc().getLocalSourceRange(); in BuildBaseInitializer()
[all …]
DSemaLambda.cpp866 if (auto PETL = TSI->getTypeLoc().getAs<PackExpansionTypeLoc>()) in createLambdaInitCaptureVarDecl()
1408 ConvTSI->getTypeLoc().getAs<FunctionProtoTypeLoc>(); in addFunctionPointerConversion()
1415 ConvNamePtrToFunctionTSI->getTypeLoc().getAs<PointerTypeLoc>(); in addFunctionPointerConversion()
/freebsd-12-stable/contrib/llvm-project/clang/lib/Tooling/Refactoring/Rename/
DUSRLocFinder.cpp357 getSupportedDeclFromTypeLoc(NestedLoc.getTypeLoc())) { in VisitNestedNameSpecifierLocations()
360 EndLocationForType(NestedLoc.getTypeLoc()), in VisitNestedNameSpecifierLocations()
/freebsd-12-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
DMallocSizeofChecker.cpp238 Ranges.push_back(TSI->getTypeLoc().getSourceRange()); in checkASTCodeBody()
DDeadStoresChecker.cpp235 V->getTypeSourceInfo()->getTypeLoc().getEndLoc(), in Report()

123