Lines Matching refs:AddSourceLocation
272 Record.AddSourceLocation(Loc, Seq); in addSourceLocation()
476 AddSourceLocation(CR->getTemplateKWLoc()); in AddConceptReference()
1412 AddSourceLocation(M.ImportLoc, Record); in WriteControlBlock()
2181 AddSourceLocation(File.getIncludeLoc(), Record); in WriteSourceManagerBlock()
2242 AddSourceLocation(Expansion.getSpellingLoc(), Record, Seq); in WriteSourceManagerBlock()
2243 AddSourceLocation(Expansion.getExpansionLocStart(), Record, Seq); in WriteSourceManagerBlock()
2244 AddSourceLocation(Expansion.isMacroArgExpansion() in WriteSourceManagerBlock()
2373 AddSourceLocation(AssumeNonNullLoc, Record); in WritePreprocessor()
2383 AddSourceLocation(SkipInfo->HashTokenLoc, Record); in WritePreprocessor()
2384 AddSourceLocation(SkipInfo->IfTokenLoc, Record); in WritePreprocessor()
2387 AddSourceLocation(SkipInfo->ElseLoc, Record); in WritePreprocessor()
2392 AddSourceLocation(Cond.IfLoc, Record); in WritePreprocessor()
2450 AddSourceLocation(MD->getLocation(), Record); in WritePreprocessor()
2469 AddSourceLocation(MD->getLocation(), Record); in WritePreprocessor()
2538 AddSourceLocation(MI->getDefinitionLoc(), Record); in WritePreprocessor()
2539 AddSourceLocation(MI->getDefinitionEndLoc(), Record); in WritePreprocessor()
3111 AddSourceLocation(Loc, Record); in WritePragmaDiagnosticMappings()
3129 AddSourceLocation(Diag.DiagStatesByLoc.CurDiagStateLoc, Record); in WritePragmaDiagnosticMappings()
3519 Writer.AddSourceLocation(Loc); in WriteReferencedSelectorsPool()
4350 AddSourceLocation(PragmaLoc, Record); in WriteOptimizePragmaOptions()
4366 AddSourceLocation(SemaRef.ImplicitMSInheritanceAttrLoc, Record); in WriteMSPointersToMembersPragmaOptions()
4379 AddSourceLocation(SemaRef.AlignPackStack.CurrentPragmaLocation, Record); in WritePackPragmaOptions()
4383 AddSourceLocation(StackEntry.PragmaLocation, Record); in WritePackPragmaOptions()
4384 AddSourceLocation(StackEntry.PragmaPushLocation, Record); in WritePackPragmaOptions()
4399 AddSourceLocation(SemaRef.FpPragmaStack.CurrentPragmaLocation, Record); in WriteFloatControlPragmaOptions()
4403 AddSourceLocation(StackEntry.PragmaLocation, Record); in WriteFloatControlPragmaOptions()
4404 AddSourceLocation(StackEntry.PragmaPushLocation, Record); in WriteFloatControlPragmaOptions()
4463 Record.AddSourceLocation(A->getScopeLoc()); in AddAttr()
4480 AddSourceLocation(Tok.getLocation(), Record); in AddToken()
4487 AddSourceLocation(Tok.getAnnotationEndLoc(), Record); in AddToken()
4813 AddSourceLocation(WI.getLocation(), WeakUndeclaredIdentifiers); in WriteASTCore()
4826 AddSourceLocation(SemaRef.VTableUses[I].second, VTableUses); in WriteASTCore()
4840 AddSourceLocation(I.second, PendingInstantiations); in WriteASTCore()
4872 AddSourceLocation(I.second, UndefinedButUsed); in WriteASTCore()
4885 AddSourceLocation(DeleteLoc.first, DeleteExprsToAnalyze); in WriteASTCore()
5227 AddSourceLocation(PP.getModuleImportLoc(Import.M), ImportedModules); in WriteASTCore()
5298 Record.AddSourceLocation(Update.getLoc()); in WriteDeclUpdatesBlocks()
5325 Record.AddSourceLocation(MSInfo->getPointOfInstantiation()); in WriteDeclUpdatesBlocks()
5329 Record.AddSourceLocation(Spec->getPointOfInstantiation()); in WriteDeclUpdatesBlocks()
5345 Record.AddSourceLocation(RD->getLocation()); in WriteDeclUpdatesBlocks()
5346 Record.AddSourceLocation(RD->getBeginLoc()); in WriteDeclUpdatesBlocks()
5418 Record.AddSourceLocation(Def->getInnerLocStart()); in WriteDeclUpdatesBlocks()
5505 void ASTWriter::AddSourceLocation(SourceLocation Loc, RecordDataImpl &Record, in AddSourceLocation() function in ASTWriter
5513 AddSourceLocation(Range.getBegin(), Record, Seq); in AddSourceRange()
5514 AddSourceLocation(Range.getEnd(), Record, Seq); in AddSourceRange()
5601 AddSourceLocation(Arg.getTemplateNameLoc()); in AddTemplateArgumentLocInfo()
5605 AddSourceLocation(Arg.getTemplateNameLoc()); in AddTemplateArgumentLocInfo()
5606 AddSourceLocation(Arg.getTemplateEllipsisLoc()); in AddTemplateArgumentLocInfo()
5808 AddSourceLocation(DNLoc.getCXXLiteralOperatorNameLoc()); in AddDeclarationNameLoc()
5824 AddSourceLocation(NameInfo.getLoc()); in AddDeclarationNameInfo()
5874 AddSourceLocation(NNS.getLocalSourceRange().getEnd()); in AddNestedNameSpecifierLoc()
5878 AddSourceLocation(NNS.getLocalSourceRange().getEnd()); in AddNestedNameSpecifierLoc()
5892 AddSourceLocation(TemplateParams->getTemplateLoc()); in AddTemplateParameterList()
5893 AddSourceLocation(TemplateParams->getLAngleLoc()); in AddTemplateParameterList()
5894 AddSourceLocation(TemplateParams->getRAngleLoc()); in AddTemplateParameterList()
5919 AddSourceLocation(ASTTemplArgList->LAngleLoc); in AddASTTemplateArgumentListInfo()
5920 AddSourceLocation(ASTTemplArgList->RAngleLoc); in AddASTTemplateArgumentListInfo()
5944 AddSourceLocation(Base.isPackExpansion()? Base.getEllipsisLoc() in AddCXXBaseSpecifier()
5988 Writer.AddSourceLocation(Init->getMemberLocation()); in EmitCXXCtorInitializers()
5990 Writer.AddSourceLocation(Init->getLParenLoc()); in EmitCXXCtorInitializers()
5991 Writer.AddSourceLocation(Init->getRParenLoc()); in EmitCXXCtorInitializers()
6078 AddSourceLocation(Capture.getLocation()); in AddCXXDefinitionData()
6095 AddSourceLocation(Capture.isPackExpansion() ? Capture.getEllipsisLoc() in AddCXXDefinitionData()
6513 Record.AddSourceLocation(C->getBeginLoc()); in writeClause()
6514 Record.AddSourceLocation(C->getEndLoc()); in writeClause()
6530 Record.AddSourceLocation(C->getNameModifierLoc()); in VisitOMPIfClause()
6531 Record.AddSourceLocation(C->getColonLoc()); in VisitOMPIfClause()
6533 Record.AddSourceLocation(C->getLParenLoc()); in VisitOMPIfClause()
6539 Record.AddSourceLocation(C->getLParenLoc()); in VisitOMPFinalClause()
6545 Record.AddSourceLocation(C->getLParenLoc()); in VisitOMPNumThreadsClause()
6550 Record.AddSourceLocation(C->getLParenLoc()); in VisitOMPSafelenClause()
6555 Record.AddSourceLocation(C->getLParenLoc()); in VisitOMPSimdlenClause()
6562 Record.AddSourceLocation(C->getLParenLoc()); in VisitOMPSizesClause()
6569 Record.AddSourceLocation(C->getLParenLoc()); in VisitOMPPartialClause()
6574 Record.AddSourceLocation(C->getLParenLoc()); in VisitOMPAllocatorClause()
6579 Record.AddSourceLocation(C->getLParenLoc()); in VisitOMPCollapseClause()
6584 Record.AddSourceLocation(C->getLParenLoc()); in VisitOMPDetachClause()
6589 Record.AddSourceLocation(C->getLParenLoc()); in VisitOMPDefaultClause()
6590 Record.AddSourceLocation(C->getDefaultKindKwLoc()); in VisitOMPDefaultClause()
6595 Record.AddSourceLocation(C->getLParenLoc()); in VisitOMPProcBindClause()
6596 Record.AddSourceLocation(C->getProcBindKindKwLoc()); in VisitOMPProcBindClause()
6605 Record.AddSourceLocation(C->getLParenLoc()); in VisitOMPScheduleClause()
6606 Record.AddSourceLocation(C->getFirstScheduleModifierLoc()); in VisitOMPScheduleClause()
6607 Record.AddSourceLocation(C->getSecondScheduleModifierLoc()); in VisitOMPScheduleClause()
6608 Record.AddSourceLocation(C->getScheduleKindLoc()); in VisitOMPScheduleClause()
6609 Record.AddSourceLocation(C->getCommaLoc()); in VisitOMPScheduleClause()
6619 Record.AddSourceLocation(C->getLParenLoc()); in VisitOMPOrderedClause()
6635 Record.AddSourceLocation(C->getLParenLoc()); in VisitOMPUpdateClause()
6636 Record.AddSourceLocation(C->getArgumentLoc()); in VisitOMPUpdateClause()
6647 Record.AddSourceLocation(C->getLParenLoc()); in VisitOMPFailClause()
6648 Record.AddSourceLocation(C->getFailParameterLoc()); in VisitOMPFailClause()
6674 Record.AddSourceLocation(C->getLParenLoc()); in VisitOMPInitClause()
6675 Record.AddSourceLocation(C->getVarLoc()); in VisitOMPInitClause()
6680 Record.AddSourceLocation(C->getLParenLoc()); in VisitOMPUseClause()
6681 Record.AddSourceLocation(C->getVarLoc()); in VisitOMPUseClause()
6686 Record.AddSourceLocation(C->getLParenLoc()); in VisitOMPDestroyClause()
6687 Record.AddSourceLocation(C->getVarLoc()); in VisitOMPDestroyClause()
6693 Record.AddSourceLocation(C->getLParenLoc()); in VisitOMPNovariantsClause()
6699 Record.AddSourceLocation(C->getLParenLoc()); in VisitOMPNocontextClause()
6705 Record.AddSourceLocation(C->getLParenLoc()); in VisitOMPFilterClause()
6710 Record.AddSourceLocation(C->getLParenLoc()); in VisitOMPAlignClause()
6715 Record.AddSourceLocation(C->getLParenLoc()); in VisitOMPPrivateClause()
6727 Record.AddSourceLocation(C->getLParenLoc()); in VisitOMPFirstprivateClause()
6742 Record.AddSourceLocation(C->getLParenLoc()); in VisitOMPLastprivateClause()
6744 Record.AddSourceLocation(C->getKindLoc()); in VisitOMPLastprivateClause()
6745 Record.AddSourceLocation(C->getColonLoc()); in VisitOMPLastprivateClause()
6760 Record.AddSourceLocation(C->getLParenLoc()); in VisitOMPSharedClause()
6769 Record.AddSourceLocation(C->getLParenLoc()); in VisitOMPReductionClause()
6770 Record.AddSourceLocation(C->getModifierLoc()); in VisitOMPReductionClause()
6771 Record.AddSourceLocation(C->getColonLoc()); in VisitOMPReductionClause()
6797 Record.AddSourceLocation(C->getLParenLoc()); in VisitOMPTaskReductionClause()
6798 Record.AddSourceLocation(C->getColonLoc()); in VisitOMPTaskReductionClause()
6816 Record.AddSourceLocation(C->getLParenLoc()); in VisitOMPInReductionClause()
6817 Record.AddSourceLocation(C->getColonLoc()); in VisitOMPInReductionClause()
6837 Record.AddSourceLocation(C->getLParenLoc()); in VisitOMPLinearClause()
6838 Record.AddSourceLocation(C->getColonLoc()); in VisitOMPLinearClause()
6840 Record.AddSourceLocation(C->getModifierLoc()); in VisitOMPLinearClause()
6864 Record.AddSourceLocation(C->getLParenLoc()); in VisitOMPAlignedClause()
6865 Record.AddSourceLocation(C->getColonLoc()); in VisitOMPAlignedClause()
6873 Record.AddSourceLocation(C->getLParenLoc()); in VisitOMPCopyinClause()
6886 Record.AddSourceLocation(C->getLParenLoc()); in VisitOMPCopyprivateClause()
6899 Record.AddSourceLocation(C->getLParenLoc()); in VisitOMPFlushClause()
6906 Record.AddSourceLocation(C->getLParenLoc()); in VisitOMPDepobjClause()
6912 Record.AddSourceLocation(C->getLParenLoc()); in VisitOMPDependClause()
6915 Record.AddSourceLocation(C->getDependencyLoc()); in VisitOMPDependClause()
6916 Record.AddSourceLocation(C->getColonLoc()); in VisitOMPDependClause()
6917 Record.AddSourceLocation(C->getOmpAllMemoryLoc()); in VisitOMPDependClause()
6928 Record.AddSourceLocation(C->getModifierLoc()); in VisitOMPDeviceClause()
6929 Record.AddSourceLocation(C->getLParenLoc()); in VisitOMPDeviceClause()
6937 Record.AddSourceLocation(C->getLParenLoc()); in VisitOMPMapClause()
6941 Record.AddSourceLocation(C->getMapTypeModifierLoc(I)); in VisitOMPMapClause()
6948 Record.AddSourceLocation(C->getMapLoc()); in VisitOMPMapClause()
6949 Record.AddSourceLocation(C->getColonLoc()); in VisitOMPMapClause()
6970 Record.AddSourceLocation(C->getLParenLoc()); in VisitOMPAllocateClause()
6971 Record.AddSourceLocation(C->getColonLoc()); in VisitOMPAllocateClause()
6980 Record.AddSourceLocation(C->getLParenLoc()); in VisitOMPNumTeamsClause()
6986 Record.AddSourceLocation(C->getLParenLoc()); in VisitOMPThreadLimitClause()
6992 Record.AddSourceLocation(C->getLParenLoc()); in VisitOMPPriorityClause()
6999 Record.AddSourceLocation(C->getModifierLoc()); in VisitOMPGrainsizeClause()
7000 Record.AddSourceLocation(C->getLParenLoc()); in VisitOMPGrainsizeClause()
7007 Record.AddSourceLocation(C->getModifierLoc()); in VisitOMPNumTasksClause()
7008 Record.AddSourceLocation(C->getLParenLoc()); in VisitOMPNumTasksClause()
7013 Record.AddSourceLocation(C->getLParenLoc()); in VisitOMPHintClause()
7020 Record.AddSourceLocation(C->getLParenLoc()); in VisitOMPDistScheduleClause()
7021 Record.AddSourceLocation(C->getDistScheduleKindLoc()); in VisitOMPDistScheduleClause()
7022 Record.AddSourceLocation(C->getCommaLoc()); in VisitOMPDistScheduleClause()
7028 Record.AddSourceLocation(C->getLParenLoc()); in VisitOMPDefaultmapClause()
7029 Record.AddSourceLocation(C->getDefaultmapModifierLoc()); in VisitOMPDefaultmapClause()
7030 Record.AddSourceLocation(C->getDefaultmapKindLoc()); in VisitOMPDefaultmapClause()
7038 Record.AddSourceLocation(C->getLParenLoc()); in VisitOMPToClause()
7041 Record.AddSourceLocation(C->getMotionModifierLoc(I)); in VisitOMPToClause()
7045 Record.AddSourceLocation(C->getColonLoc()); in VisitOMPToClause()
7068 Record.AddSourceLocation(C->getLParenLoc()); in VisitOMPFromClause()
7071 Record.AddSourceLocation(C->getMotionModifierLoc(I)); in VisitOMPFromClause()
7075 Record.AddSourceLocation(C->getColonLoc()); in VisitOMPFromClause()
7098 Record.AddSourceLocation(C->getLParenLoc()); in VisitOMPUseDevicePtrClause()
7122 Record.AddSourceLocation(C->getLParenLoc()); in VisitOMPUseDeviceAddrClause()
7142 Record.AddSourceLocation(C->getLParenLoc()); in VisitOMPIsDevicePtrClause()
7162 Record.AddSourceLocation(C->getLParenLoc()); in VisitOMPHasDeviceAddrClause()
7191 Record.AddSourceLocation(C->getLParenLoc()); in VisitOMPAtomicDefaultMemOrderClause()
7192 Record.AddSourceLocation(C->getAtomicDefaultMemOrderKindKwLoc()); in VisitOMPAtomicDefaultMemOrderClause()
7197 Record.AddSourceLocation(C->getLParenLoc()); in VisitOMPAtClause()
7198 Record.AddSourceLocation(C->getAtKindKwLoc()); in VisitOMPAtClause()
7203 Record.AddSourceLocation(C->getLParenLoc()); in VisitOMPSeverityClause()
7204 Record.AddSourceLocation(C->getSeverityKindKwLoc()); in VisitOMPSeverityClause()
7209 Record.AddSourceLocation(C->getLParenLoc()); in VisitOMPMessageClause()
7214 Record.AddSourceLocation(C->getLParenLoc()); in VisitOMPNontemporalClause()
7223 Record.AddSourceLocation(C->getLParenLoc()); in VisitOMPInclusiveClause()
7230 Record.AddSourceLocation(C->getLParenLoc()); in VisitOMPExclusiveClause()
7238 Record.AddSourceLocation(C->getLParenLoc()); in VisitOMPOrderClause()
7239 Record.AddSourceLocation(C->getKindKwLoc()); in VisitOMPOrderClause()
7240 Record.AddSourceLocation(C->getModifierKwLoc()); in VisitOMPOrderClause()
7245 Record.AddSourceLocation(C->getLParenLoc()); in VisitOMPUsesAllocatorsClause()
7250 Record.AddSourceLocation(Data.LParenLoc); in VisitOMPUsesAllocatorsClause()
7251 Record.AddSourceLocation(Data.RParenLoc); in VisitOMPUsesAllocatorsClause()
7257 Record.AddSourceLocation(C->getLParenLoc()); in VisitOMPAffinityClause()
7259 Record.AddSourceLocation(C->getColonLoc()); in VisitOMPAffinityClause()
7266 Record.AddSourceLocation(C->getLParenLoc()); in VisitOMPBindClause()
7267 Record.AddSourceLocation(C->getBindKindLoc()); in VisitOMPBindClause()
7273 Record.AddSourceLocation(C->getLParenLoc()); in VisitOMPXDynCGroupMemClause()
7279 Record.AddSourceLocation(C->getLParenLoc()); in VisitOMPDoacrossClause()
7281 Record.AddSourceLocation(C->getDependenceLoc()); in VisitOMPDoacrossClause()
7282 Record.AddSourceLocation(C->getColonLoc()); in VisitOMPDoacrossClause()
7291 Record.AddSourceLocation(C->getBeginLoc()); in VisitOMPXAttributeClause()
7292 Record.AddSourceLocation(C->getLParenLoc()); in VisitOMPXAttributeClause()
7293 Record.AddSourceLocation(C->getEndLoc()); in VisitOMPXAttributeClause()