Home
last modified time | relevance | path

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

123

/netbsd-src/external/apache2/llvm/dist/clang/include/clang/AST/
H A DRecursiveASTVisitor.h728 TRY_TO(TraverseTypeLoc(NNS.getTypeLoc()));
743 TRY_TO(TraverseTypeLoc(TSInfo->getTypeLoc()));
820 return getDerived().TraverseTypeLoc(TSI->getTypeLoc());
858 TRY_TO(TraverseTypeLoc(TInfo->getTypeLoc()));
1151 TRY_TO(TraverseTypeLoc(TSI->getTypeLoc()));
1264 TRY_TO(TraverseTypeLoc(TL.getUnderlyingTInfo()->getTypeLoc()));
1273 TRY_TO(TraverseTypeLoc(TL.getUnderlyingTInfo()->getTypeLoc()));
1353 TRY_TO(TraverseTypeLoc(TL.getTypeArgTInfo(i)->getTypeLoc()));
1428 TRY_TO(TraverseTypeLoc(TInfo->getTypeLoc()));
1457 TRY_TO(TraverseTypeLoc(D->getFriendType()->getTypeLoc()));
[all …]
H A DDeclFriend.h167 return SourceRange(StartL, TInfo->getTypeLoc().getEndLoc()); in getSourceRange()
H A DNestedNameSpecifier.h336 TypeLoc getTypeLoc() const;
/netbsd-src/external/apache2/llvm/dist/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()
/netbsd-src/external/apache2/llvm/dist/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()
316 Location = Info->getTypeLoc().getLocalSourceRange().getBegin(); in PseudoDestructorTypeStorage()
343 End = TInfo->getTypeLoc().getLocalSourceRange().getEnd(); in getEndLoc()
867 return getTypeInfoAsWritten()->getTypeLoc().getBeginLoc(); in getBeginLoc()
986 CXXTemporaryObjectExprClass, Ty, TSI->getTypeLoc().getBeginLoc(), in CXXTemporaryObjectExpr()
1020 return getTypeSourceInfo()->getTypeLoc().getBeginLoc(); in getBeginLoc()
1358 return TSI->getTypeLoc().getBeginLoc(); in getBeginLoc()
H A DNestedNameSpecifier.cpp451 TypeLoc NestedNameSpecifierLoc::getTypeLoc() const { in getTypeLoc() function in NestedNameSpecifierLoc
654 SavePointer(TSInfo->getTypeLoc().getOpaqueData(), Buffer, BufferSize, in MakeTrivial()
H A DDeclTemplate.cpp651 ? getDefaultArgumentInfo()->getTypeLoc().getBeginLoc() in getDefaultArgumentLoc()
658 getDefaultArgumentInfo()->getTypeLoc().getEndLoc()); in getSourceRange()
974 End = getTypeAsWritten()->getTypeLoc().getEndLoc(); in getSourceRange()
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()
3509 return TSI ? TSI->getTypeLoc().IgnoreParens().getAs<FunctionTypeLoc>() in getFunctionTypeLoc()
4405 return TI->getTypeLoc().getSourceRange(); in getIntegerTypeRange()
5012 RangeEnd = TInfo->getTypeLoc().getSourceRange().getEnd(); in getSourceRange()
5020 RangeEnd = TInfo->getTypeLoc().getSourceRange().getEnd(); in getSourceRange()
H A DExprObjC.cpp296 return getClassReceiverTypeInfo()->getTypeLoc().getSourceRange(); in getReceiverRange()
H A DDeclarationName.cpp520 return TInfo->getTypeLoc().getEndLoc(); in getEndLocPrivate()
/netbsd-src/external/apache2/llvm/dist/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()
/netbsd-src/external/apache2/llvm/dist/clang/lib/Sema/
H A DTypeLocBuilder.h108 memcpy(DI->getTypeLoc().getOpaqueData(), &Buffer[Index], FullDataSize); in getTypeSourceInfo()
H A DSemaType.cpp890 if (TypeLoc qual = typeArgInfo->getTypeLoc().findExplicitQualifierLoc()) { in applyObjCTypeArgs()
967 S.Diag(typeArgInfo->getTypeLoc().getBeginLoc(), in applyObjCTypeArgs()
995 S.Diag(typeArgInfo->getTypeLoc().getBeginLoc(), in applyObjCTypeArgs()
1013 S.Diag(typeArgInfo->getTypeLoc().getBeginLoc(), in applyObjCTypeArgs()
1015 << typeArg << typeArgInfo->getTypeLoc().getSourceRange(); in applyObjCTypeArgs()
1117 TypeLoc ResultTL = ResultTInfo->getTypeLoc(); in actOnObjCProtocolQualifierType()
1177 T, BaseTypeInfo->getTypeLoc().getSourceRange().getBegin(), in actOnObjCTypeArgsAndProtocolQualifiers()
1190 TypeLoc ResultTL = ResultTInfo->getTypeLoc(); in actOnObjCTypeArgsAndProtocolQualifiers()
1243 ObjCObjectTL.getBaseLoc().initializeFullCopy(BaseTypeInfo->getTypeLoc()); in actOnObjCTypeArgsAndProtocolQualifiers()
3221 AutoTypeLoc AutoLoc = TrailingTSI->getTypeLoc().getContainedAutoTypeLoc(); in InventTemplateParameter()
[all …]
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 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()
2135 TypeLoc TL = T->getTypeLoc().IgnoreParens(); in NeedsInstantiationAsFunctionType()
2173 TypeLoc TL = T->getTypeLoc(); in SubstFunctionDeclType()
2216 if (SubstExceptionSpec(New->getTypeSourceInfo()->getTypeLoc().getEndLoc(), in SubstExceptionSpec()
2320 TypeLoc OldTL = OldDI->getTypeLoc(); in SubstParmVarDecl()
2511 collectUnexpandedParameterPacks(Base.getTypeSourceInfo()->getTypeLoc(), in SubstBaseSpecifiers()
H A DSemaTemplateInstantiateDecl.cpp115 S.collectUnexpandedParameterPacks(Aligned->getAlignmentType()->getTypeLoc(), in instantiateDependentAlignedAttr()
1318 SourceLocation UnderlyingLoc = TI->getTypeLoc().getBeginLoc(); in VisitEnumDecl()
1355 SourceLocation UnderlyingLoc = TI->getTypeLoc().getBeginLoc(); in VisitEnumDecl()
2672 TypeLoc TL = D->getTypeSourceInfo()->getTypeLoc(); in VisitNonTypeTemplateParmDecl()
2798 if (AutoTypeLoc AutoLoc = DI->getTypeLoc().getContainedAutoTypeLoc()) in VisitNonTypeTemplateParmDecl()
2803 ? DI->getTypeLoc().getAs<PackExpansionTypeLoc>() in VisitNonTypeTemplateParmDecl()
2835 S.collectUnexpandedParameterPacks(NTTP->getTypeSourceInfo()->getTypeLoc(), in collectUnexpandedParameterPacks()
3496 TemplateSpecializationTypeLoc Loc = D->getTypeAsWritten()->getTypeLoc(). in VisitClassTemplateSpecializationDecl()
3763 auto OldLoc = TInfo->getTypeLoc().getAsAdjusted<FunctionProtoTypeLoc>(); in adjustForRewrite()
3765 auto NewLoc = NewTInfo->getTypeLoc().castAs<FunctionProtoTypeLoc>(); in adjustForRewrite()
[all …]
H A 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 …]
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()
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 …]
/netbsd-src/external/apache2/llvm/dist/clang/lib/Tooling/Refactoring/Rename/
H A DUSRLocFinder.cpp357 getSupportedDeclFromTypeLoc(NestedLoc.getTypeLoc())) { in VisitNestedNameSpecifierLocations()
360 EndLocationForType(NestedLoc.getTypeLoc()), in VisitNestedNameSpecifierLocations()
/netbsd-src/external/apache2/llvm/dist/clang/tools/libclang/
H A DCIndex.cpp559 return Visit(BaseTSInfo->getTypeLoc()); in VisitChildren()
570 A->getInterfaceLoc()->getTypeLoc().getBeginLoc(), TU)); in VisitChildren()
593 if (Visit(TSInfo->getTypeLoc())) in VisitBlockDecl()
699 return Visit(TSInfo->getTypeLoc()); in VisitTypeAliasDecl()
706 return Visit(TSInfo->getTypeLoc()); in VisitTypedefDecl()
733 TypeLoc TL = SpecType->getTypeLoc(); in VisitClassTemplateSpecializationDecl()
771 if (Visit(DefArg->getTypeLoc())) in VisitTemplateTypeParmDecl()
792 if (Visit(TSInfo->getTypeLoc())) in VisitDeclaratorDecl()
830 TypeLoc TL = TSInfo->getTypeLoc().IgnoreParens(); in VisitFunctionDecl()
888 if (Visit(TInfo->getTypeLoc())) in VisitFunctionDecl()
[all …]
/netbsd-src/external/apache2/llvm/dist/clang/lib/StaticAnalyzer/Checkers/
H A DMallocSizeofChecker.cpp234 Ranges.push_back(TSI->getTypeLoc().getSourceRange()); in checkASTCodeBody()
H A DDeadStoresChecker.cpp235 V->getTypeSourceInfo()->getTypeLoc().getEndLoc(), in Report()

123