Lines Matching refs:AddSourceLocation
252 Record.AddSourceLocation(T->getLBracketLoc()); in VisitVariableArrayType()
253 Record.AddSourceLocation(T->getRBracketLoc()); in VisitVariableArrayType()
454 Record.AddSourceLocation(T->getAttributeLoc()); in VisitDependentSizedExtVectorType()
461 Record.AddSourceLocation(T->getAttributeLoc()); in VisitDependentVectorType()
471 Record.AddSourceLocation(T->getAttributeLoc()); in VisitDependentAddressSpaceType()
602 Record.AddSourceLocation(TL.getBuiltinLoc()); in VisitBuiltinTypeLoc()
612 Record.AddSourceLocation(TL.getNameLoc()); in VisitComplexTypeLoc()
616 Record.AddSourceLocation(TL.getStarLoc()); in VisitPointerTypeLoc()
628 Record.AddSourceLocation(TL.getCaretLoc()); in VisitBlockPointerTypeLoc()
632 Record.AddSourceLocation(TL.getAmpLoc()); in VisitLValueReferenceTypeLoc()
636 Record.AddSourceLocation(TL.getAmpAmpLoc()); in VisitRValueReferenceTypeLoc()
640 Record.AddSourceLocation(TL.getStarLoc()); in VisitMemberPointerTypeLoc()
645 Record.AddSourceLocation(TL.getLBracketLoc()); in VisitArrayTypeLoc()
646 Record.AddSourceLocation(TL.getRBracketLoc()); in VisitArrayTypeLoc()
671 Record.AddSourceLocation(TL.getAttrNameLoc()); in VisitDependentAddressSpaceTypeLoc()
673 Record.AddSourceLocation(range.getBegin()); in VisitDependentAddressSpaceTypeLoc()
674 Record.AddSourceLocation(range.getEnd()); in VisitDependentAddressSpaceTypeLoc()
680 Record.AddSourceLocation(TL.getNameLoc()); in VisitDependentSizedExtVectorTypeLoc()
684 Record.AddSourceLocation(TL.getNameLoc()); in VisitVectorTypeLoc()
689 Record.AddSourceLocation(TL.getNameLoc()); in VisitDependentVectorTypeLoc()
693 Record.AddSourceLocation(TL.getNameLoc()); in VisitExtVectorTypeLoc()
697 Record.AddSourceLocation(TL.getLocalRangeBegin()); in VisitFunctionTypeLoc()
698 Record.AddSourceLocation(TL.getLParenLoc()); in VisitFunctionTypeLoc()
699 Record.AddSourceLocation(TL.getRParenLoc()); in VisitFunctionTypeLoc()
701 Record.AddSourceLocation(TL.getLocalRangeEnd()); in VisitFunctionTypeLoc()
715 Record.AddSourceLocation(TL.getNameLoc()); in VisitUnresolvedUsingTypeLoc()
719 Record.AddSourceLocation(TL.getNameLoc()); in VisitTypedefTypeLoc()
724 Record.AddSourceLocation(TL.getProtocolLAngleLoc()); in VisitObjCTypeParamTypeLoc()
725 Record.AddSourceLocation(TL.getProtocolRAngleLoc()); in VisitObjCTypeParamTypeLoc()
728 Record.AddSourceLocation(TL.getProtocolLoc(i)); in VisitObjCTypeParamTypeLoc()
732 Record.AddSourceLocation(TL.getTypeofLoc()); in VisitTypeOfExprTypeLoc()
733 Record.AddSourceLocation(TL.getLParenLoc()); in VisitTypeOfExprTypeLoc()
734 Record.AddSourceLocation(TL.getRParenLoc()); in VisitTypeOfExprTypeLoc()
738 Record.AddSourceLocation(TL.getTypeofLoc()); in VisitTypeOfTypeLoc()
739 Record.AddSourceLocation(TL.getLParenLoc()); in VisitTypeOfTypeLoc()
740 Record.AddSourceLocation(TL.getRParenLoc()); in VisitTypeOfTypeLoc()
745 Record.AddSourceLocation(TL.getNameLoc()); in VisitDecltypeTypeLoc()
749 Record.AddSourceLocation(TL.getKWLoc()); in VisitUnaryTransformTypeLoc()
750 Record.AddSourceLocation(TL.getLParenLoc()); in VisitUnaryTransformTypeLoc()
751 Record.AddSourceLocation(TL.getRParenLoc()); in VisitUnaryTransformTypeLoc()
756 Record.AddSourceLocation(TL.getNameLoc()); in VisitAutoTypeLoc()
761 Record.AddSourceLocation(TL.getTemplateNameLoc()); in VisitDeducedTemplateSpecializationTypeLoc()
765 Record.AddSourceLocation(TL.getNameLoc()); in VisitRecordTypeLoc()
769 Record.AddSourceLocation(TL.getNameLoc()); in VisitEnumTypeLoc()
777 Record.AddSourceLocation(TL.getNameLoc()); in VisitTemplateTypeParmTypeLoc()
782 Record.AddSourceLocation(TL.getNameLoc()); in VisitSubstTemplateTypeParmTypeLoc()
787 Record.AddSourceLocation(TL.getNameLoc()); in VisitSubstTemplateTypeParmPackTypeLoc()
792 Record.AddSourceLocation(TL.getTemplateKeywordLoc()); in VisitTemplateSpecializationTypeLoc()
793 Record.AddSourceLocation(TL.getTemplateNameLoc()); in VisitTemplateSpecializationTypeLoc()
794 Record.AddSourceLocation(TL.getLAngleLoc()); in VisitTemplateSpecializationTypeLoc()
795 Record.AddSourceLocation(TL.getRAngleLoc()); in VisitTemplateSpecializationTypeLoc()
802 Record.AddSourceLocation(TL.getLParenLoc()); in VisitParenTypeLoc()
803 Record.AddSourceLocation(TL.getRParenLoc()); in VisitParenTypeLoc()
807 Record.AddSourceLocation(TL.getElaboratedKeywordLoc()); in VisitElaboratedTypeLoc()
812 Record.AddSourceLocation(TL.getNameLoc()); in VisitInjectedClassNameTypeLoc()
816 Record.AddSourceLocation(TL.getElaboratedKeywordLoc()); in VisitDependentNameTypeLoc()
818 Record.AddSourceLocation(TL.getNameLoc()); in VisitDependentNameTypeLoc()
823 Record.AddSourceLocation(TL.getElaboratedKeywordLoc()); in VisitDependentTemplateSpecializationTypeLoc()
825 Record.AddSourceLocation(TL.getTemplateKeywordLoc()); in VisitDependentTemplateSpecializationTypeLoc()
826 Record.AddSourceLocation(TL.getTemplateNameLoc()); in VisitDependentTemplateSpecializationTypeLoc()
827 Record.AddSourceLocation(TL.getLAngleLoc()); in VisitDependentTemplateSpecializationTypeLoc()
828 Record.AddSourceLocation(TL.getRAngleLoc()); in VisitDependentTemplateSpecializationTypeLoc()
835 Record.AddSourceLocation(TL.getEllipsisLoc()); in VisitPackExpansionTypeLoc()
839 Record.AddSourceLocation(TL.getNameLoc()); in VisitObjCInterfaceTypeLoc()
844 Record.AddSourceLocation(TL.getTypeArgsLAngleLoc()); in VisitObjCObjectTypeLoc()
845 Record.AddSourceLocation(TL.getTypeArgsRAngleLoc()); in VisitObjCObjectTypeLoc()
848 Record.AddSourceLocation(TL.getProtocolLAngleLoc()); in VisitObjCObjectTypeLoc()
849 Record.AddSourceLocation(TL.getProtocolRAngleLoc()); in VisitObjCObjectTypeLoc()
851 Record.AddSourceLocation(TL.getProtocolLoc(i)); in VisitObjCObjectTypeLoc()
855 Record.AddSourceLocation(TL.getStarLoc()); in VisitObjCObjectPointerTypeLoc()
859 Record.AddSourceLocation(TL.getKWLoc()); in VisitAtomicTypeLoc()
860 Record.AddSourceLocation(TL.getLParenLoc()); in VisitAtomicTypeLoc()
861 Record.AddSourceLocation(TL.getRParenLoc()); in VisitAtomicTypeLoc()
865 Record.AddSourceLocation(TL.getKWLoc()); in VisitPipeTypeLoc()
1556 AddSourceLocation(M.ImportLoc, Record); in WriteControlBlock()
2269 AddSourceLocation(File.getIncludeLoc(), Record); in WriteSourceManagerBlock()
2328 AddSourceLocation(Expansion.getSpellingLoc(), Record); in WriteSourceManagerBlock()
2329 AddSourceLocation(Expansion.getExpansionLocStart(), Record); in WriteSourceManagerBlock()
2330 AddSourceLocation(Expansion.isMacroArgExpansion() in WriteSourceManagerBlock()
2458 AddSourceLocation(SkipInfo->HashTokenLoc, Record); in WritePreprocessor()
2459 AddSourceLocation(SkipInfo->IfTokenLoc, Record); in WritePreprocessor()
2462 AddSourceLocation(SkipInfo->ElseLoc, Record); in WritePreprocessor()
2467 AddSourceLocation(Cond.IfLoc, Record); in WritePreprocessor()
2512 AddSourceLocation(MD->getLocation(), Record); in WritePreprocessor()
2586 AddSourceLocation(MI->getDefinitionLoc(), Record); in WritePreprocessor()
2587 AddSourceLocation(MI->getDefinitionEndLoc(), Record); in WritePreprocessor()
3112 AddSourceLocation(Loc, Record); in WritePragmaDiagnosticMappings()
3130 AddSourceLocation(Diag.DiagStatesByLoc.CurDiagStateLoc, Record); in WritePragmaDiagnosticMappings()
3506 Writer.AddSourceLocation(Loc); in WriteReferencedSelectorsPool()
4390 AddSourceLocation(PragmaLoc, Record); in WriteOptimizePragmaOptions()
4406 AddSourceLocation(SemaRef.ImplicitMSInheritanceAttrLoc, Record); in WriteMSPointersToMembersPragmaOptions()
4419 AddSourceLocation(SemaRef.PackStack.CurrentPragmaLocation, Record); in WritePackPragmaOptions()
4423 AddSourceLocation(StackEntry.PragmaLocation, Record); in WritePackPragmaOptions()
4424 AddSourceLocation(StackEntry.PragmaPushLocation, Record); in WritePackPragmaOptions()
4487 AddSourceLocation(Tok.getLocation(), Record); in AddToken()
4713 AddSourceLocation(WI.getLocation(), WeakUndeclaredIdentifiers); in WriteASTCore()
4726 AddSourceLocation(SemaRef.VTableUses[I].second, VTableUses); in WriteASTCore()
4740 AddSourceLocation(I.second, PendingInstantiations); in WriteASTCore()
4772 AddSourceLocation(I.second, UndefinedButUsed); in WriteASTCore()
4785 AddSourceLocation(DeleteLoc.first, DeleteExprsToAnalyze); in WriteASTCore()
5125 AddSourceLocation(PP.getModuleImportLoc(Import.M), ImportedModules); in WriteASTCore()
5189 Record.AddSourceLocation(Update.getLoc()); in WriteDeclUpdatesBlocks()
5230 Record.AddSourceLocation(MSInfo->getPointOfInstantiation()); in WriteDeclUpdatesBlocks()
5234 Record.AddSourceLocation(Spec->getPointOfInstantiation()); in WriteDeclUpdatesBlocks()
5250 Record.AddSourceLocation(RD->getLocation()); in WriteDeclUpdatesBlocks()
5251 Record.AddSourceLocation(RD->getBeginLoc()); in WriteDeclUpdatesBlocks()
5311 Record.AddSourceLocation(Def->getInnerLocStart()); in WriteDeclUpdatesBlocks()
5320 void ASTWriter::AddSourceLocation(SourceLocation Loc, RecordDataImpl &Record) { in AddSourceLocation() function in ASTWriter
5326 AddSourceLocation(Range.getBegin(), Record); in AddSourceRange()
5327 AddSourceLocation(Range.getEnd(), Record); in AddSourceRange()
5425 AddSourceLocation(Arg.getTemplateNameLoc()); in AddTemplateArgumentLocInfo()
5429 AddSourceLocation(Arg.getTemplateNameLoc()); in AddTemplateArgumentLocInfo()
5430 AddSourceLocation(Arg.getTemplateEllipsisLoc()); in AddTemplateArgumentLocInfo()
5672 AddSourceLocation(SourceLocation::getFromRawEncoding( in AddDeclarationNameLoc()
5674 AddSourceLocation( in AddDeclarationNameLoc()
5679 AddSourceLocation(SourceLocation::getFromRawEncoding( in AddDeclarationNameLoc()
5696 AddSourceLocation(NameInfo.getLoc()); in AddDeclarationNameInfo()
5792 AddSourceLocation(NNS.getLocalSourceRange().getEnd()); in AddNestedNameSpecifierLoc()
5796 AddSourceLocation(NNS.getLocalSourceRange().getEnd()); in AddNestedNameSpecifierLoc()
5903 AddSourceLocation(TemplateParams->getTemplateLoc()); in AddTemplateParameterList()
5904 AddSourceLocation(TemplateParams->getLAngleLoc()); in AddTemplateParameterList()
5905 AddSourceLocation(TemplateParams->getRAngleLoc()); in AddTemplateParameterList()
5924 AddSourceLocation(ASTTemplArgList->LAngleLoc); in AddASTTemplateArgumentListInfo()
5925 AddSourceLocation(ASTTemplArgList->RAngleLoc); in AddASTTemplateArgumentListInfo()
5949 AddSourceLocation(Base.isPackExpansion()? Base.getEllipsisLoc() in AddCXXBaseSpecifier()
5993 Writer.AddSourceLocation(Init->getMemberLocation()); in EmitCXXCtorInitializers()
5995 Writer.AddSourceLocation(Init->getLParenLoc()); in EmitCXXCtorInitializers()
5996 Writer.AddSourceLocation(Init->getRParenLoc()); in EmitCXXCtorInitializers()
6100 AddSourceLocation(Capture.getLocation()); in AddCXXDefinitionData()
6113 AddSourceLocation(Capture.isPackExpansion() ? Capture.getEllipsisLoc() in AddCXXDefinitionData()
6478 Record.AddSourceLocation(C->getBeginLoc()); in writeClause()
6479 Record.AddSourceLocation(C->getEndLoc()); in writeClause()
6495 Record.AddSourceLocation(C->getNameModifierLoc()); in VisitOMPIfClause()
6496 Record.AddSourceLocation(C->getColonLoc()); in VisitOMPIfClause()
6498 Record.AddSourceLocation(C->getLParenLoc()); in VisitOMPIfClause()
6503 Record.AddSourceLocation(C->getLParenLoc()); in VisitOMPFinalClause()
6509 Record.AddSourceLocation(C->getLParenLoc()); in VisitOMPNumThreadsClause()
6514 Record.AddSourceLocation(C->getLParenLoc()); in VisitOMPSafelenClause()
6519 Record.AddSourceLocation(C->getLParenLoc()); in VisitOMPSimdlenClause()
6524 Record.AddSourceLocation(C->getLParenLoc()); in VisitOMPCollapseClause()
6529 Record.AddSourceLocation(C->getLParenLoc()); in VisitOMPDefaultClause()
6530 Record.AddSourceLocation(C->getDefaultKindKwLoc()); in VisitOMPDefaultClause()
6535 Record.AddSourceLocation(C->getLParenLoc()); in VisitOMPProcBindClause()
6536 Record.AddSourceLocation(C->getProcBindKindKwLoc()); in VisitOMPProcBindClause()
6545 Record.AddSourceLocation(C->getLParenLoc()); in VisitOMPScheduleClause()
6546 Record.AddSourceLocation(C->getFirstScheduleModifierLoc()); in VisitOMPScheduleClause()
6547 Record.AddSourceLocation(C->getSecondScheduleModifierLoc()); in VisitOMPScheduleClause()
6548 Record.AddSourceLocation(C->getScheduleKindLoc()); in VisitOMPScheduleClause()
6549 Record.AddSourceLocation(C->getCommaLoc()); in VisitOMPScheduleClause()
6559 Record.AddSourceLocation(C->getLParenLoc()); in VisitOMPOrderedClause()
6586 Record.AddSourceLocation(C->getLParenLoc()); in VisitOMPPrivateClause()
6598 Record.AddSourceLocation(C->getLParenLoc()); in VisitOMPFirstprivateClause()
6613 Record.AddSourceLocation(C->getLParenLoc()); in VisitOMPLastprivateClause()
6628 Record.AddSourceLocation(C->getLParenLoc()); in VisitOMPSharedClause()
6636 Record.AddSourceLocation(C->getLParenLoc()); in VisitOMPReductionClause()
6637 Record.AddSourceLocation(C->getColonLoc()); in VisitOMPReductionClause()
6655 Record.AddSourceLocation(C->getLParenLoc()); in VisitOMPTaskReductionClause()
6656 Record.AddSourceLocation(C->getColonLoc()); in VisitOMPTaskReductionClause()
6674 Record.AddSourceLocation(C->getLParenLoc()); in VisitOMPInReductionClause()
6675 Record.AddSourceLocation(C->getColonLoc()); in VisitOMPInReductionClause()
6695 Record.AddSourceLocation(C->getLParenLoc()); in VisitOMPLinearClause()
6696 Record.AddSourceLocation(C->getColonLoc()); in VisitOMPLinearClause()
6698 Record.AddSourceLocation(C->getModifierLoc()); in VisitOMPLinearClause()
6720 Record.AddSourceLocation(C->getLParenLoc()); in VisitOMPAlignedClause()
6721 Record.AddSourceLocation(C->getColonLoc()); in VisitOMPAlignedClause()
6729 Record.AddSourceLocation(C->getLParenLoc()); in VisitOMPCopyinClause()
6742 Record.AddSourceLocation(C->getLParenLoc()); in VisitOMPCopyprivateClause()
6755 Record.AddSourceLocation(C->getLParenLoc()); in VisitOMPFlushClause()
6763 Record.AddSourceLocation(C->getLParenLoc()); in VisitOMPDependClause()
6765 Record.AddSourceLocation(C->getDependencyLoc()); in VisitOMPDependClause()
6766 Record.AddSourceLocation(C->getColonLoc()); in VisitOMPDependClause()
6776 Record.AddSourceLocation(C->getLParenLoc()); in VisitOMPDeviceClause()
6784 Record.AddSourceLocation(C->getLParenLoc()); in VisitOMPMapClause()
6787 Record.AddSourceLocation(C->getMapTypeModifierLoc(I)); in VisitOMPMapClause()
6790 Record.AddSourceLocation(C->getMapLoc()); in VisitOMPMapClause()
6791 Record.AddSourceLocation(C->getColonLoc()); in VisitOMPMapClause()
6809 Record.AddSourceLocation(C->getLParenLoc()); in VisitOMPNumTeamsClause()
6815 Record.AddSourceLocation(C->getLParenLoc()); in VisitOMPThreadLimitClause()
6820 Record.AddSourceLocation(C->getLParenLoc()); in VisitOMPPriorityClause()
6825 Record.AddSourceLocation(C->getLParenLoc()); in VisitOMPGrainsizeClause()
6830 Record.AddSourceLocation(C->getLParenLoc()); in VisitOMPNumTasksClause()
6835 Record.AddSourceLocation(C->getLParenLoc()); in VisitOMPHintClause()
6842 Record.AddSourceLocation(C->getLParenLoc()); in VisitOMPDistScheduleClause()
6843 Record.AddSourceLocation(C->getDistScheduleKindLoc()); in VisitOMPDistScheduleClause()
6844 Record.AddSourceLocation(C->getCommaLoc()); in VisitOMPDistScheduleClause()
6850 Record.AddSourceLocation(C->getLParenLoc()); in VisitOMPDefaultmapClause()
6851 Record.AddSourceLocation(C->getDefaultmapModifierLoc()); in VisitOMPDefaultmapClause()
6852 Record.AddSourceLocation(C->getDefaultmapKindLoc()); in VisitOMPDefaultmapClause()
6860 Record.AddSourceLocation(C->getLParenLoc()); in VisitOMPToClause()
6880 Record.AddSourceLocation(C->getLParenLoc()); in VisitOMPFromClause()
6900 Record.AddSourceLocation(C->getLParenLoc()); in VisitOMPUseDevicePtrClause()
6924 Record.AddSourceLocation(C->getLParenLoc()); in VisitOMPIsDevicePtrClause()
6953 Record.AddSourceLocation(C->getLParenLoc()); in VisitOMPAtomicDefaultMemOrderClause()
6954 Record.AddSourceLocation(C->getAtomicDefaultMemOrderKindKwLoc()); in VisitOMPAtomicDefaultMemOrderClause()