| /openbsd-src/gnu/llvm/clang/include/clang/AST/ |
| H A D | RecursiveASTVisitor.h | 579 return getDerived().TraverseTypeLoc(R->getType()->getTypeLoc()); 807 TRY_TO(TraverseTypeLoc(NNS.getTypeLoc())); 822 TRY_TO(TraverseTypeLoc(TSInfo->getTypeLoc())); 898 return getDerived().TraverseTypeLoc(TSI->getTypeLoc()); 934 TRY_TO(TraverseTypeLoc(TInfo->getTypeLoc())); 1230 TRY_TO(TraverseTypeLoc(TSI->getTypeLoc())); 1344 TRY_TO(TraverseTypeLoc(TL.getUnmodifiedTInfo()->getTypeLoc())); 1353 TRY_TO(TraverseTypeLoc(TL.getUnderlyingTInfo()->getTypeLoc())); 1441 TRY_TO(TraverseTypeLoc(TL.getTypeArgTInfo(i)->getTypeLoc())); 1520 TRY_TO(TraverseTypeLoc(TInfo->getTypeLoc())); [all …]
|
| H A D | DeclFriend.h | 165 return SourceRange(StartL, TInfo->getTypeLoc().getEndLoc()); in getSourceRange()
|
| H A D | NestedNameSpecifier.h | 336 TypeLoc getTypeLoc() const;
|
| /openbsd-src/gnu/llvm/clang/lib/Index/ |
| H A D | IndexTypeSourceInfo.cpp | 93 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()
|
| /openbsd-src/gnu/llvm/clang/lib/ARCMigrate/ |
| H A D | TransARCAssign.cpp | 60 TypeLoc TLoc = var->getTypeSourceInfo()->getTypeLoc(); in VisitBinaryOperator()
|
| H A D | TransGCAttrs.cpp | 63 TypeLoc TL = TInfo->getTypeLoc(); in lookForAttribute() 242 TypeLoc TL = TInfo->getTypeLoc(); in checkAllAtProps()
|
| /openbsd-src/gnu/llvm/clang/lib/AST/ |
| H A D | Comment.cpp | 177 TypeLoc TL = MaybeFunctionTSI->getTypeLoc().getUnqualifiedLoc(); in getFunctionTypeLoc() 350 TypeLoc TL = TSI->getTypeLoc().getUnqualifiedLoc(); in fill()
|
| H A D | ExprCXX.cpp | 178 return TypeInfo ? TypeInfo->getTypeLoc().getBeginLoc() : getRParenLoc(); in getBeginLoc() 318 Location = Info->getTypeLoc().getBeginLoc(); in PseudoDestructorTypeStorage() 345 End = TInfo->getTypeLoc().getSourceRange().getEnd(); in getEndLoc() 870 return getTypeInfoAsWritten()->getTypeLoc().getBeginLoc(); in getBeginLoc() 1055 CXXTemporaryObjectExprClass, Ty, TSI->getTypeLoc().getBeginLoc(), in CXXTemporaryObjectExpr() 1091 return getTypeSourceInfo()->getTypeLoc().getBeginLoc(); in getBeginLoc() 1429 return TSI->getTypeLoc().getBeginLoc(); in getBeginLoc()
|
| H A D | NestedNameSpecifier.cpp | 453 TypeLoc NestedNameSpecifierLoc::getTypeLoc() const { in getTypeLoc() function in NestedNameSpecifierLoc 656 SavePointer(TSInfo->getTypeLoc().getOpaqueData(), Buffer, BufferSize, in MakeTrivial()
|
| H A D | Decl.cpp | 1926 if (TSI) return TSI->getTypeLoc().getBeginLoc(); in getTypeSpecStartLoc() 1932 if (TSI) return TSI->getTypeLoc().getEndLoc(); in getTypeSpecEndLoc() 2032 RangeEnd = TInfo->getTypeLoc().getSourceRange().getEnd(); in getSourceRange() 3644 return TSI ? TSI->getTypeLoc().IgnoreParens().getAs<FunctionTypeLoc>() in getFunctionTypeLoc() 4576 return TI->getTypeLoc().getSourceRange(); in getIntegerTypeRange() 4670 Res.setEnd(TSI->getTypeLoc().getEndLoc()); in getSourceRange() 5242 RangeEnd = TInfo->getTypeLoc().getSourceRange().getEnd(); in getSourceRange() 5250 RangeEnd = TInfo->getTypeLoc().getSourceRange().getEnd(); in getSourceRange()
|
| H A D | DeclarationName.cpp | 514 return TInfo->getTypeLoc().getEndLoc(); in getEndLocPrivate()
|
| H A D | ExprObjC.cpp | 283 return getClassReceiverTypeInfo()->getTypeLoc().getSourceRange(); in getReceiverRange()
|
| H A D | DeclTemplate.cpp | 673 ? getDefaultArgumentInfo()->getTypeLoc().getBeginLoc() in getDefaultArgumentLoc() 680 getDefaultArgumentInfo()->getTypeLoc().getEndLoc()); in getSourceRange() 1004 End = getTypeAsWritten()->getTypeLoc().getEndLoc(); in getSourceRange()
|
| /openbsd-src/gnu/llvm/clang/lib/Sema/ |
| H A D | TypeLocBuilder.h | 114 memcpy(DI->getTypeLoc().getOpaqueData(), &Buffer[Index], FullDataSize); in getTypeSourceInfo()
|
| H A D | SemaTemplateVariadic.cpp | 392 T->getTypeLoc()); in DiagnoseUnexpandedParameterPack() 611 Pattern->getTypeLoc().getSourceRange(), in CheckPackExpansion() 617 TLB.pushFullCopy(Pattern->getTypeLoc()); in CheckPackExpansion() 1071 ExpansionTSInfo->getTypeLoc().castAs<PackExpansionTypeLoc>(); in getTemplateArgumentPackExpansionPattern()
|
| H A D | SemaType.cpp | 884 if (TypeLoc qual = typeArgInfo->getTypeLoc().findExplicitQualifierLoc()) { in applyObjCTypeArgs() 963 S.Diag(typeArgInfo->getTypeLoc().getBeginLoc(), in applyObjCTypeArgs() 991 S.Diag(typeArgInfo->getTypeLoc().getBeginLoc(), in applyObjCTypeArgs() 1009 S.Diag(typeArgInfo->getTypeLoc().getBeginLoc(), in applyObjCTypeArgs() 1011 << typeArg << typeArgInfo->getTypeLoc().getSourceRange(); in applyObjCTypeArgs() 1108 TypeLoc ResultTL = ResultTInfo->getTypeLoc(); in actOnObjCProtocolQualifierType() 1168 T, BaseTypeInfo->getTypeLoc().getSourceRange().getBegin(), in actOnObjCTypeArgsAndProtocolQualifiers() 1182 TypeLoc ResultTL = ResultTInfo->getTypeLoc(); in actOnObjCTypeArgsAndProtocolQualifiers() 1235 ObjCObjectTL.getBaseLoc().initializeFullCopy(BaseTypeInfo->getTypeLoc()); in actOnObjCTypeArgsAndProtocolQualifiers() 3381 AutoTypeLoc AutoLoc = TrailingTSI->getTypeLoc().getContainedAutoTypeLoc(); in InventTemplateParameter() [all …]
|
| H A D | SemaTemplate.cpp | 990 TypeLoc TL = TInfo->getTypeLoc(); in ActOnTemplateTypeArgument() 1023 TInfo->getTypeLoc().getBeginLoc()); in ActOnTemplateTypeArgument() 1258 Diag(NTTP->getTypeSourceInfo()->getTypeLoc().getBeginLoc(), in AttachTypeConstraint() 1260 << NTTP->getTypeSourceInfo()->getTypeLoc().getSourceRange(); in AttachTypeConstraint() 1560 if (AutoTypeLoc TL = TInfo->getTypeLoc().getContainedAutoTypeLoc()) in ActOnNonTypeTemplateParameter() 2206 TransformType(InnerTLB, OrigDecl->getTypeSourceInfo()->getTypeLoc()); in TransformTypedefType() 2317 FunctionProtoTypeLoc FPTL = CD->getTypeSourceInfo()->getTypeLoc() in transformConstructor() 2350 TSI->getTypeLoc().castAs<FunctionProtoTypeLoc>(); in buildSimpleDeductionGuide() 2476 if (auto PackTL = OldDI->getTypeLoc().getAs<PackExpansionTypeLoc>()) { in transformFunctionTypeParam() 2535 TInfo->getTypeLoc().castAs<FunctionProtoTypeLoc>().getParams(); [all …]
|
| H A D | SemaTemplateInstantiateDecl.cpp | 118 S.collectUnexpandedParameterPacks(Aligned->getAlignmentType()->getTypeLoc(), in instantiateDependentAlignedAttr() 1438 SourceLocation UnderlyingLoc = TI->getTypeLoc().getBeginLoc(); in VisitEnumDecl() 1475 SourceLocation UnderlyingLoc = TI->getTypeLoc().getBeginLoc(); in VisitEnumDecl() 2867 TypeLoc TL = D->getTypeSourceInfo()->getTypeLoc(); in VisitNonTypeTemplateParmDecl() 2993 if (AutoTypeLoc AutoLoc = DI->getTypeLoc().getContainedAutoTypeLoc()) in VisitNonTypeTemplateParmDecl() 2998 ? DI->getTypeLoc().getAs<PackExpansionTypeLoc>() in VisitNonTypeTemplateParmDecl() 3030 S.collectUnexpandedParameterPacks(NTTP->getTypeSourceInfo()->getTypeLoc(), in collectUnexpandedParameterPacks() 3750 TemplateSpecializationTypeLoc Loc = D->getTypeAsWritten()->getTypeLoc(). in VisitClassTemplateSpecializationDecl() 4022 auto OldLoc = TInfo->getTypeLoc().getAsAdjusted<FunctionProtoTypeLoc>(); in adjustForRewrite() 4024 auto NewLoc = NewTInfo->getTypeLoc().castAs<FunctionProtoTypeLoc>(); in adjustForRewrite() [all …]
|
| H A D | SemaTemplateInstantiate.cpp | 2244 TemplateDeductionInfo Info(Req->getType()->getTypeLoc().getBeginLoc()); in TransformTypeRequirement() 2246 Req->getType()->getTypeLoc().getBeginLoc(), Req, Info, in TransformTypeRequirement() 2247 Req->getType()->getTypeLoc().getSourceRange()); in TransformTypeRequirement() 2481 TypeLoc TL = T->getTypeLoc().IgnoreParens(); in NeedsInstantiationAsFunctionType() 2521 TypeLoc TL = T->getTypeLoc(); in SubstFunctionDeclType() 2564 if (SubstExceptionSpec(New->getTypeSourceInfo()->getTypeLoc().getEndLoc(), in SubstExceptionSpec() 2700 TypeLoc OldTL = OldDI->getTypeLoc(); in SubstParmVarDecl() 2942 collectUnexpandedParameterPacks(Base.getTypeSourceInfo()->getTypeLoc(), in SubstBaseSpecifiers()
|
| H A D | SemaDeclObjC.cpp | 662 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 D | SemaDeclCXX.cpp | 1885 TypeLoc TL = TN->getTypeSourceInfo()->getTypeLoc(); in CheckConstexprDeclStmt() 2559 << TInfo->getTypeLoc().getSourceRange(); in CheckBaseSpecifier() 2563 SourceLocation BaseLoc = TInfo->getTypeLoc().getBeginLoc(); in CheckBaseSpecifier() 4334 TInfo->getTypeLoc().castAs<DependentNameTypeLoc>(); in BuildMemInitializer() 4414 ElaboratedTypeLoc TL = TInfo->getTypeLoc().castAs<ElaboratedTypeLoc>(); in BuildMemInitializer() 4513 SourceLocation NameLoc = TInfo->getTypeLoc().getSourceRange().getBegin(); in BuildDelegatingInitializer() 4516 << TInfo->getTypeLoc().getSourceRange(); in BuildDelegatingInitializer() 4577 SourceLocation BaseLoc = BaseTInfo->getTypeLoc().getBeginLoc(); in BuildBaseInitializer() 4581 << BaseType << BaseTInfo->getTypeLoc().getSourceRange(); in BuildBaseInitializer() 4640 << BaseTInfo->getTypeLoc().getSourceRange(); in BuildBaseInitializer() [all …]
|
| /openbsd-src/gnu/llvm/clang/lib/Tooling/Refactoring/Rename/ |
| H A D | USRLocFinder.cpp | 357 getSupportedDeclFromTypeLoc(NestedLoc.getTypeLoc())) { in VisitNestedNameSpecifierLocations() 360 EndLocationForType(NestedLoc.getTypeLoc()), in VisitNestedNameSpecifierLocations()
|
| /openbsd-src/gnu/llvm/clang/tools/libclang/ |
| H A D | CIndex.cpp | 560 return Visit(BaseTSInfo->getTypeLoc()); in VisitChildren() 571 A->getInterfaceLoc()->getTypeLoc().getBeginLoc(), TU)); in VisitChildren() 594 if (Visit(TSInfo->getTypeLoc())) in VisitBlockDecl() 700 return Visit(TSInfo->getTypeLoc()); in VisitTypeAliasDecl() 707 return Visit(TSInfo->getTypeLoc()); in VisitTypedefDecl() 734 TypeLoc TL = SpecType->getTypeLoc(); in VisitClassTemplateSpecializationDecl() 772 if (Visit(DefArg->getTypeLoc())) in VisitTemplateTypeParmDecl() 793 if (Visit(TSInfo->getTypeLoc())) in VisitDeclaratorDecl() 831 TypeLoc TL = TSInfo->getTypeLoc().IgnoreParens(); in VisitFunctionDecl() 894 if (Visit(TInfo->getTypeLoc())) in VisitFunctionDecl() [all …]
|
| /openbsd-src/gnu/llvm/clang/lib/StaticAnalyzer/Checkers/ |
| H A D | MallocSizeofChecker.cpp | 238 Ranges.push_back(TSI->getTypeLoc().getSourceRange()); in checkASTCodeBody()
|
| H A D | DeadStoresChecker.cpp | 232 V->getTypeSourceInfo()->getTypeLoc().getEndLoc(), in Report()
|