/external/clang/tools/libclang/ |
D | RecursiveASTVisitor.h | 611 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 …]
|
D | IndexTypeSourceInfo.cpp | 99 if (!TInfo || TInfo->getTypeLoc().isNull()) in indexTypeSourceInfo() 102 indexTypeLoc(TInfo->getTypeLoc(), Parent, DC); in indexTypeSourceInfo() 145 indexTypeLoc(NNS.getTypeLoc(), Parent, DC); in indexNestedNameSpecifierLoc()
|
D | CIndex.cpp | 523 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/ |
D | RecursiveASTVisitor.h | 669 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 …]
|
D | DeclFriend.h | 149 return SourceRange(StartL, TInfo->getTypeLoc().getEndLoc()); in getSourceRange()
|
D | NestedNameSpecifier.h | 300 TypeLoc getTypeLoc() const;
|
/external/clang/lib/Sema/ |
D | SemaTemplateVariadic.cpp | 261 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()
|
D | TypeLocBuilder.h | 112 memcpy(DI->getTypeLoc().getOpaqueData(), &Buffer[Index], FullDataSize); in getTypeSourceInfo()
|
D | SemaTemplateInstantiateDecl.cpp | 96 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()
|
D | SemaType.cpp | 3255 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()
|
D | SemaDeclCXX.cpp | 801 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 …]
|
D | SemaExpr.cpp | 1209 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 …]
|
D | SemaExprCXX.cpp | 792 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()
|
D | SemaTemplateInstantiate.cpp | 1572 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()
|
D | SemaExprObjC.cpp | 932 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/ |
D | TransARCAssign.cpp | 61 TypeLoc TLoc = var->getTypeSourceInfo()->getTypeLoc(); in VisitBinaryOperator()
|
D | TransGCAttrs.cpp | 64 TypeLoc TL = TInfo->getTypeLoc(); in lookForAttribute() 250 TypeLoc TL = TInfo->getTypeLoc(); in checkAllAtProps()
|
/external/clang/lib/AST/ |
D | TemplateBase.cpp | 425 return TSI->getTypeLoc().getSourceRange(); in getSourceRange() 467 ExpansionTSInfo->getTypeLoc().castAs<PackExpansionTypeLoc>(); in getPackExpansionPattern() 480 memcpy(PatternTSInfo->getTypeLoc().getOpaqueData(), in getPackExpansionPattern()
|
D | DumpXML.cpp | 559 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()
|
D | ExprCXX.cpp | 77 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()
|
D | NestedNameSpecifier.cpp | 387 TypeLoc NestedNameSpecifierLoc::getTypeLoc() const { in getTypeLoc() function in NestedNameSpecifierLoc 583 SavePointer(TSInfo->getTypeLoc().getOpaqueData(), Buffer, BufferSize, in MakeTrivial()
|
D | DeclTemplate.cpp | 474 ? DefaultArgument->getTypeLoc().getBeginLoc() in getDefaultArgumentLoc() 481 DefaultArgument->getTypeLoc().getEndLoc()); in getSourceRange() 776 End = getTypeAsWritten()->getTypeLoc().getEndLoc(); in getSourceRange()
|
D | Comment.cpp | 240 TypeLoc TL = TSI->getTypeLoc().getUnqualifiedLoc(); in fill()
|
D | DeclarationName.cpp | 579 return TInfo->getTypeLoc().getEndLoc(); in getEndLoc()
|
/external/clang/lib/StaticAnalyzer/Checkers/ |
D | MallocSizeofChecker.cpp | 233 Ranges.push_back(TSI->getTypeLoc().getSourceRange()); in checkASTCodeBody()
|