Lines Matching refs:AddSourceLocation
174 Writer.AddSourceLocation(T->getLBracketLoc(), Record); in VisitVariableArrayType()
175 Writer.AddSourceLocation(T->getRBracketLoc(), Record); in VisitVariableArrayType()
474 Writer.AddSourceLocation(TL.getBuiltinLoc(), Record); in VisitBuiltinTypeLoc()
483 Writer.AddSourceLocation(TL.getNameLoc(), Record); in VisitComplexTypeLoc()
486 Writer.AddSourceLocation(TL.getStarLoc(), Record); in VisitPointerTypeLoc()
495 Writer.AddSourceLocation(TL.getCaretLoc(), Record); in VisitBlockPointerTypeLoc()
498 Writer.AddSourceLocation(TL.getAmpLoc(), Record); in VisitLValueReferenceTypeLoc()
501 Writer.AddSourceLocation(TL.getAmpAmpLoc(), Record); in VisitRValueReferenceTypeLoc()
504 Writer.AddSourceLocation(TL.getStarLoc(), Record); in VisitMemberPointerTypeLoc()
508 Writer.AddSourceLocation(TL.getLBracketLoc(), Record); in VisitArrayTypeLoc()
509 Writer.AddSourceLocation(TL.getRBracketLoc(), Record); in VisitArrayTypeLoc()
529 Writer.AddSourceLocation(TL.getNameLoc(), Record); in VisitDependentSizedExtVectorTypeLoc()
532 Writer.AddSourceLocation(TL.getNameLoc(), Record); in VisitVectorTypeLoc()
535 Writer.AddSourceLocation(TL.getNameLoc(), Record); in VisitExtVectorTypeLoc()
538 Writer.AddSourceLocation(TL.getLocalRangeBegin(), Record); in VisitFunctionTypeLoc()
539 Writer.AddSourceLocation(TL.getLParenLoc(), Record); in VisitFunctionTypeLoc()
540 Writer.AddSourceLocation(TL.getRParenLoc(), Record); in VisitFunctionTypeLoc()
541 Writer.AddSourceLocation(TL.getLocalRangeEnd(), Record); in VisitFunctionTypeLoc()
552 Writer.AddSourceLocation(TL.getNameLoc(), Record); in VisitUnresolvedUsingTypeLoc()
555 Writer.AddSourceLocation(TL.getNameLoc(), Record); in VisitTypedefTypeLoc()
558 Writer.AddSourceLocation(TL.getTypeofLoc(), Record); in VisitTypeOfExprTypeLoc()
559 Writer.AddSourceLocation(TL.getLParenLoc(), Record); in VisitTypeOfExprTypeLoc()
560 Writer.AddSourceLocation(TL.getRParenLoc(), Record); in VisitTypeOfExprTypeLoc()
563 Writer.AddSourceLocation(TL.getTypeofLoc(), Record); in VisitTypeOfTypeLoc()
564 Writer.AddSourceLocation(TL.getLParenLoc(), Record); in VisitTypeOfTypeLoc()
565 Writer.AddSourceLocation(TL.getRParenLoc(), Record); in VisitTypeOfTypeLoc()
569 Writer.AddSourceLocation(TL.getNameLoc(), Record); in VisitDecltypeTypeLoc()
572 Writer.AddSourceLocation(TL.getKWLoc(), Record); in VisitUnaryTransformTypeLoc()
573 Writer.AddSourceLocation(TL.getLParenLoc(), Record); in VisitUnaryTransformTypeLoc()
574 Writer.AddSourceLocation(TL.getRParenLoc(), Record); in VisitUnaryTransformTypeLoc()
578 Writer.AddSourceLocation(TL.getNameLoc(), Record); in VisitAutoTypeLoc()
581 Writer.AddSourceLocation(TL.getNameLoc(), Record); in VisitRecordTypeLoc()
584 Writer.AddSourceLocation(TL.getNameLoc(), Record); in VisitEnumTypeLoc()
587 Writer.AddSourceLocation(TL.getAttrNameLoc(), Record); in VisitAttributedTypeLoc()
590 Writer.AddSourceLocation(range.getBegin(), Record); in VisitAttributedTypeLoc()
591 Writer.AddSourceLocation(range.getEnd(), Record); in VisitAttributedTypeLoc()
598 Writer.AddSourceLocation(TL.getAttrEnumOperandLoc(), Record); in VisitAttributedTypeLoc()
602 Writer.AddSourceLocation(TL.getNameLoc(), Record); in VisitTemplateTypeParmTypeLoc()
606 Writer.AddSourceLocation(TL.getNameLoc(), Record); in VisitSubstTemplateTypeParmTypeLoc()
610 Writer.AddSourceLocation(TL.getNameLoc(), Record); in VisitSubstTemplateTypeParmPackTypeLoc()
614 Writer.AddSourceLocation(TL.getTemplateKeywordLoc(), Record); in VisitTemplateSpecializationTypeLoc()
615 Writer.AddSourceLocation(TL.getTemplateNameLoc(), Record); in VisitTemplateSpecializationTypeLoc()
616 Writer.AddSourceLocation(TL.getLAngleLoc(), Record); in VisitTemplateSpecializationTypeLoc()
617 Writer.AddSourceLocation(TL.getRAngleLoc(), Record); in VisitTemplateSpecializationTypeLoc()
623 Writer.AddSourceLocation(TL.getLParenLoc(), Record); in VisitParenTypeLoc()
624 Writer.AddSourceLocation(TL.getRParenLoc(), Record); in VisitParenTypeLoc()
627 Writer.AddSourceLocation(TL.getElaboratedKeywordLoc(), Record); in VisitElaboratedTypeLoc()
631 Writer.AddSourceLocation(TL.getNameLoc(), Record); in VisitInjectedClassNameTypeLoc()
634 Writer.AddSourceLocation(TL.getElaboratedKeywordLoc(), Record); in VisitDependentNameTypeLoc()
636 Writer.AddSourceLocation(TL.getNameLoc(), Record); in VisitDependentNameTypeLoc()
640 Writer.AddSourceLocation(TL.getElaboratedKeywordLoc(), Record); in VisitDependentTemplateSpecializationTypeLoc()
642 Writer.AddSourceLocation(TL.getTemplateKeywordLoc(), Record); in VisitDependentTemplateSpecializationTypeLoc()
643 Writer.AddSourceLocation(TL.getTemplateNameLoc(), Record); in VisitDependentTemplateSpecializationTypeLoc()
644 Writer.AddSourceLocation(TL.getLAngleLoc(), Record); in VisitDependentTemplateSpecializationTypeLoc()
645 Writer.AddSourceLocation(TL.getRAngleLoc(), Record); in VisitDependentTemplateSpecializationTypeLoc()
651 Writer.AddSourceLocation(TL.getEllipsisLoc(), Record); in VisitPackExpansionTypeLoc()
654 Writer.AddSourceLocation(TL.getNameLoc(), Record); in VisitObjCInterfaceTypeLoc()
658 Writer.AddSourceLocation(TL.getTypeArgsLAngleLoc(), Record); in VisitObjCObjectTypeLoc()
659 Writer.AddSourceLocation(TL.getTypeArgsRAngleLoc(), Record); in VisitObjCObjectTypeLoc()
662 Writer.AddSourceLocation(TL.getProtocolLAngleLoc(), Record); in VisitObjCObjectTypeLoc()
663 Writer.AddSourceLocation(TL.getProtocolRAngleLoc(), Record); in VisitObjCObjectTypeLoc()
665 Writer.AddSourceLocation(TL.getProtocolLoc(i), Record); in VisitObjCObjectTypeLoc()
668 Writer.AddSourceLocation(TL.getStarLoc(), Record); in VisitObjCObjectPointerTypeLoc()
671 Writer.AddSourceLocation(TL.getKWLoc(), Record); in VisitAtomicTypeLoc()
672 Writer.AddSourceLocation(TL.getLParenLoc(), Record); in VisitAtomicTypeLoc()
673 Writer.AddSourceLocation(TL.getRParenLoc(), Record); in VisitAtomicTypeLoc()
1286 AddSourceLocation(M->ImportLoc, Record); in WriteControlBlock()
2101 AddSourceLocation(MD->getLocation(), Record); in WritePreprocessor()
2177 AddSourceLocation(MI->getDefinitionLoc(), Record); in WritePreprocessor()
2178 AddSourceLocation(MI->getDefinitionEndLoc(), Record); in WritePreprocessor()
3068 AddSourceLocation(Loc, Record); in WriteReferencedSelectorsPool()
3879 AddSourceLocation(PragmaLoc, Record); in WriteOptimizePragmaOptions()
3936 AddSourceLocation(Tok.getLocation(), Record); in AddToken()
4167 AddSourceLocation(WI.getLocation(), WeakUndeclaredIdentifiers); in WriteASTCore()
4180 AddSourceLocation(SemaRef.VTableUses[I].second, VTableUses); in WriteASTCore()
4194 AddSourceLocation(I.second, PendingInstantiations); in WriteASTCore()
4225 AddSourceLocation(I.second, UndefinedButUsed); in WriteASTCore()
4237 AddSourceLocation(DeleteLoc.first, DeleteExprsToAnalyze); in WriteASTCore()
4547 AddSourceLocation(PP.getModuleImportLoc(Import.M), ImportedModules); in WriteASTCore()
4604 AddSourceLocation(Update.getLoc(), Record); in WriteDeclUpdatesBlocks()
4619 AddSourceLocation(MSInfo->getPointOfInstantiation(), Record); in WriteDeclUpdatesBlocks()
4623 AddSourceLocation(Spec->getPointOfInstantiation(), Record); in WriteDeclUpdatesBlocks()
4639 AddSourceLocation(RD->getLocation(), Record); in WriteDeclUpdatesBlocks()
4640 AddSourceLocation(RD->getLocStart(), Record); in WriteDeclUpdatesBlocks()
4641 AddSourceLocation(RD->getRBraceLoc(), Record); in WriteDeclUpdatesBlocks()
4695 AddSourceLocation(Def->getInnerLocStart(), Record); in WriteDeclUpdatesBlocks()
4721 void ASTWriter::AddSourceLocation(SourceLocation Loc, RecordDataImpl &Record) { in AddSourceLocation() function in ASTWriter
4726 AddSourceLocation(Range.getBegin(), Record); in AddSourceRange()
4727 AddSourceLocation(Range.getEnd(), Record); in AddSourceRange()
4844 AddSourceLocation(Arg.getTemplateNameLoc(), Record); in AddTemplateArgumentLocInfo()
4848 AddSourceLocation(Arg.getTemplateNameLoc(), Record); in AddTemplateArgumentLocInfo()
4849 AddSourceLocation(Arg.getTemplateEllipsisLoc(), Record); in AddTemplateArgumentLocInfo()
5089 AddSourceLocation( in AddDeclarationNameLoc()
5092 AddSourceLocation( in AddDeclarationNameLoc()
5098 AddSourceLocation( in AddDeclarationNameLoc()
5115 AddSourceLocation(NameInfo.getLoc(), Record); in AddDeclarationNameInfo()
5213 AddSourceLocation(NNS.getLocalSourceRange().getEnd(), Record); in AddNestedNameSpecifierLoc()
5217 AddSourceLocation(NNS.getLocalSourceRange().getEnd(), Record); in AddNestedNameSpecifierLoc()
5326 AddSourceLocation(TemplateParams->getTemplateLoc(), Record); in AddTemplateParameterList()
5327 AddSourceLocation(TemplateParams->getLAngleLoc(), Record); in AddTemplateParameterList()
5328 AddSourceLocation(TemplateParams->getRAngleLoc(), Record); in AddTemplateParameterList()
5348 AddSourceLocation(ASTTemplArgList->LAngleLoc, Record); in AddASTTemplateArgumentListInfo()
5349 AddSourceLocation(ASTTemplArgList->RAngleLoc, Record); in AddASTTemplateArgumentListInfo()
5374 AddSourceLocation(Base.isPackExpansion()? Base.getEllipsisLoc() in AddCXXBaseSpecifier()
5434 AddSourceLocation(Init->getMemberLocation(), Record); in AddCXXCtorInitializers()
5436 AddSourceLocation(Init->getLParenLoc(), Record); in AddCXXCtorInitializers()
5437 AddSourceLocation(Init->getRParenLoc(), Record); in AddCXXCtorInitializers()
5550 AddSourceLocation(Capture.getLocation(), Record); in AddCXXDefinitionData()
5562 AddSourceLocation(Capture.isPackExpansion() ? Capture.getEllipsisLoc() in AddCXXDefinitionData()