Lines Matching refs:AddSourceLocation

198   Record.AddSourceLocation(T->getLBracketLoc());  in VisitVariableArrayType()
199 Record.AddSourceLocation(T->getRBracketLoc()); in VisitVariableArrayType()
508 Record.AddSourceLocation(TL.getBuiltinLoc()); in VisitBuiltinTypeLoc()
517 Record.AddSourceLocation(TL.getNameLoc()); in VisitComplexTypeLoc()
520 Record.AddSourceLocation(TL.getStarLoc()); in VisitPointerTypeLoc()
529 Record.AddSourceLocation(TL.getCaretLoc()); in VisitBlockPointerTypeLoc()
532 Record.AddSourceLocation(TL.getAmpLoc()); in VisitLValueReferenceTypeLoc()
535 Record.AddSourceLocation(TL.getAmpAmpLoc()); in VisitRValueReferenceTypeLoc()
538 Record.AddSourceLocation(TL.getStarLoc()); in VisitMemberPointerTypeLoc()
542 Record.AddSourceLocation(TL.getLBracketLoc()); in VisitArrayTypeLoc()
543 Record.AddSourceLocation(TL.getRBracketLoc()); in VisitArrayTypeLoc()
563 Record.AddSourceLocation(TL.getNameLoc()); in VisitDependentSizedExtVectorTypeLoc()
566 Record.AddSourceLocation(TL.getNameLoc()); in VisitVectorTypeLoc()
569 Record.AddSourceLocation(TL.getNameLoc()); in VisitExtVectorTypeLoc()
572 Record.AddSourceLocation(TL.getLocalRangeBegin()); in VisitFunctionTypeLoc()
573 Record.AddSourceLocation(TL.getLParenLoc()); in VisitFunctionTypeLoc()
574 Record.AddSourceLocation(TL.getRParenLoc()); in VisitFunctionTypeLoc()
575 Record.AddSourceLocation(TL.getLocalRangeEnd()); in VisitFunctionTypeLoc()
586 Record.AddSourceLocation(TL.getNameLoc()); in VisitUnresolvedUsingTypeLoc()
589 Record.AddSourceLocation(TL.getNameLoc()); in VisitTypedefTypeLoc()
592 Record.AddSourceLocation(TL.getTypeofLoc()); in VisitTypeOfExprTypeLoc()
593 Record.AddSourceLocation(TL.getLParenLoc()); in VisitTypeOfExprTypeLoc()
594 Record.AddSourceLocation(TL.getRParenLoc()); in VisitTypeOfExprTypeLoc()
597 Record.AddSourceLocation(TL.getTypeofLoc()); in VisitTypeOfTypeLoc()
598 Record.AddSourceLocation(TL.getLParenLoc()); in VisitTypeOfTypeLoc()
599 Record.AddSourceLocation(TL.getRParenLoc()); in VisitTypeOfTypeLoc()
603 Record.AddSourceLocation(TL.getNameLoc()); in VisitDecltypeTypeLoc()
606 Record.AddSourceLocation(TL.getKWLoc()); in VisitUnaryTransformTypeLoc()
607 Record.AddSourceLocation(TL.getLParenLoc()); in VisitUnaryTransformTypeLoc()
608 Record.AddSourceLocation(TL.getRParenLoc()); in VisitUnaryTransformTypeLoc()
612 Record.AddSourceLocation(TL.getNameLoc()); in VisitAutoTypeLoc()
615 Record.AddSourceLocation(TL.getNameLoc()); in VisitRecordTypeLoc()
618 Record.AddSourceLocation(TL.getNameLoc()); in VisitEnumTypeLoc()
621 Record.AddSourceLocation(TL.getAttrNameLoc()); in VisitAttributedTypeLoc()
624 Record.AddSourceLocation(range.getBegin()); in VisitAttributedTypeLoc()
625 Record.AddSourceLocation(range.getEnd()); in VisitAttributedTypeLoc()
632 Record.AddSourceLocation(TL.getAttrEnumOperandLoc()); in VisitAttributedTypeLoc()
636 Record.AddSourceLocation(TL.getNameLoc()); in VisitTemplateTypeParmTypeLoc()
640 Record.AddSourceLocation(TL.getNameLoc()); in VisitSubstTemplateTypeParmTypeLoc()
644 Record.AddSourceLocation(TL.getNameLoc()); in VisitSubstTemplateTypeParmPackTypeLoc()
648 Record.AddSourceLocation(TL.getTemplateKeywordLoc()); in VisitTemplateSpecializationTypeLoc()
649 Record.AddSourceLocation(TL.getTemplateNameLoc()); in VisitTemplateSpecializationTypeLoc()
650 Record.AddSourceLocation(TL.getLAngleLoc()); in VisitTemplateSpecializationTypeLoc()
651 Record.AddSourceLocation(TL.getRAngleLoc()); in VisitTemplateSpecializationTypeLoc()
657 Record.AddSourceLocation(TL.getLParenLoc()); in VisitParenTypeLoc()
658 Record.AddSourceLocation(TL.getRParenLoc()); in VisitParenTypeLoc()
661 Record.AddSourceLocation(TL.getElaboratedKeywordLoc()); in VisitElaboratedTypeLoc()
665 Record.AddSourceLocation(TL.getNameLoc()); in VisitInjectedClassNameTypeLoc()
668 Record.AddSourceLocation(TL.getElaboratedKeywordLoc()); in VisitDependentNameTypeLoc()
670 Record.AddSourceLocation(TL.getNameLoc()); in VisitDependentNameTypeLoc()
674 Record.AddSourceLocation(TL.getElaboratedKeywordLoc()); in VisitDependentTemplateSpecializationTypeLoc()
676 Record.AddSourceLocation(TL.getTemplateKeywordLoc()); in VisitDependentTemplateSpecializationTypeLoc()
677 Record.AddSourceLocation(TL.getTemplateNameLoc()); in VisitDependentTemplateSpecializationTypeLoc()
678 Record.AddSourceLocation(TL.getLAngleLoc()); in VisitDependentTemplateSpecializationTypeLoc()
679 Record.AddSourceLocation(TL.getRAngleLoc()); in VisitDependentTemplateSpecializationTypeLoc()
685 Record.AddSourceLocation(TL.getEllipsisLoc()); in VisitPackExpansionTypeLoc()
688 Record.AddSourceLocation(TL.getNameLoc()); in VisitObjCInterfaceTypeLoc()
692 Record.AddSourceLocation(TL.getTypeArgsLAngleLoc()); in VisitObjCObjectTypeLoc()
693 Record.AddSourceLocation(TL.getTypeArgsRAngleLoc()); in VisitObjCObjectTypeLoc()
696 Record.AddSourceLocation(TL.getProtocolLAngleLoc()); in VisitObjCObjectTypeLoc()
697 Record.AddSourceLocation(TL.getProtocolRAngleLoc()); in VisitObjCObjectTypeLoc()
699 Record.AddSourceLocation(TL.getProtocolLoc(i)); in VisitObjCObjectTypeLoc()
702 Record.AddSourceLocation(TL.getStarLoc()); in VisitObjCObjectPointerTypeLoc()
705 Record.AddSourceLocation(TL.getKWLoc()); in VisitAtomicTypeLoc()
706 Record.AddSourceLocation(TL.getLParenLoc()); in VisitAtomicTypeLoc()
707 Record.AddSourceLocation(TL.getRParenLoc()); in VisitAtomicTypeLoc()
710 Record.AddSourceLocation(TL.getKWLoc()); in VisitPipeTypeLoc()
1336 AddSourceLocation(M->ImportLoc, Record); in WriteControlBlock()
1947 AddSourceLocation(File.getIncludeLoc(), Record); in WriteSourceManagerBlock()
2019 AddSourceLocation(Expansion.getSpellingLoc(), Record); in WriteSourceManagerBlock()
2020 AddSourceLocation(Expansion.getExpansionLocStart(), Record); in WriteSourceManagerBlock()
2021 AddSourceLocation(Expansion.isMacroArgExpansion() in WriteSourceManagerBlock()
2180 AddSourceLocation(MD->getLocation(), Record); in WritePreprocessor()
2255 AddSourceLocation(MI->getDefinitionLoc(), Record); in WritePreprocessor()
2256 AddSourceLocation(MI->getDefinitionEndLoc(), Record); in WritePreprocessor()
2705 AddSourceLocation(point.Loc, Record); in WritePragmaDiagnosticMappings()
3088 Writer.AddSourceLocation(Loc); in WriteReferencedSelectorsPool()
3915 AddSourceLocation(PragmaLoc, Record); in WriteOptimizePragmaOptions()
3931 AddSourceLocation(SemaRef.ImplicitMSInheritanceAttrLoc, Record); in WriteMSPointersToMembersPragmaOptions()
3988 AddSourceLocation(Tok.getLocation(), Record); in AddToken()
4224 AddSourceLocation(WI.getLocation(), WeakUndeclaredIdentifiers); in WriteASTCore()
4237 AddSourceLocation(SemaRef.VTableUses[I].second, VTableUses); in WriteASTCore()
4251 AddSourceLocation(I.second, PendingInstantiations); in WriteASTCore()
4282 AddSourceLocation(I.second, UndefinedButUsed); in WriteASTCore()
4294 AddSourceLocation(DeleteLoc.first, DeleteExprsToAnalyze); in WriteASTCore()
4615 AddSourceLocation(PP.getModuleImportLoc(Import.M), ImportedModules); in WriteASTCore()
4677 Record.AddSourceLocation(Update.getLoc()); in WriteDeclUpdatesBlocks()
4697 Record.AddSourceLocation(MSInfo->getPointOfInstantiation()); in WriteDeclUpdatesBlocks()
4701 Record.AddSourceLocation(Spec->getPointOfInstantiation()); in WriteDeclUpdatesBlocks()
4717 Record.AddSourceLocation(RD->getLocation()); in WriteDeclUpdatesBlocks()
4718 Record.AddSourceLocation(RD->getLocStart()); in WriteDeclUpdatesBlocks()
4719 Record.AddSourceLocation(RD->getRBraceLoc()); in WriteDeclUpdatesBlocks()
4776 Record.AddSourceLocation(Def->getInnerLocStart()); in WriteDeclUpdatesBlocks()
4785 void ASTWriter::AddSourceLocation(SourceLocation Loc, RecordDataImpl &Record) { in AddSourceLocation() function in ASTWriter
4791 AddSourceLocation(Range.getBegin(), Record); in AddSourceRange()
4792 AddSourceLocation(Range.getEnd(), Record); in AddSourceRange()
4890 AddSourceLocation(Arg.getTemplateNameLoc()); in AddTemplateArgumentLocInfo()
4894 AddSourceLocation(Arg.getTemplateNameLoc()); in AddTemplateArgumentLocInfo()
4895 AddSourceLocation(Arg.getTemplateEllipsisLoc()); in AddTemplateArgumentLocInfo()
5132 AddSourceLocation(SourceLocation::getFromRawEncoding( in AddDeclarationNameLoc()
5134 AddSourceLocation( in AddDeclarationNameLoc()
5139 AddSourceLocation(SourceLocation::getFromRawEncoding( in AddDeclarationNameLoc()
5155 AddSourceLocation(NameInfo.getLoc()); in AddDeclarationNameInfo()
5250 AddSourceLocation(NNS.getLocalSourceRange().getEnd()); in AddNestedNameSpecifierLoc()
5254 AddSourceLocation(NNS.getLocalSourceRange().getEnd()); in AddNestedNameSpecifierLoc()
5361 AddSourceLocation(TemplateParams->getTemplateLoc()); in AddTemplateParameterList()
5362 AddSourceLocation(TemplateParams->getLAngleLoc()); in AddTemplateParameterList()
5363 AddSourceLocation(TemplateParams->getRAngleLoc()); in AddTemplateParameterList()
5381 AddSourceLocation(ASTTemplArgList->LAngleLoc); in AddASTTemplateArgumentListInfo()
5382 AddSourceLocation(ASTTemplArgList->RAngleLoc); in AddASTTemplateArgumentListInfo()
5406 AddSourceLocation(Base.isPackExpansion()? Base.getEllipsisLoc() in AddCXXBaseSpecifier()
5450 Writer.AddSourceLocation(Init->getMemberLocation()); in EmitCXXCtorInitializers()
5452 Writer.AddSourceLocation(Init->getLParenLoc()); in EmitCXXCtorInitializers()
5453 Writer.AddSourceLocation(Init->getRParenLoc()); in EmitCXXCtorInitializers()
5546 AddSourceLocation(Capture.getLocation()); in AddCXXDefinitionData()
5559 AddSourceLocation(Capture.isPackExpansion() ? Capture.getEllipsisLoc() in AddCXXDefinitionData()