Home
last modified time | relevance | path

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

123

/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DRecursiveASTVisitor.h580 return getDerived().TraverseTypeLoc(R->getType()->getTypeLoc());
822 TRY_TO(TraverseTypeLoc(NNS.getTypeLoc()));
837 TRY_TO(TraverseTypeLoc(TSInfo->getTypeLoc()));
919 return getDerived().TraverseTypeLoc(TSI->getTypeLoc());
955 TRY_TO(TraverseTypeLoc(TInfo->getTypeLoc()));
1402 TRY_TO(TraverseTypeLoc(TL.getUnmodifiedTInfo()->getTypeLoc()));
1416 TRY_TO(TraverseTypeLoc(TL.getUnderlyingTInfo()->getTypeLoc()));
1510 TRY_TO(TraverseTypeLoc(TL.getTypeArgTInfo(i)->getTypeLoc()));
1589 TRY_TO(TraverseTypeLoc(TInfo->getTypeLoc()));
1629 TRY_TO(TraverseTypeLoc(D->getFriendType()->getTypeLoc()));
[all …]
H A DDeclFriend.h158 : TInfo->getTypeLoc().getEndLoc(); in getSourceRange()
H A DASTNodeTraverser.h386 Visit(T->getTypeSourceInfo()->getTypeLoc()); in VisitLocInfoType()
513 Visit(TL.getQualifierLoc().getTypeLoc()); in VisitMemberPointerTypeLoc()
585 Visit(TSI->getTypeLoc()); in VisitVarDecl()
H A DNestedNameSpecifier.h341 TypeLoc getTypeLoc() const;
/freebsd/contrib/llvm-project/clang/lib/Index/
H A DIndexTypeSourceInfo.cpp94 TRY_TO(TraverseTypeLoc(D->getTypeSourceInfo()->getTypeLoc())); in traverseParamVarHelper()
232 if (!TInfo || TInfo->getTypeLoc().isNull()) in indexTypeSourceInfo()
235 indexTypeLoc(TInfo->getTypeLoc(), Parent, DC, isBase, isIBType); in indexTypeSourceInfo()
280 indexTypeLoc(NNS.getTypeLoc(), Parent, DC); in indexNestedNameSpecifierLoc()
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaTypeTraits.cpp385 S.Diag(T->getTypeLoc().getBeginLoc(), diag::err_vla_unsupported) in DiagnoseVLAInCXXTypeTrait()
399 S.Diag(T->getTypeLoc().getBeginLoc(), diag::err_atomic_unsupported) in DiagnoseAtomicInCXXTypeTrait()
1181 if (Self.RequireCompleteType(TInfo->getTypeLoc().getBeginLoc(), T, in EvaluateUnaryTypeTrait()
1241 if (!Self.isCompleteType(Rhs->getTypeLoc().getBeginLoc(), RhsT) || in CheckConvertibilityForTypeTraits()
1242 Self.isAbstractType(Rhs->getTypeLoc().getBeginLoc(), RhsT)) in CheckConvertibilityForTypeTraits()
1285 SourceRange ArgRange = Args[0]->getTypeLoc().getSourceRange(); in EvaluateSizeTTypeTrait()
1382 OpaqueValueExpr(Args[I]->getTypeLoc().getBeginLoc(), in EvaluateBooleanTypeTrait()
1648 return Self.BuiltinIsBaseOf(Rhs->getTypeLoc().getBeginLoc(), LhsT, RhsT); in EvaluateBinaryTypeTrait()
1669 if (Self.RequireCompleteType(Rhs->getTypeLoc().getBeginLoc(), RhsT, in EvaluateBinaryTypeTrait()
1718 Lhs->getTypeLoc().getBeginLoc(), LhsT, in EvaluateBinaryTypeTrait()
[all …]
H A DSemaObjC.cpp72 D->getTypeSourceInfo()->getTypeLoc(), DeducedInit, FirstType, Info); in ActOnObjCForCollectionStmt()
85 D->getTypeSourceInfo()->getTypeLoc().getBeginLoc(); in ActOnObjCForCollectionStmt()
349 TypeLoc ResultTL = ResultTInfo->getTypeLoc(); in actOnObjCProtocolQualifierType()
405 T, BaseTypeInfo->getTypeLoc().getSourceRange().getBegin(), in actOnObjCTypeArgsAndProtocolQualifiers()
419 TypeLoc ResultTL = ResultTInfo->getTypeLoc(); in actOnObjCTypeArgsAndProtocolQualifiers()
472 ObjCObjectTL.getBaseLoc().initializeFullCopy(BaseTypeInfo->getTypeLoc()); in actOnObjCTypeArgsAndProtocolQualifiers()
553 if (TypeLoc qual = typeArgInfo->getTypeLoc().findExplicitQualifierLoc()) { in applyObjCTypeArgs()
629 S.Diag(typeArgInfo->getTypeLoc().getBeginLoc(), in applyObjCTypeArgs()
657 S.Diag(typeArgInfo->getTypeLoc().getBeginLoc(), in applyObjCTypeArgs()
680 S.Diag(typeArgInfo->getTypeLoc().getBeginLoc(), in applyObjCTypeArgs()
[all …]
H A DHeuristicResolver.cpp517 Target = T->getDecl()->getTypeSourceInfo()->getTypeLoc(); in getFunctionProtoTypeLoc()
521 Target = VD->getTypeSourceInfo()->getTypeLoc(); in getFunctionProtoTypeLoc()
526 Target = FD->getTypeSourceInfo()->getTypeLoc(); in getFunctionProtoTypeLoc()
H A DTypeLocBuilder.h117 memcpy(DI->getTypeLoc().getOpaqueData(), &Buffer[Index], FullDataSize); in getTypeSourceInfo()
H A DSemaTemplateDeductionGuide.cpp168 TransformType(InnerTLB, OrigDecl->getTypeSourceInfo()->getTypeLoc()); in TransformTypedefType()
211 TInfo->getTypeLoc().castAs<FunctionProtoTypeLoc>().getParams();
438 ->getTypeLoc() in transformConstructor()
521 TSI->getTypeLoc().castAs<FunctionProtoTypeLoc>(); in buildSimpleDeductionGuide()
627 if (auto PackTL = OldDI->getTypeLoc().getAs<PackExpansionTypeLoc>()) { in transformFunctionTypeParam()
1266 FunctionType->getTypeLoc().castAs<FunctionProtoTypeLoc>(); in DeclareImplicitDeductionGuidesForTypeAlias()
H A DSemaTemplateVariadic.cpp460 T->getTypeLoc()); in DiagnoseUnexpandedParameterPack()
694 Pattern->getTypeLoc().getSourceRange(), in CheckPackExpansion()
700 TLB.pushFullCopy(Pattern->getTypeLoc()); in CheckPackExpansion()
1263 ExpansionTSInfo->getTypeLoc().castAs<PackExpansionTypeLoc>(); in getTemplateArgumentPackExpansionPattern()
H A DSemaTemplateInstantiateDecl.cpp107 Result->getTypeLoc().getSourceRange())) in instantiateDependentAlignedAttr()
126 S.collectUnexpandedParameterPacks(Aligned->getAlignmentType()->getTypeLoc(), in instantiateDependentAlignedAttr()
1909 SemaRef.collectUnexpandedParameterPacks(Ty->getTypeLoc(), Unexpanded); in VisitFriendDecl()
2020 SourceLocation UnderlyingLoc = TI->getTypeLoc().getBeginLoc(); in VisitEnumDecl()
2079 SourceLocation UnderlyingLoc = TI->getTypeLoc().getBeginLoc(); in VisitEnumDecl()
3520 TypeLoc TL = D->getTypeSourceInfo()->getTypeLoc(); in VisitNonTypeTemplateParmDecl()
3646 if (AutoTypeLoc AutoLoc = DI->getTypeLoc().getContainedAutoTypeLoc()) in VisitNonTypeTemplateParmDecl()
3651 DI->getTypeLoc().getAs<PackExpansionTypeLoc>().getEllipsisLoc(); in VisitNonTypeTemplateParmDecl()
3691 S.collectUnexpandedParameterPacks(NTTP->getTypeSourceInfo()->getTypeLoc(), in collectUnexpandedParameterPacks()
4671 auto OldLoc = TInfo->getTypeLoc().getAsAdjusted<FunctionProtoTypeLoc>(); in adjustForRewrite()
[all …]
H A DSemaTemplateInstantiate.cpp1977 TypeLoc TL = OldParm->getTypeSourceInfo()->getTypeLoc(); in maybeInstantiateFunctionParameterToScope()
2828 TemplateDeductionInfo Info(Req->getType()->getTypeLoc().getBeginLoc()); in TransformTypeRequirement()
2830 Req->getType()->getTypeLoc().getBeginLoc(), Req, Info, in TransformTypeRequirement()
2831 Req->getType()->getTypeLoc().getSourceRange()); in TransformTypeRequirement()
3052 TypeLoc TL = T->getTypeLoc().IgnoreParens(); in NeedsInstantiationAsFunctionType()
3088 TypeLoc TL = T->getTypeLoc(); in SubstFunctionDeclType()
3131 if (SubstExceptionSpec(New->getTypeSourceInfo()->getTypeLoc().getEndLoc(), in SubstExceptionSpec()
3270 TypeLoc OldTL = OldDI->getTypeLoc(); in SubstParmVarDecl()
3504 collectUnexpandedParameterPacks(Base.getTypeSourceInfo()->getTypeLoc(), in SubstBaseSpecifiers()
H A DSemaDeclObjC.cpp661 IDecl->setEndOfDefinitionLoc(SuperClassTInfo->getTypeLoc().getEndLoc()); in ActOnSuperClassOfClassInterface()
683 SemaRef.getLocForEndOfToken(typeBoundInfo->getTypeLoc().getEndLoc()); in actOnObjCTypeParam()
684 Diag(typeBoundInfo->getTypeLoc().getBeginLoc(), in actOnObjCTypeParam()
692 builder.pushFullCopy(typeBoundInfo->getTypeLoc()); in actOnObjCTypeParam()
704 Diag(typeBoundInfo->getTypeLoc().getBeginLoc(), in actOnObjCTypeParam()
716 TypeLoc qual = typeBoundInfo->getTypeLoc().findExplicitQualifierLoc(); in actOnObjCTypeParam()
735 : typeBoundInfo->getTypeLoc().getBeginLoc(), in actOnObjCTypeParam()
923 ->getTypeLoc().getSourceRange(); in checkTypeParamListConsistency()
2351 return (TSI ? TSI->getTypeLoc().getSourceRange() : SourceRange()); in getTypeRange()
4757 DI ? DI->getTypeLoc().getBeginLoc() : ArgInfo.NameLoc; in ActOnMethodParmDeclaration()
[all …]
H A DSemaDeclCXX.cpp2025 TypeLoc TL = TN->getTypeSourceInfo()->getTypeLoc(); in CheckConstexprDeclStmt()
2725 SourceLocation BaseLoc = TInfo->getTypeLoc().getBeginLoc(); in CheckBaseSpecifier()
2733 << TInfo->getTypeLoc().getSourceRange(); in CheckBaseSpecifier()
4469 TInfo->getTypeLoc().castAs<DependentNameTypeLoc>(); in BuildMemInitializer()
4552 ElaboratedTypeLoc TL = TInfo->getTypeLoc().castAs<ElaboratedTypeLoc>(); in BuildMemInitializer()
4651 SourceLocation NameLoc = TInfo->getTypeLoc().getSourceRange().getBegin(); in BuildDelegatingInitializer()
4654 << TInfo->getTypeLoc().getSourceRange(); in BuildDelegatingInitializer()
4715 SourceLocation BaseLoc = BaseTInfo->getTypeLoc().getBeginLoc(); in BuildBaseInitializer()
4719 << BaseType << BaseTInfo->getTypeLoc().getSourceRange(); in BuildBaseInitializer()
4778 << BaseTInfo->getTypeLoc().getSourceRange(); in BuildBaseInitializer()
[all …]
/freebsd/contrib/llvm-project/clang/lib/Analysis/
H A DFixitUtil.cpp32 TypeLoc TyLoc = VD->getTypeSourceInfo()->getTypeLoc().getUnqualifiedLoc(); in getPointeeTypeText()
113 TypeLoc TyLoc = VD->getTypeSourceInfo()->getTypeLoc().getUnqualifiedLoc(); in getPointee2TypeText()
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DComment.cpp180 TypeLoc TL = MaybeFunctionTSI->getTypeLoc().getUnqualifiedLoc(); in getFunctionTypeLoc()
361 TypeLoc TL = TSI->getTypeLoc().getUnqualifiedLoc(); in fill()
H A DExprCXX.cpp224 return TypeInfo ? TypeInfo->getTypeLoc().getBeginLoc() : getRParenLoc(); in getBeginLoc()
368 Location = Info->getTypeLoc().getBeginLoc(); in PseudoDestructorTypeStorage()
395 End = TInfo->getTypeLoc().getSourceRange().getEnd(); in getEndLoc()
933 return getTypeInfoAsWritten()->getTypeLoc().getBeginLoc(); in getBeginLoc()
1122 CXXTemporaryObjectExprClass, Ty, TSI->getTypeLoc().getBeginLoc(), in CXXTemporaryObjectExpr()
1158 return getTypeSourceInfo()->getTypeLoc().getBeginLoc(); in getBeginLoc()
1493 return TypeAndInitForm.getPointer()->getTypeLoc().getBeginLoc(); in getBeginLoc()
H A DNestedNameSpecifier.cpp440 TypeLoc NestedNameSpecifierLoc::getTypeLoc() const { in getTypeLoc() function in NestedNameSpecifierLoc
638 SavePointer(TSInfo->getTypeLoc().getOpaqueData(), Buffer, BufferSize, in MakeTrivial()
H A DDeclarationName.cpp512 return TInfo->getTypeLoc().getEndLoc(); in getEndLocPrivate()
H A DExprObjC.cpp278 return getClassReceiverTypeInfo()->getTypeLoc().getSourceRange(); in getReceiverRange()
H A DDecl.cpp1989 if (TSI) return TSI->getTypeLoc().getBeginLoc(); in getTypeSpecStartLoc()
1995 if (TSI) return TSI->getTypeLoc().getEndLoc(); in getTypeSpecEndLoc()
2095 RangeEnd = TInfo->getTypeLoc().getSourceRange().getEnd(); in getSourceRange()
3940 TypeLoc TL = TSI->getTypeLoc(); in getFunctionTypeLoc()
4977 return TI->getTypeLoc().getSourceRange(); in getIntegerTypeRange()
5071 Res.setEnd(TSI->getTypeLoc().getEndLoc()); in getSourceRange()
5713 RangeEnd = TInfo->getTypeLoc().getSourceRange().getEnd(); in getSourceRange()
5721 RangeEnd = TInfo->getTypeLoc().getSourceRange().getEnd(); in getSourceRange()
/freebsd/contrib/llvm-project/clang/lib/Tooling/Refactoring/Rename/
H A DUSRLocFinder.cpp357 getSupportedDeclFromTypeLoc(NestedLoc.getTypeLoc())) { in VisitNestedNameSpecifierLocations()
360 EndLocationForType(NestedLoc.getTypeLoc()), in VisitNestedNameSpecifierLocations()
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DMallocSizeofChecker.cpp235 Ranges.push_back(TSI->getTypeLoc().getSourceRange()); in checkASTCodeBody()
H A DDeadStoresChecker.cpp231 V->getTypeSourceInfo()->getTypeLoc().getEndLoc(), in Report()

123