Home
last modified time | relevance | path

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

12

/external/clang/tools/libclang/
DRecursiveASTVisitor.h611 TRY_TO(TraverseTypeLoc(NNS.getTypeLoc())); in TraverseNestedNameSpecifierLoc()
626 TRY_TO(TraverseTypeLoc(TSInfo->getTypeLoc())); in TraverseDeclarationNameInfo()
699 return getDerived().TraverseTypeLoc(TSI->getTypeLoc()); in TraverseTemplateArgumentLoc()
738 TRY_TO(TraverseTypeLoc(TInfo->getTypeLoc())); in TraverseConstructorInitializer()
1073 TRY_TO(TraverseTypeLoc(TL.getUnderlyingTInfo()->getTypeLoc()));
1082 TRY_TO(TraverseTypeLoc(TL.getUnderlyingTInfo()->getTypeLoc()));
1194 TRY_TO(TraverseTypeLoc(TInfo->getTypeLoc()));
1213 TRY_TO(TraverseTypeLoc(D->getFriendType()->getTypeLoc()));
1220 TRY_TO(TraverseTypeLoc(D->getFriendType()->getTypeLoc()));
1301 TRY_TO(TraverseTypeLoc(D->getResultTypeSourceInfo()->getTypeLoc()));
[all …]
DIndexTypeSourceInfo.cpp99 if (!TInfo || TInfo->getTypeLoc().isNull()) in indexTypeSourceInfo()
102 indexTypeLoc(TInfo->getTypeLoc(), Parent, DC); in indexTypeSourceInfo()
145 indexTypeLoc(NNS.getTypeLoc(), Parent, DC); in indexNestedNameSpecifierLoc()
DCIndex.cpp523 return Visit(BaseTSInfo->getTypeLoc()); in VisitChildren()
556 if (Visit(TSInfo->getTypeLoc())) in VisitBlockDecl()
642 return Visit(TSInfo->getTypeLoc()); in VisitTypeAliasDecl()
649 return Visit(TSInfo->getTypeLoc()); in VisitTypedefDecl()
678 TypeLoc TL = SpecType->getTypeLoc(); in VisitClassTemplateSpecializationDecl()
713 if (Visit(DefArg->getTypeLoc())) in VisitTemplateTypeParmDecl()
727 if (Visit(TSInfo->getTypeLoc())) in VisitDeclaratorDecl()
757 TypeLoc TL = TSInfo->getTypeLoc().IgnoreParens(); in VisitFunctionDecl()
810 if (Visit(TInfo->getTypeLoc())) in VisitFunctionDecl()
890 if (Visit(TSInfo->getTypeLoc())) in VisitObjCMethodDecl()
[all …]
/external/clang/include/clang/AST/
DRecursiveASTVisitor.h669 TRY_TO(TraverseTypeLoc(NNS.getTypeLoc())); in TraverseNestedNameSpecifierLoc()
684 TRY_TO(TraverseTypeLoc(TSInfo->getTypeLoc())); in TraverseDeclarationNameInfo()
757 return getDerived().TraverseTypeLoc(TSI->getTypeLoc()); in TraverseTemplateArgumentLoc()
796 TRY_TO(TraverseTypeLoc(TInfo->getTypeLoc())); in TraverseConstructorInitializer()
1131 TRY_TO(TraverseTypeLoc(TL.getUnderlyingTInfo()->getTypeLoc()));
1140 TRY_TO(TraverseTypeLoc(TL.getUnderlyingTInfo()->getTypeLoc()));
1252 TRY_TO(TraverseTypeLoc(TInfo->getTypeLoc()));
1271 TRY_TO(TraverseTypeLoc(D->getFriendType()->getTypeLoc()));
1278 TRY_TO(TraverseTypeLoc(D->getFriendType()->getTypeLoc()));
1365 TRY_TO(TraverseTypeLoc(D->getResultTypeSourceInfo()->getTypeLoc()));
[all …]
DDeclFriend.h149 return SourceRange(StartL, TInfo->getTypeLoc().getEndLoc()); in getSourceRange()
DNestedNameSpecifier.h300 TypeLoc getTypeLoc() const;
/external/clang/lib/Sema/
DSemaTemplateVariadic.cpp261 T->getTypeLoc()); in DiagnoseUnexpandedParameterPack()
458 Pattern->getTypeLoc().getSourceRange(), in CheckPackExpansion()
465 TSResult->getTypeLoc().castAs<PackExpansionTypeLoc>(); in CheckPackExpansion()
470 Pattern->getTypeLoc().getOpaqueData(), in CheckPackExpansion()
471 Pattern->getTypeLoc().getFullDataSize()); in CheckPackExpansion()
DTypeLocBuilder.h112 memcpy(DI->getTypeLoc().getOpaqueData(), &Buffer[Index], FullDataSize); in getTypeSourceInfo()
DSemaTemplateInstantiateDecl.cpp96 S.collectUnexpandedParameterPacks(Aligned->getAlignmentType()->getTypeLoc(), in instantiateDependentAlignedAttr()
644 SourceLocation UnderlyingLoc = TI->getTypeLoc().getBeginLoc(); in VisitEnumDecl()
671 SourceLocation UnderlyingLoc = TI->getTypeLoc().getBeginLoc(); in VisitEnumDecl()
1713 TypeLoc TL = D->getTypeSourceInfo()->getTypeLoc(); in VisitNonTypeTemplateParmDecl()
1868 S.collectUnexpandedParameterPacks(NTTP->getTypeSourceInfo()->getTypeLoc(), in collectUnexpandedParameterPacks()
2377 TypeLoc OldTL = OldTInfo->getTypeLoc().IgnoreParens(); in SubstFunctionType()
2380 TypeLoc NewTL = NewTInfo->getTypeLoc().IgnoreParens(); in SubstFunctionType()
2414 TypeLoc OldTL = OldTInfo->getTypeLoc().IgnoreParens(); in SubstFunctionType()
3078 TypeLoc BaseTL = Init->getTypeSourceInfo()->getTypeLoc(); in InstantiateMemInitializers()
DSemaType.cpp3255 TypeLoc OldTL = TInfo->getTypeLoc(); in VisitTemplateSpecializationTypeLoc()
3311 TL.copy(TInfo->getTypeLoc().castAs<ElaboratedTypeLoc>()); in VisitElaboratedTypeLoc()
3327 TL.copy(TInfo->getTypeLoc().castAs<DependentNameTypeLoc>()); in VisitDependentNameTypeLoc()
3336 TInfo->getTypeLoc().castAs<DependentTemplateSpecializationTypeLoc>()); in VisitDependentTemplateSpecializationTypeLoc()
3348 TL.getValueLoc().initializeFullCopy(TInfo->getTypeLoc()); in VisitAtomicTypeLoc()
3393 TypeLoc ClsTL = ClsTInfo->getTypeLoc(); in VisitMemberPointerTypeLoc()
3412 NamedTL.initializeFullCopy(NNSLoc.getTypeLoc()); in VisitMemberPointerTypeLoc()
3414 ClsTL.initializeFullCopy(NNSLoc.getTypeLoc()); in VisitMemberPointerTypeLoc()
3483 UnqualTypeLoc CurrTL = TInfo->getTypeLoc().getUnqualifiedLoc(); in GetTypeSourceInfoForDeclarator()
3504 TypeLoc TL = ReturnTypeInfo->getTypeLoc(); in GetTypeSourceInfoForDeclarator()
DSemaDeclCXX.cpp801 TypeLoc TL = TN->getTypeSourceInfo()->getTypeLoc(); in CheckConstexprDeclStmt()
1099 << TInfo->getTypeLoc().getSourceRange(); in CheckBaseSpecifier()
1103 SourceLocation BaseLoc = TInfo->getTypeLoc().getBeginLoc(); in CheckBaseSpecifier()
2454 SourceLocation NameLoc = TInfo->getTypeLoc().getLocalSourceRange().getBegin(); in BuildDelegatingInitializer()
2457 << TInfo->getTypeLoc().getLocalSourceRange(); in BuildDelegatingInitializer()
2515 = BaseTInfo->getTypeLoc().getLocalSourceRange().getBegin(); in BuildBaseInitializer()
2519 << BaseType << BaseTInfo->getTypeLoc().getLocalSourceRange(); in BuildBaseInitializer()
2573 << BaseTInfo->getTypeLoc().getLocalSourceRange(); in BuildBaseInitializer()
2592 << BaseType << BaseTInfo->getTypeLoc().getLocalSourceRange(); in BuildBaseInitializer()
3835 if (TSI) Visit(TSI->getTypeLoc(), Sema::AbstractParamType); in Check()
[all …]
DSemaExpr.cpp1209 Diag(Types[i]->getTypeLoc().getBeginLoc(), D) in CreateGenericSelectionExpr()
1210 << Types[i]->getTypeLoc().getSourceRange() in CreateGenericSelectionExpr()
1221 Diag(Types[j]->getTypeLoc().getBeginLoc(), in CreateGenericSelectionExpr()
1223 << Types[j]->getTypeLoc().getSourceRange() in CreateGenericSelectionExpr()
1226 Diag(Types[i]->getTypeLoc().getBeginLoc(), in CreateGenericSelectionExpr()
1228 << Types[i]->getTypeLoc().getSourceRange() in CreateGenericSelectionExpr()
1269 Diag(Types[*I]->getTypeLoc().getBeginLoc(), in CreateGenericSelectionExpr()
1271 << Types[*I]->getTypeLoc().getSourceRange() in CreateGenericSelectionExpr()
3863 TypeLoc TL = PVD->getTypeSourceInfo()->getTypeLoc(); in DiagnoseCalleeStaticArrayParam()
9230 SourceRange TypeRange = TInfo->getTypeLoc().getLocalSourceRange(); in BuildBuiltinOffsetOf()
[all …]
DSemaExprCXX.cpp792 SourceLocation TyBeginLoc = TInfo->getTypeLoc().getBeginLoc(); in BuildCXXTypeConstructExpr()
1035 SourceRange TypeRange = AllocTypeInfo->getTypeLoc().getSourceRange(); in BuildCXXNew()
1113 Diag(AllocTypeInfo->getTypeLoc().getBeginLoc(), in BuildCXXNew()
3386 OpaqueValueExpr(Args[I]->getTypeLoc().getLocStart(), in evaluateTypeTrait()
5068 = DestructedTypeInfo->getTypeLoc().getLocalSourceRange().getBegin(); in BuildPseudoDestructorExpr()
5073 << DestructedTypeInfo->getTypeLoc().getLocalSourceRange(); in BuildPseudoDestructorExpr()
5089 << DestructedTypeInfo->getTypeLoc().getLocalSourceRange(); in BuildPseudoDestructorExpr()
5113 Diag(ScopeTypeInfo->getTypeLoc().getLocalSourceRange().getBegin(), in BuildPseudoDestructorExpr()
5116 << ScopeTypeInfo->getTypeLoc().getLocalSourceRange(); in BuildPseudoDestructorExpr()
DSemaTemplateInstantiate.cpp1572 TypeLoc TL = T->getTypeLoc().IgnoreParens(); in NeedsInstantiationAsFunctionType()
1616 TypeLoc TL = T->getTypeLoc(); in SubstFunctionDeclType()
1641 TypeLoc OldTL = OldDI->getTypeLoc(); in SubstParmVarDecl()
1769 collectUnexpandedParameterPacks(Base->getTypeSourceInfo()->getTypeLoc(), in SubstBaseSpecifiers()
DSemaExprObjC.cpp932 EncodedTypeInfo->getTypeLoc())) in BuildObjCEncodeExpression()
1926 : ReceiverTypeInfo->getTypeLoc().getSourceRange().getBegin(); in BuildClassMessage()
1962 : ReceiverTypeInfo->getTypeLoc().getSourceRange(); in BuildClassMessage()
3146 castRange = cast->getTypeInfoAsWritten()->getTypeLoc().getSourceRange(); in diagnoseARCUnbridgedCast()
3330 << TSInfo->getTypeLoc().getSourceRange(); in BuildObjCBridgedCast()
/external/clang/lib/ARCMigrate/
DTransARCAssign.cpp61 TypeLoc TLoc = var->getTypeSourceInfo()->getTypeLoc(); in VisitBinaryOperator()
DTransGCAttrs.cpp64 TypeLoc TL = TInfo->getTypeLoc(); in lookForAttribute()
250 TypeLoc TL = TInfo->getTypeLoc(); in checkAllAtProps()
/external/clang/lib/AST/
DTemplateBase.cpp425 return TSI->getTypeLoc().getSourceRange(); in getSourceRange()
467 ExpansionTSInfo->getTypeLoc().castAs<PackExpansionTypeLoc>(); in getPackExpansionPattern()
480 memcpy(PatternTSInfo->getTypeLoc().getOpaqueData(), in getPackExpansionPattern()
DDumpXML.cpp559 dispatch(D->getTypeSourceInfo()->getTypeLoc()); in visitTypedefDeclChildren()
567 dispatch(D->getTypeSourceInfo()->getTypeLoc()); in visitTypeAliasDeclChildren()
604 dispatch(I->getTypeSourceInfo()->getTypeLoc()); in visitCXXRecordDeclChildren()
701 dispatch(D->getDefaultArgumentInfo()->getTypeLoc()); in visitTemplateTypeParmDeclChildren()
730 dispatch(T->getTypeLoc()); in visitFriendDeclChildren()
DExprCXX.cpp77 return TypeInfo ? TypeInfo->getTypeLoc().getBeginLoc() : RParenLoc; in getLocStart()
172 Location = Info->getTypeLoc().getLocalSourceRange().getBegin(); in PseudoDestructorTypeStorage()
222 End = TInfo->getTypeLoc().getLocalSourceRange().getEnd(); in getLocEnd()
732 Type->getTypeLoc().getBeginLoc(), in CXXTemporaryObjectExpr()
741 return Type->getTypeLoc().getBeginLoc(); in getLocStart()
1075 return Type->getTypeLoc().getBeginLoc(); in getLocStart()
DNestedNameSpecifier.cpp387 TypeLoc NestedNameSpecifierLoc::getTypeLoc() const { in getTypeLoc() function in NestedNameSpecifierLoc
583 SavePointer(TSInfo->getTypeLoc().getOpaqueData(), Buffer, BufferSize, in MakeTrivial()
DDeclTemplate.cpp474 ? DefaultArgument->getTypeLoc().getBeginLoc() in getDefaultArgumentLoc()
481 DefaultArgument->getTypeLoc().getEndLoc()); in getSourceRange()
776 End = getTypeAsWritten()->getTypeLoc().getEndLoc(); in getSourceRange()
DComment.cpp240 TypeLoc TL = TSI->getTypeLoc().getUnqualifiedLoc(); in fill()
DDeclarationName.cpp579 return TInfo->getTypeLoc().getEndLoc(); in getEndLoc()
/external/clang/lib/StaticAnalyzer/Checkers/
DMallocSizeofChecker.cpp233 Ranges.push_back(TSI->getTypeLoc().getSourceRange()); in checkASTCodeBody()

12