Searched refs:getTypeLoc (Results 1 – 25 of 53) sorted by relevance
123
618 TRY_TO(TraverseTypeLoc(NNS.getTypeLoc())); in TraverseNestedNameSpecifierLoc()633 TRY_TO(TraverseTypeLoc(TSInfo->getTypeLoc())); in TraverseDeclarationNameInfo()706 return getDerived().TraverseTypeLoc(TSI->getTypeLoc()); in TraverseTemplateArgumentLoc()745 TRY_TO(TraverseTypeLoc(TInfo->getTypeLoc())); in TraverseConstructorInitializer()1088 TRY_TO(TraverseTypeLoc(TL.getUnderlyingTInfo()->getTypeLoc()));1097 TRY_TO(TraverseTypeLoc(TL.getUnderlyingTInfo()->getTypeLoc()));1210 TRY_TO(TraverseTypeLoc(TInfo->getTypeLoc()));1237 TRY_TO(TraverseTypeLoc(D->getFriendType()->getTypeLoc()));1244 TRY_TO(TraverseTypeLoc(D->getFriendType()->getTypeLoc()));1325 TRY_TO(TraverseTypeLoc(D->getResultTypeSourceInfo()->getTypeLoc()));[all …]
99 if (!TInfo || TInfo->getTypeLoc().isNull()) in indexTypeSourceInfo()102 indexTypeLoc(TInfo->getTypeLoc(), Parent, DC); in indexTypeSourceInfo()145 indexTypeLoc(NNS.getTypeLoc(), Parent, DC); in indexNestedNameSpecifierLoc()
526 return Visit(BaseTSInfo->getTypeLoc()); in VisitChildren()559 if (Visit(TSInfo->getTypeLoc())) in VisitBlockDecl()645 return Visit(TSInfo->getTypeLoc()); in VisitTypeAliasDecl()652 return Visit(TSInfo->getTypeLoc()); in VisitTypedefDecl()681 TypeLoc TL = SpecType->getTypeLoc(); in VisitClassTemplateSpecializationDecl()716 if (Visit(DefArg->getTypeLoc())) in VisitTemplateTypeParmDecl()737 if (Visit(TSInfo->getTypeLoc())) in VisitDeclaratorDecl()774 TypeLoc TL = TSInfo->getTypeLoc().IgnoreParens(); in VisitFunctionDecl()827 if (Visit(TInfo->getTypeLoc())) in VisitFunctionDecl()907 if (Visit(TSInfo->getTypeLoc())) in VisitObjCMethodDecl()[all …]
684 TRY_TO(TraverseTypeLoc(NNS.getTypeLoc())); in TraverseNestedNameSpecifierLoc()699 TRY_TO(TraverseTypeLoc(TSInfo->getTypeLoc())); in TraverseDeclarationNameInfo()772 return getDerived().TraverseTypeLoc(TSI->getTypeLoc()); in TraverseTemplateArgumentLoc()811 TRY_TO(TraverseTypeLoc(TInfo->getTypeLoc())); in TraverseConstructorInitializer()1164 TRY_TO(TraverseTypeLoc(TL.getUnderlyingTInfo()->getTypeLoc()));1173 TRY_TO(TraverseTypeLoc(TL.getUnderlyingTInfo()->getTypeLoc()));1286 TRY_TO(TraverseTypeLoc(TInfo->getTypeLoc()));1313 TRY_TO(TraverseTypeLoc(D->getFriendType()->getTypeLoc()));1320 TRY_TO(TraverseTypeLoc(D->getFriendType()->getTypeLoc()));1407 TRY_TO(TraverseTypeLoc(D->getResultTypeSourceInfo()->getTypeLoc()));[all …]
149 return SourceRange(StartL, TInfo->getTypeLoc().getEndLoc()); in getSourceRange()
304 TypeLoc getTypeLoc() const;
61 TypeLoc TLoc = var->getTypeSourceInfo()->getTypeLoc(); in VisitBinaryOperator()
64 TypeLoc TL = TInfo->getTypeLoc(); in lookForAttribute()250 TypeLoc TL = TInfo->getTypeLoc(); in checkAllAtProps()
184 if (it->getTypeSourceInfo()->getTypeLoc().getTypeLocClass() == in CheckCtorDtorWeight()326 method->getTypeSourceInfo()->getTypeLoc().getSourceRange(); in CheckOverriddenMethod()356 it->getTypeSourceInfo()->getTypeLoc().getTypePtr()-> in CheckVirtualMethods()
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()
77 return TypeInfo ? TypeInfo->getTypeLoc().getBeginLoc() : RParenLoc; in getLocStart()175 Location = Info->getTypeLoc().getLocalSourceRange().getBegin(); in PseudoDestructorTypeStorage()224 End = TInfo->getTypeLoc().getLocalSourceRange().getEnd(); in getLocEnd()745 Type->getTypeLoc().getBeginLoc(), in CXXTemporaryObjectExpr()754 return Type->getTypeLoc().getBeginLoc(); in getLocStart()1100 return Type->getTypeLoc().getBeginLoc(); in getLocStart()
387 TypeLoc NestedNameSpecifierLoc::getTypeLoc() const { in getTypeLoc() function in NestedNameSpecifierLoc583 SavePointer(TSInfo->getTypeLoc().getOpaqueData(), Buffer, BufferSize, in MakeTrivial()
240 TypeLoc TL = TSI->getTypeLoc().getUnqualifiedLoc(); in fill()
490 ? DefaultArgument->getTypeLoc().getBeginLoc() in getDefaultArgumentLoc()497 DefaultArgument->getTypeLoc().getEndLoc()); in getSourceRange()792 End = getTypeAsWritten()->getTypeLoc().getEndLoc(); in getSourceRange()
426 return TSI->getTypeLoc().getSourceRange(); in getSourceRange()
567 return TInfo->getTypeLoc().getEndLoc(); in getEndLoc()
111 memcpy(DI->getTypeLoc().getOpaqueData(), &Buffer[Index], FullDataSize); in getTypeSourceInfo()
266 T->getTypeLoc()); in DiagnoseUnexpandedParameterPack()463 Pattern->getTypeLoc().getSourceRange(), in CheckPackExpansion()469 TLB.pushFullCopy(Pattern->getTypeLoc()); in CheckPackExpansion()868 ExpansionTSInfo->getTypeLoc().castAs<PackExpansionTypeLoc>(); in getTemplateArgumentPackExpansionPattern()
2708 DiagLoc = TInfo->getTypeLoc().getLocStart(); in GetFullTypeForDeclarator()2709 FixitLoc = S.PP.getLocForEndOfToken(TInfo->getTypeLoc().getLocEnd()); in GetFullTypeForDeclarator()2721 TLB.pushFullCopy(TInfo->getTypeLoc()); in GetFullTypeForDeclarator()3455 TypeLoc OldTL = TInfo->getTypeLoc(); in VisitTemplateSpecializationTypeLoc()3513 TL.copy(TInfo->getTypeLoc().castAs<ElaboratedTypeLoc>()); in VisitElaboratedTypeLoc()3529 TL.copy(TInfo->getTypeLoc().castAs<DependentNameTypeLoc>()); in VisitDependentNameTypeLoc()3538 TInfo->getTypeLoc().castAs<DependentTemplateSpecializationTypeLoc>()); in VisitDependentTemplateSpecializationTypeLoc()3553 TL.getValueLoc().initializeFullCopy(TInfo->getTypeLoc()); in VisitAtomicTypeLoc()3607 TypeLoc ClsTL = ClsTInfo->getTypeLoc(); in VisitMemberPointerTypeLoc()3626 NamedTL.initializeFullCopy(NNSLoc.getTypeLoc()); in VisitMemberPointerTypeLoc()[all …]
96 S.collectUnexpandedParameterPacks(Aligned->getAlignmentType()->getTypeLoc(), in instantiateDependentAlignedAttr()620 SourceLocation UnderlyingLoc = TI->getTypeLoc().getBeginLoc(); in VisitEnumDecl()647 SourceLocation UnderlyingLoc = TI->getTypeLoc().getBeginLoc(); in VisitEnumDecl()1769 TypeLoc TL = D->getTypeSourceInfo()->getTypeLoc(); in VisitNonTypeTemplateParmDecl()1924 S.collectUnexpandedParameterPacks(NTTP->getTypeSourceInfo()->getTypeLoc(), in collectUnexpandedParameterPacks()2695 TypeLoc OldTL = OldTInfo->getTypeLoc().IgnoreParens(); in SubstFunctionType()2699 TypeLoc NewTL = NewTInfo->getTypeLoc().IgnoreParens(); in SubstFunctionType()3662 TypeLoc BaseTL = Init->getTypeSourceInfo()->getTypeLoc(); in InstantiateMemInitializers()
831 TypeLoc TL = TN->getTypeSourceInfo()->getTypeLoc(); in CheckConstexprDeclStmt()1282 << TInfo->getTypeLoc().getSourceRange(); in CheckBaseSpecifier()1286 SourceLocation BaseLoc = TInfo->getTypeLoc().getBeginLoc(); in CheckBaseSpecifier()2619 SourceLocation NameLoc = TInfo->getTypeLoc().getLocalSourceRange().getBegin(); in BuildDelegatingInitializer()2622 << TInfo->getTypeLoc().getLocalSourceRange(); in BuildDelegatingInitializer()2677 = BaseTInfo->getTypeLoc().getLocalSourceRange().getBegin(); in BuildBaseInitializer()2681 << BaseType << BaseTInfo->getTypeLoc().getLocalSourceRange(); in BuildBaseInitializer()2735 << BaseTInfo->getTypeLoc().getLocalSourceRange(); in BuildBaseInitializer()2754 << BaseType << BaseTInfo->getTypeLoc().getLocalSourceRange(); in BuildBaseInitializer()4024 if (TSI) Visit(TSI->getTypeLoc(), Sema::AbstractParamType); in Check()[all …]
846 SourceLocation TyBeginLoc = TInfo->getTypeLoc().getBeginLoc(); in BuildCXXTypeConstructExpr()1097 SourceRange TypeRange = AllocTypeInfo->getTypeLoc().getSourceRange(); in BuildCXXNew()1171 Diag(AllocTypeInfo->getTypeLoc().getBeginLoc(), in BuildCXXNew()3540 OpaqueValueExpr(Args[I]->getTypeLoc().getLocStart(), in evaluateTypeTrait()5253 = DestructedTypeInfo->getTypeLoc().getLocalSourceRange().getBegin(); in BuildPseudoDestructorExpr()5258 << DestructedTypeInfo->getTypeLoc().getLocalSourceRange(); in BuildPseudoDestructorExpr()5274 << DestructedTypeInfo->getTypeLoc().getLocalSourceRange(); in BuildPseudoDestructorExpr()5298 Diag(ScopeTypeInfo->getTypeLoc().getLocalSourceRange().getBegin(), in BuildPseudoDestructorExpr()5301 << ScopeTypeInfo->getTypeLoc().getLocalSourceRange(); in BuildPseudoDestructorExpr()
927 EncodedTypeInfo->getTypeLoc())) in BuildObjCEncodeExpression()1151 range = TSI->getTypeLoc().getSourceRange(); in EmitRelatedResultTypeNoteForReturn()2030 : ReceiverTypeInfo->getTypeLoc().getSourceRange().getBegin(); in BuildClassMessage()2071 : ReceiverTypeInfo->getTypeLoc().getSourceRange(); in BuildClassMessage()3269 castRange = cast->getTypeInfoAsWritten()->getTypeLoc().getSourceRange(); in diagnoseARCUnbridgedCast()3453 << TSInfo->getTypeLoc().getSourceRange(); in BuildObjCBridgedCast()
1339 Diag(Types[i]->getTypeLoc().getBeginLoc(), D) in CreateGenericSelectionExpr()1340 << Types[i]->getTypeLoc().getSourceRange() in CreateGenericSelectionExpr()1351 Diag(Types[j]->getTypeLoc().getBeginLoc(), in CreateGenericSelectionExpr()1353 << Types[j]->getTypeLoc().getSourceRange() in CreateGenericSelectionExpr()1356 Diag(Types[i]->getTypeLoc().getBeginLoc(), in CreateGenericSelectionExpr()1358 << Types[i]->getTypeLoc().getSourceRange() in CreateGenericSelectionExpr()1398 Diag(Types[*I]->getTypeLoc().getBeginLoc(), in CreateGenericSelectionExpr()1400 << Types[*I]->getTypeLoc().getSourceRange() in CreateGenericSelectionExpr()4197 TypeLoc TL = PVD->getTypeSourceInfo()->getTypeLoc(); in DiagnoseCalleeStaticArrayParam()9756 SourceRange TypeRange = TInfo->getTypeLoc().getLocalSourceRange(); in BuildBuiltinOffsetOf()[all …]
233 Ranges.push_back(TSI->getTypeLoc().getSourceRange()); in checkASTCodeBody()