Home
last modified time | relevance | path

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

12

/NextBSD/contrib/llvm/tools/clang/include/clang/AST/
HDDataRecursiveASTVisitor.h654 TRY_TO(TraverseTypeLoc(NNS.getTypeLoc())); in TraverseNestedNameSpecifierLoc()
669 TRY_TO(TraverseTypeLoc(TSInfo->getTypeLoc())); in TraverseDeclarationNameInfo()
742 return getDerived().TraverseTypeLoc(TSI->getTypeLoc()); in TraverseTemplateArgumentLoc()
780 TRY_TO(TraverseTypeLoc(TInfo->getTypeLoc())); in TraverseConstructorInitializer()
1104 TRY_TO(TraverseTypeLoc(TL.getUnderlyingTInfo()->getTypeLoc()));
1113 TRY_TO(TraverseTypeLoc(TL.getUnderlyingTInfo()->getTypeLoc()));
1173 TRY_TO(TraverseTypeLoc(TL.getTypeArgTInfo(i)->getTypeLoc()));
1219 TRY_TO(TraverseTypeLoc(TInfo->getTypeLoc()));
1250 TRY_TO(TraverseTypeLoc(D->getFriendType()->getTypeLoc()));
1257 TRY_TO(TraverseTypeLoc(D->getFriendType()->getTypeLoc()));
[all …]
HDRecursiveASTVisitor.h723 TRY_TO(TraverseTypeLoc(NNS.getTypeLoc())); in TraverseNestedNameSpecifierLoc()
738 TRY_TO(TraverseTypeLoc(TSInfo->getTypeLoc())); in TraverseDeclarationNameInfo()
811 return getDerived().TraverseTypeLoc(TSI->getTypeLoc()); in TraverseTemplateArgumentLoc()
849 TRY_TO(TraverseTypeLoc(TInfo->getTypeLoc())); in TraverseConstructorInitializer()
1172 TRY_TO(TraverseTypeLoc(TL.getUnderlyingTInfo()->getTypeLoc()));
1181 TRY_TO(TraverseTypeLoc(TL.getUnderlyingTInfo()->getTypeLoc()));
1241 TRY_TO(TraverseTypeLoc(TL.getTypeArgTInfo(i)->getTypeLoc()));
1287 TRY_TO(TraverseTypeLoc(TInfo->getTypeLoc()));
1318 TRY_TO(TraverseTypeLoc(D->getFriendType()->getTypeLoc()));
1325 TRY_TO(TraverseTypeLoc(D->getFriendType()->getTypeLoc()));
[all …]
HDDeclFriend.h154 return SourceRange(StartL, TInfo->getTypeLoc().getEndLoc()); in getSourceRange()
HDNestedNameSpecifier.h318 TypeLoc getTypeLoc() const;
/NextBSD/contrib/llvm/tools/clang/lib/ARCMigrate/
HDTransARCAssign.cpp61 TypeLoc TLoc = var->getTypeSourceInfo()->getTypeLoc(); in VisitBinaryOperator()
HDTransGCAttrs.cpp64 TypeLoc TL = TInfo->getTypeLoc(); in lookForAttribute()
248 TypeLoc TL = TInfo->getTypeLoc(); in checkAllAtProps()
/NextBSD/contrib/llvm/tools/clang/lib/AST/
HDComment.cpp238 TypeLoc TL = TSI->getTypeLoc().getUnqualifiedLoc(); in fill()
294 TypeLoc TL = MaybeFunctionTSI->getTypeLoc().getUnqualifiedLoc(); in fill()
HDExprCXX.cpp132 return TypeInfo ? TypeInfo->getTypeLoc().getBeginLoc() : RParenLoc; in getLocStart()
232 Location = Info->getTypeLoc().getLocalSourceRange().getBegin(); in PseudoDestructorTypeStorage()
280 End = TInfo->getTypeLoc().getLocalSourceRange().getEnd(); in getLocEnd()
723 return getTypeInfoAsWritten()->getTypeLoc().getLocStart(); in getLocStart()
809 Type->getTypeLoc().getBeginLoc(), in CXXTemporaryObjectExpr()
820 return Type->getTypeLoc().getBeginLoc(); in getLocStart()
1191 return Type->getTypeLoc().getBeginLoc(); in getLocStart()
HDNestedNameSpecifier.cpp424 TypeLoc NestedNameSpecifierLoc::getTypeLoc() const { in getTypeLoc() function in NestedNameSpecifierLoc
628 SavePointer(TSInfo->getTypeLoc().getOpaqueData(), Buffer, BufferSize, in MakeTrivial()
HDDeclTemplate.cpp513 ? getDefaultArgumentInfo()->getTypeLoc().getBeginLoc() in getDefaultArgumentLoc()
520 getDefaultArgumentInfo()->getTypeLoc().getEndLoc()); in getSourceRange()
807 End = getTypeAsWritten()->getTypeLoc().getEndLoc(); in getSourceRange()
HDDecl.cpp1622 if (TSI) return TSI->getTypeLoc().getBeginLoc(); in getTypeSpecStartLoc()
1724 RangeEnd = TInfo->getTypeLoc().getSourceRange().getEnd(); in getSourceRange()
2824 TSI->getTypeLoc().IgnoreParens().getAs<FunctionTypeLoc>(); in getReturnTypeSourceRange()
3526 return TI->getTypeLoc().getSourceRange(); in getIntegerTypeRange()
3986 RangeEnd = TInfo->getTypeLoc().getSourceRange().getEnd(); in getSourceRange()
3994 RangeEnd = TInfo->getTypeLoc().getSourceRange().getEnd(); in getSourceRange()
HDTemplateBase.cpp441 return TSI->getTypeLoc().getSourceRange(); in getSourceRange()
HDDeclarationName.cpp578 return TInfo->getTypeLoc().getEndLoc(); in getEndLoc()
HDDeclObjC.cpp293 return superTInfo->getTypeLoc().getLocStart(); in getSuperClassLoc()
1029 return TSI->getTypeLoc().getSourceRange(); in getReturnTypeSourceRange()
1250 getTypeSourceInfo()->getTypeLoc().getEndLoc()); in getSourceRange()
/NextBSD/contrib/llvm/tools/clang/lib/Sema/
HDSemaTemplateVariadic.cpp275 T->getTypeLoc()); in DiagnoseUnexpandedParameterPack()
472 Pattern->getTypeLoc().getSourceRange(), in CheckPackExpansion()
478 TLB.pushFullCopy(Pattern->getTypeLoc()); in CheckPackExpansion()
889 ExpansionTSInfo->getTypeLoc().castAs<PackExpansionTypeLoc>(); in getTemplateArgumentPackExpansionPattern()
HDSemaType.cpp798 = typeArgInfo->getTypeLoc().findNullabilityLoc(); in applyObjCTypeArgs()
800 : typeArgInfo->getTypeLoc().getLocStart(); in applyObjCTypeArgs()
860 S.Diag(typeArgInfo->getTypeLoc().getLocStart(), in applyObjCTypeArgs()
888 S.Diag(typeArgInfo->getTypeLoc().getLocStart(), in applyObjCTypeArgs()
906 S.Diag(typeArgInfo->getTypeLoc().getLocStart(), in applyObjCTypeArgs()
909 << typeArgInfo->getTypeLoc().getSourceRange(); in applyObjCTypeArgs()
1037 TypeLoc ResultTL = ResultTInfo->getTypeLoc(); in actOnObjCProtocolQualifierType()
1097 T, BaseTypeInfo->getTypeLoc().getSourceRange().getBegin(), in actOnObjCTypeArgsAndProtocolQualifiers()
1110 TypeLoc ResultTL = ResultTInfo->getTypeLoc(); in actOnObjCTypeArgsAndProtocolQualifiers()
1149 ObjCObjectTL.getBaseLoc().initializeFullCopy(BaseTypeInfo->getTypeLoc()); in actOnObjCTypeArgsAndProtocolQualifiers()
[all …]
HDTypeLocBuilder.h111 memcpy(DI->getTypeLoc().getOpaqueData(), &Buffer[Index], FullDataSize); in getTypeSourceInfo()
HDSemaDeclObjC.cpp589 IDecl->setEndOfDefinitionLoc(SuperClassTInfo->getTypeLoc().getLocEnd()); in ActOnSuperClassOfClassInterface()
612 typeBoundInfo->getTypeLoc().getEndLoc()); in actOnObjCTypeParam()
613 Diag(typeBoundInfo->getTypeLoc().getBeginLoc(), in actOnObjCTypeParam()
621 builder.pushFullCopy(typeBoundInfo->getTypeLoc()); in actOnObjCTypeParam()
633 Diag(typeBoundInfo->getTypeLoc().getBeginLoc(), in actOnObjCTypeParam()
648 = typeBoundInfo->getTypeLoc().findNullabilityLoc(); in actOnObjCTypeParam()
651 : typeBoundInfo->getTypeLoc().getLocStart(); in actOnObjCTypeParam()
825 ->getTypeLoc().getSourceRange(); in checkTypeParamListConsistency()
2171 return (TSI ? TSI->getTypeLoc().getSourceRange() : SourceRange()); in getTypeRange()
4159 ? DI->getTypeLoc().getBeginLoc() in ActOnMethodDeclaration()
HDSemaDeclCXX.cpp890 TypeLoc TL = TN->getTypeSourceInfo()->getTypeLoc(); in CheckConstexprDeclStmt()
1371 << TInfo->getTypeLoc().getSourceRange(); in CheckBaseSpecifier()
1375 SourceLocation BaseLoc = TInfo->getTypeLoc().getBeginLoc(); in CheckBaseSpecifier()
3124 SourceLocation NameLoc = TInfo->getTypeLoc().getLocalSourceRange().getBegin(); in BuildDelegatingInitializer()
3127 << TInfo->getTypeLoc().getLocalSourceRange(); in BuildDelegatingInitializer()
3182 = BaseTInfo->getTypeLoc().getLocalSourceRange().getBegin(); in BuildBaseInitializer()
3186 << BaseType << BaseTInfo->getTypeLoc().getLocalSourceRange(); in BuildBaseInitializer()
3240 << BaseTInfo->getTypeLoc().getLocalSourceRange(); in BuildBaseInitializer()
3259 << BaseType << BaseTInfo->getTypeLoc().getLocalSourceRange(); in BuildBaseInitializer()
4568 if (TSI) Visit(TSI->getTypeLoc(), Sema::AbstractParamType); in Check()
[all …]
HDSemaTemplateInstantiateDecl.cpp111 S.collectUnexpandedParameterPacks(Aligned->getAlignmentType()->getTypeLoc(), in instantiateDependentAlignedAttr()
796 SourceLocation UnderlyingLoc = TI->getTypeLoc().getBeginLoc(); in VisitEnumDecl()
825 SourceLocation UnderlyingLoc = TI->getTypeLoc().getBeginLoc(); in VisitEnumDecl()
1943 TypeLoc TL = D->getTypeSourceInfo()->getTypeLoc(); in VisitNonTypeTemplateParmDecl()
2101 S.collectUnexpandedParameterPacks(NTTP->getTypeSourceInfo()->getTypeLoc(), in collectUnexpandedParameterPacks()
2491 TemplateSpecializationTypeLoc Loc = D->getTypeAsWritten()->getTypeLoc(). in VisitClassTemplateSpecializationDecl()
3029 TypeLoc OldTL = OldTInfo->getTypeLoc().IgnoreParens(); in SubstFunctionType()
3033 TypeLoc NewTL = NewTInfo->getTypeLoc().IgnoreParens(); in SubstFunctionType()
4036 TypeLoc BaseTL = Init->getTypeSourceInfo()->getTypeLoc(); in InstantiateMemInitializers()
HDSemaTemplateInstantiate.cpp1527 TypeLoc TL = T->getTypeLoc().IgnoreParens(); in NeedsInstantiationAsFunctionType()
1575 TypeLoc TL = T->getTypeLoc(); in SubstFunctionDeclType()
1612 New->getTypeSourceInfo()->getTypeLoc().getLocEnd(), ESI, in SubstExceptionSpec()
1628 TypeLoc OldTL = OldDI->getTypeLoc(); in SubstParmVarDecl()
1771 collectUnexpandedParameterPacks(Base.getTypeSourceInfo()->getTypeLoc(), in SubstBaseSpecifiers()
HDTreeTransform.h3224 TypeLoc TL = TransformTypeInObjectScope(Q.getTypeLoc(), ObjectType, in TransformNestedNameSpecifierLoc()
3731 TemporaryBase Rebase(*this, DI->getTypeLoc().getBeginLoc(), in TransformType()
3738 TypeLoc TL = DI->getTypeLoc(); in TransformType()
3850 return TSI->getTypeLoc(); in TransformTypeInObjectScope()
3863 return TransformTSIInObjectScope(TSInfo->getTypeLoc(), ObjectType, in TransformTypeInObjectScope()
4389 TypeLoc OldTL = OldDI->getTypeLoc(); in TransformFunctionTypeParam()
4393 TypeLoc NewTL = OldDI->getTypeLoc(); in TransformFunctionTypeParam()
4454 TypeLoc TL = OldParm->getTypeSourceInfo()->getTypeLoc(); in TransformFunctionTypeParams()
5641 TypeLoc TypeArgLoc = TypeArgInfo->getTypeLoc(); in TransformObjCObjectType()
8692 /*FIXME:*/T->getTypeLoc().getEndLoc(), in TransformCXXScalarValueInitExpr()
[all …]
HDSemaExprCXX.cpp1012 SourceLocation TyBeginLoc = TInfo->getTypeLoc().getBeginLoc(); in BuildCXXTypeConstructExpr()
1268 SourceRange TypeRange = AllocTypeInfo->getTypeLoc().getSourceRange(); in BuildCXXNew()
1336 Diag(AllocTypeInfo->getTypeLoc().getBeginLoc(), in BuildCXXNew()
4053 OpaqueValueExpr(Args[I]->getTypeLoc().getLocStart(), in evaluateTypeTrait()
5766 = DestructedTypeInfo->getTypeLoc().getLocalSourceRange().getBegin(); in BuildPseudoDestructorExpr()
5771 << DestructedTypeInfo->getTypeLoc().getLocalSourceRange(); in BuildPseudoDestructorExpr()
5787 << DestructedTypeInfo->getTypeLoc().getLocalSourceRange(); in BuildPseudoDestructorExpr()
5811 Diag(ScopeTypeInfo->getTypeLoc().getLocalSourceRange().getBegin(), in BuildPseudoDestructorExpr()
5814 << ScopeTypeInfo->getTypeLoc().getLocalSourceRange(); in BuildPseudoDestructorExpr()
HDSemaExpr.cpp1392 Diag(Types[i]->getTypeLoc().getBeginLoc(), D) in CreateGenericSelectionExpr()
1393 << Types[i]->getTypeLoc().getSourceRange() in CreateGenericSelectionExpr()
1404 Diag(Types[j]->getTypeLoc().getBeginLoc(), in CreateGenericSelectionExpr()
1406 << Types[j]->getTypeLoc().getSourceRange() in CreateGenericSelectionExpr()
1409 Diag(Types[i]->getTypeLoc().getBeginLoc(), in CreateGenericSelectionExpr()
1411 << Types[i]->getTypeLoc().getSourceRange() in CreateGenericSelectionExpr()
1450 Diag(Types[*I]->getTypeLoc().getBeginLoc(), in CreateGenericSelectionExpr()
1452 << Types[*I]->getTypeLoc().getSourceRange() in CreateGenericSelectionExpr()
4531 TypeLoc TL = PVD->getTypeSourceInfo()->getTypeLoc(); in DiagnoseCalleeStaticArrayParam()
10979 SourceRange TypeRange = TInfo->getTypeLoc().getLocalSourceRange(); in BuildBuiltinOffsetOf()
[all …]
/NextBSD/contrib/llvm/tools/clang/lib/StaticAnalyzer/Checkers/
HDMallocSizeofChecker.cpp235 Ranges.push_back(TSI->getTypeLoc().getSourceRange()); in checkASTCodeBody()

12