Lines Matching refs:AddSourceLocation

169   Writer.AddSourceLocation(T->getLBracketLoc(), Record);  in VisitVariableArrayType()
170 Writer.AddSourceLocation(T->getRBracketLoc(), Record); in VisitVariableArrayType()
467 Writer.AddSourceLocation(TL.getBuiltinLoc(), Record); in VisitBuiltinTypeLoc()
476 Writer.AddSourceLocation(TL.getNameLoc(), Record); in VisitComplexTypeLoc()
479 Writer.AddSourceLocation(TL.getStarLoc(), Record); in VisitPointerTypeLoc()
488 Writer.AddSourceLocation(TL.getCaretLoc(), Record); in VisitBlockPointerTypeLoc()
491 Writer.AddSourceLocation(TL.getAmpLoc(), Record); in VisitLValueReferenceTypeLoc()
494 Writer.AddSourceLocation(TL.getAmpAmpLoc(), Record); in VisitRValueReferenceTypeLoc()
497 Writer.AddSourceLocation(TL.getStarLoc(), Record); in VisitMemberPointerTypeLoc()
501 Writer.AddSourceLocation(TL.getLBracketLoc(), Record); in VisitArrayTypeLoc()
502 Writer.AddSourceLocation(TL.getRBracketLoc(), Record); in VisitArrayTypeLoc()
522 Writer.AddSourceLocation(TL.getNameLoc(), Record); in VisitDependentSizedExtVectorTypeLoc()
525 Writer.AddSourceLocation(TL.getNameLoc(), Record); in VisitVectorTypeLoc()
528 Writer.AddSourceLocation(TL.getNameLoc(), Record); in VisitExtVectorTypeLoc()
531 Writer.AddSourceLocation(TL.getLocalRangeBegin(), Record); in VisitFunctionTypeLoc()
532 Writer.AddSourceLocation(TL.getLParenLoc(), Record); in VisitFunctionTypeLoc()
533 Writer.AddSourceLocation(TL.getRParenLoc(), Record); in VisitFunctionTypeLoc()
534 Writer.AddSourceLocation(TL.getLocalRangeEnd(), Record); in VisitFunctionTypeLoc()
545 Writer.AddSourceLocation(TL.getNameLoc(), Record); in VisitUnresolvedUsingTypeLoc()
548 Writer.AddSourceLocation(TL.getNameLoc(), Record); in VisitTypedefTypeLoc()
551 Writer.AddSourceLocation(TL.getTypeofLoc(), Record); in VisitTypeOfExprTypeLoc()
552 Writer.AddSourceLocation(TL.getLParenLoc(), Record); in VisitTypeOfExprTypeLoc()
553 Writer.AddSourceLocation(TL.getRParenLoc(), Record); in VisitTypeOfExprTypeLoc()
556 Writer.AddSourceLocation(TL.getTypeofLoc(), Record); in VisitTypeOfTypeLoc()
557 Writer.AddSourceLocation(TL.getLParenLoc(), Record); in VisitTypeOfTypeLoc()
558 Writer.AddSourceLocation(TL.getRParenLoc(), Record); in VisitTypeOfTypeLoc()
562 Writer.AddSourceLocation(TL.getNameLoc(), Record); in VisitDecltypeTypeLoc()
565 Writer.AddSourceLocation(TL.getKWLoc(), Record); in VisitUnaryTransformTypeLoc()
566 Writer.AddSourceLocation(TL.getLParenLoc(), Record); in VisitUnaryTransformTypeLoc()
567 Writer.AddSourceLocation(TL.getRParenLoc(), Record); in VisitUnaryTransformTypeLoc()
571 Writer.AddSourceLocation(TL.getNameLoc(), Record); in VisitAutoTypeLoc()
574 Writer.AddSourceLocation(TL.getNameLoc(), Record); in VisitRecordTypeLoc()
577 Writer.AddSourceLocation(TL.getNameLoc(), Record); in VisitEnumTypeLoc()
580 Writer.AddSourceLocation(TL.getAttrNameLoc(), Record); in VisitAttributedTypeLoc()
583 Writer.AddSourceLocation(range.getBegin(), Record); in VisitAttributedTypeLoc()
584 Writer.AddSourceLocation(range.getEnd(), Record); in VisitAttributedTypeLoc()
591 Writer.AddSourceLocation(TL.getAttrEnumOperandLoc(), Record); in VisitAttributedTypeLoc()
595 Writer.AddSourceLocation(TL.getNameLoc(), Record); in VisitTemplateTypeParmTypeLoc()
599 Writer.AddSourceLocation(TL.getNameLoc(), Record); in VisitSubstTemplateTypeParmTypeLoc()
603 Writer.AddSourceLocation(TL.getNameLoc(), Record); in VisitSubstTemplateTypeParmPackTypeLoc()
607 Writer.AddSourceLocation(TL.getTemplateKeywordLoc(), Record); in VisitTemplateSpecializationTypeLoc()
608 Writer.AddSourceLocation(TL.getTemplateNameLoc(), Record); in VisitTemplateSpecializationTypeLoc()
609 Writer.AddSourceLocation(TL.getLAngleLoc(), Record); in VisitTemplateSpecializationTypeLoc()
610 Writer.AddSourceLocation(TL.getRAngleLoc(), Record); in VisitTemplateSpecializationTypeLoc()
616 Writer.AddSourceLocation(TL.getLParenLoc(), Record); in VisitParenTypeLoc()
617 Writer.AddSourceLocation(TL.getRParenLoc(), Record); in VisitParenTypeLoc()
620 Writer.AddSourceLocation(TL.getElaboratedKeywordLoc(), Record); in VisitElaboratedTypeLoc()
624 Writer.AddSourceLocation(TL.getNameLoc(), Record); in VisitInjectedClassNameTypeLoc()
627 Writer.AddSourceLocation(TL.getElaboratedKeywordLoc(), Record); in VisitDependentNameTypeLoc()
629 Writer.AddSourceLocation(TL.getNameLoc(), Record); in VisitDependentNameTypeLoc()
633 Writer.AddSourceLocation(TL.getElaboratedKeywordLoc(), Record); in VisitDependentTemplateSpecializationTypeLoc()
635 Writer.AddSourceLocation(TL.getTemplateKeywordLoc(), Record); in VisitDependentTemplateSpecializationTypeLoc()
636 Writer.AddSourceLocation(TL.getTemplateNameLoc(), Record); in VisitDependentTemplateSpecializationTypeLoc()
637 Writer.AddSourceLocation(TL.getLAngleLoc(), Record); in VisitDependentTemplateSpecializationTypeLoc()
638 Writer.AddSourceLocation(TL.getRAngleLoc(), Record); in VisitDependentTemplateSpecializationTypeLoc()
644 Writer.AddSourceLocation(TL.getEllipsisLoc(), Record); in VisitPackExpansionTypeLoc()
647 Writer.AddSourceLocation(TL.getNameLoc(), Record); in VisitObjCInterfaceTypeLoc()
651 Writer.AddSourceLocation(TL.getLAngleLoc(), Record); in VisitObjCObjectTypeLoc()
652 Writer.AddSourceLocation(TL.getRAngleLoc(), Record); in VisitObjCObjectTypeLoc()
654 Writer.AddSourceLocation(TL.getProtocolLoc(i), Record); in VisitObjCObjectTypeLoc()
657 Writer.AddSourceLocation(TL.getStarLoc(), Record); in VisitObjCObjectPointerTypeLoc()
660 Writer.AddSourceLocation(TL.getKWLoc(), Record); in VisitAtomicTypeLoc()
661 Writer.AddSourceLocation(TL.getLParenLoc(), Record); in VisitAtomicTypeLoc()
662 Writer.AddSourceLocation(TL.getRParenLoc(), Record); in VisitAtomicTypeLoc()
1236 AddSourceLocation(M->ImportLoc, Record); in WriteControlBlock()
2103 AddSourceLocation(MD->getLocation(), Record); in WritePreprocessor()
2162 AddSourceLocation(MI->getDefinitionLoc(), Record); in WritePreprocessor()
2163 AddSourceLocation(MI->getDefinitionEndLoc(), Record); in WritePreprocessor()
3095 AddSourceLocation(Loc, Record); in WriteReferencedSelectorsPool()
4098 AddSourceLocation(PragmaLoc, Record); in WriteOptimizePragmaOptions()
4122 AddSourceLocation(Tok.getLocation(), Record); in AddToken()
4337 AddSourceLocation(WI.getLocation(), WeakUndeclaredIdentifiers); in WriteASTCore()
4350 AddSourceLocation(SemaRef.VTableUses[I].second, VTableUses); in WriteASTCore()
4366 AddSourceLocation(I->second, PendingInstantiations); in WriteASTCore()
4401 AddSourceLocation(I->second, UndefinedButUsed); in WriteASTCore()
4711 AddSourceLocation(Import.M->MacroVisibilityLoc, ImportedModules); in WriteASTCore()
4769 AddSourceLocation(Update.getLoc(), Record); in WriteDeclUpdatesBlocks()
4784 AddSourceLocation(MSInfo->getPointOfInstantiation(), Record); in WriteDeclUpdatesBlocks()
4788 AddSourceLocation(Spec->getPointOfInstantiation(), Record); in WriteDeclUpdatesBlocks()
4804 AddSourceLocation(RD->getLocation(), Record); in WriteDeclUpdatesBlocks()
4805 AddSourceLocation(RD->getLocStart(), Record); in WriteDeclUpdatesBlocks()
4806 AddSourceLocation(RD->getRBraceLoc(), Record); in WriteDeclUpdatesBlocks()
4856 AddSourceLocation(Def->getInnerLocStart(), Record); in WriteDeclUpdatesBlocks()
4883 void ASTWriter::AddSourceLocation(SourceLocation Loc, RecordDataImpl &Record) { in AddSourceLocation() function in ASTWriter
4888 AddSourceLocation(Range.getBegin(), Record); in AddSourceRange()
4889 AddSourceLocation(Range.getEnd(), Record); in AddSourceRange()
5007 AddSourceLocation(Arg.getTemplateNameLoc(), Record); in AddTemplateArgumentLocInfo()
5011 AddSourceLocation(Arg.getTemplateNameLoc(), Record); in AddTemplateArgumentLocInfo()
5012 AddSourceLocation(Arg.getTemplateEllipsisLoc(), Record); in AddTemplateArgumentLocInfo()
5252 AddSourceLocation( in AddDeclarationNameLoc()
5255 AddSourceLocation( in AddDeclarationNameLoc()
5261 AddSourceLocation( in AddDeclarationNameLoc()
5278 AddSourceLocation(NameInfo.getLoc(), Record); in AddDeclarationNameInfo()
5376 AddSourceLocation(NNS.getLocalSourceRange().getEnd(), Record); in AddNestedNameSpecifierLoc()
5380 AddSourceLocation(NNS.getLocalSourceRange().getEnd(), Record); in AddNestedNameSpecifierLoc()
5490 AddSourceLocation(TemplateParams->getTemplateLoc(), Record); in AddTemplateParameterList()
5491 AddSourceLocation(TemplateParams->getLAngleLoc(), Record); in AddTemplateParameterList()
5492 AddSourceLocation(TemplateParams->getRAngleLoc(), Record); in AddTemplateParameterList()
5514 AddSourceLocation(ASTTemplArgList->LAngleLoc, Record); in AddASTTemplateArgumentListInfo()
5515 AddSourceLocation(ASTTemplArgList->RAngleLoc, Record); in AddASTTemplateArgumentListInfo()
5540 AddSourceLocation(Base.isPackExpansion()? Base.getEllipsisLoc() in AddCXXBaseSpecifier()
5600 AddSourceLocation(Init->getMemberLocation(), Record); in AddCXXCtorInitializers()
5602 AddSourceLocation(Init->getLParenLoc(), Record); in AddCXXCtorInitializers()
5603 AddSourceLocation(Init->getRParenLoc(), Record); in AddCXXCtorInitializers()
5716 AddSourceLocation(Capture.getLocation(), Record); in AddCXXDefinitionData()
5728 AddSourceLocation(Capture.isPackExpansion() ? Capture.getEllipsisLoc() in AddCXXDefinitionData()