Lines Matching refs:AddSourceLocation
262 Record.AddSourceLocation(Loc, Seq); in addSourceLocation()
1352 AddSourceLocation(M.ImportLoc, Record); in WriteControlBlock()
2089 AddSourceLocation(File.getIncludeLoc(), Record); in WriteSourceManagerBlock()
2153 AddSourceLocation(Expansion.getSpellingLoc(), Record, Seq); in WriteSourceManagerBlock()
2154 AddSourceLocation(Expansion.getExpansionLocStart(), Record, Seq); in WriteSourceManagerBlock()
2155 AddSourceLocation(Expansion.isMacroArgExpansion() in WriteSourceManagerBlock()
2310 AddSourceLocation(AssumeNonNullLoc, Record); in WritePreprocessor()
2320 AddSourceLocation(SkipInfo->HashTokenLoc, Record); in WritePreprocessor()
2321 AddSourceLocation(SkipInfo->IfTokenLoc, Record); in WritePreprocessor()
2324 AddSourceLocation(SkipInfo->ElseLoc, Record); in WritePreprocessor()
2329 AddSourceLocation(Cond.IfLoc, Record); in WritePreprocessor()
2387 AddSourceLocation(MD->getLocation(), Record); in WritePreprocessor()
2406 AddSourceLocation(MD->getLocation(), Record); in WritePreprocessor()
2475 AddSourceLocation(MI->getDefinitionLoc(), Record); in WritePreprocessor()
2476 AddSourceLocation(MI->getDefinitionEndLoc(), Record); in WritePreprocessor()
3034 AddSourceLocation(Loc, Record); in WritePragmaDiagnosticMappings()
3052 AddSourceLocation(Diag.DiagStatesByLoc.CurDiagStateLoc, Record); in WritePragmaDiagnosticMappings()
3435 Writer.AddSourceLocation(Loc); in WriteReferencedSelectorsPool()
4268 AddSourceLocation(PragmaLoc, Record); in WriteOptimizePragmaOptions()
4284 AddSourceLocation(SemaRef.ImplicitMSInheritanceAttrLoc, Record); in WriteMSPointersToMembersPragmaOptions()
4297 AddSourceLocation(SemaRef.AlignPackStack.CurrentPragmaLocation, Record); in WritePackPragmaOptions()
4301 AddSourceLocation(StackEntry.PragmaLocation, Record); in WritePackPragmaOptions()
4302 AddSourceLocation(StackEntry.PragmaPushLocation, Record); in WritePackPragmaOptions()
4317 AddSourceLocation(SemaRef.FpPragmaStack.CurrentPragmaLocation, Record); in WriteFloatControlPragmaOptions()
4321 AddSourceLocation(StackEntry.PragmaLocation, Record); in WriteFloatControlPragmaOptions()
4322 AddSourceLocation(StackEntry.PragmaPushLocation, Record); in WriteFloatControlPragmaOptions()
4381 Record.AddSourceLocation(A->getScopeLoc()); in AddAttr()
4397 AddSourceLocation(Tok.getLocation(), Record); in AddToken()
4404 AddSourceLocation(Tok.getAnnotationEndLoc(), Record); in AddToken()
4710 AddSourceLocation(WI.getLocation(), WeakUndeclaredIdentifiers); in WriteASTCore()
4723 AddSourceLocation(SemaRef.VTableUses[I].second, VTableUses); in WriteASTCore()
4737 AddSourceLocation(I.second, PendingInstantiations); in WriteASTCore()
4769 AddSourceLocation(I.second, UndefinedButUsed); in WriteASTCore()
4782 AddSourceLocation(DeleteLoc.first, DeleteExprsToAnalyze); in WriteASTCore()
5128 AddSourceLocation(PP.getModuleImportLoc(Import.M), ImportedModules); in WriteASTCore()
5195 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()
5321 Record.AddSourceLocation(Def->getInnerLocStart()); in WriteDeclUpdatesBlocks()
5402 void ASTWriter::AddSourceLocation(SourceLocation Loc, RecordDataImpl &Record, in AddSourceLocation() function in ASTWriter
5410 AddSourceLocation(Range.getBegin(), Record, Seq); in AddSourceRange()
5411 AddSourceLocation(Range.getEnd(), Record, Seq); in AddSourceRange()
5498 AddSourceLocation(Arg.getTemplateNameLoc()); in AddTemplateArgumentLocInfo()
5502 AddSourceLocation(Arg.getTemplateNameLoc()); in AddTemplateArgumentLocInfo()
5503 AddSourceLocation(Arg.getTemplateEllipsisLoc()); in AddTemplateArgumentLocInfo()
5704 AddSourceLocation(DNLoc.getCXXLiteralOperatorNameLoc()); in AddDeclarationNameLoc()
5720 AddSourceLocation(NameInfo.getLoc()); in AddDeclarationNameInfo()
5770 AddSourceLocation(NNS.getLocalSourceRange().getEnd()); in AddNestedNameSpecifierLoc()
5774 AddSourceLocation(NNS.getLocalSourceRange().getEnd()); in AddNestedNameSpecifierLoc()
5788 AddSourceLocation(TemplateParams->getTemplateLoc()); in AddTemplateParameterList()
5789 AddSourceLocation(TemplateParams->getLAngleLoc()); in AddTemplateParameterList()
5790 AddSourceLocation(TemplateParams->getRAngleLoc()); in AddTemplateParameterList()
5815 AddSourceLocation(ASTTemplArgList->LAngleLoc); in AddASTTemplateArgumentListInfo()
5816 AddSourceLocation(ASTTemplArgList->RAngleLoc); in AddASTTemplateArgumentListInfo()
5840 AddSourceLocation(Base.isPackExpansion()? Base.getEllipsisLoc() in AddCXXBaseSpecifier()
5884 Writer.AddSourceLocation(Init->getMemberLocation()); in EmitCXXCtorInitializers()
5886 Writer.AddSourceLocation(Init->getLParenLoc()); in EmitCXXCtorInitializers()
5887 Writer.AddSourceLocation(Init->getRParenLoc()); in EmitCXXCtorInitializers()
5951 AddSourceLocation(Capture.getLocation()); in AddCXXDefinitionData()
5964 AddSourceLocation(Capture.isPackExpansion() ? Capture.getEllipsisLoc() in AddCXXDefinitionData()
6375 Record.AddSourceLocation(C->getBeginLoc()); in writeClause()
6376 Record.AddSourceLocation(C->getEndLoc()); in writeClause()
6392 Record.AddSourceLocation(C->getNameModifierLoc()); in VisitOMPIfClause()
6393 Record.AddSourceLocation(C->getColonLoc()); in VisitOMPIfClause()
6395 Record.AddSourceLocation(C->getLParenLoc()); in VisitOMPIfClause()
6401 Record.AddSourceLocation(C->getLParenLoc()); in VisitOMPFinalClause()
6407 Record.AddSourceLocation(C->getLParenLoc()); in VisitOMPNumThreadsClause()
6412 Record.AddSourceLocation(C->getLParenLoc()); in VisitOMPSafelenClause()
6417 Record.AddSourceLocation(C->getLParenLoc()); in VisitOMPSimdlenClause()
6424 Record.AddSourceLocation(C->getLParenLoc()); in VisitOMPSizesClause()
6431 Record.AddSourceLocation(C->getLParenLoc()); in VisitOMPPartialClause()
6436 Record.AddSourceLocation(C->getLParenLoc()); in VisitOMPAllocatorClause()
6441 Record.AddSourceLocation(C->getLParenLoc()); in VisitOMPCollapseClause()
6446 Record.AddSourceLocation(C->getLParenLoc()); in VisitOMPDetachClause()
6451 Record.AddSourceLocation(C->getLParenLoc()); in VisitOMPDefaultClause()
6452 Record.AddSourceLocation(C->getDefaultKindKwLoc()); in VisitOMPDefaultClause()
6457 Record.AddSourceLocation(C->getLParenLoc()); in VisitOMPProcBindClause()
6458 Record.AddSourceLocation(C->getProcBindKindKwLoc()); in VisitOMPProcBindClause()
6467 Record.AddSourceLocation(C->getLParenLoc()); in VisitOMPScheduleClause()
6468 Record.AddSourceLocation(C->getFirstScheduleModifierLoc()); in VisitOMPScheduleClause()
6469 Record.AddSourceLocation(C->getSecondScheduleModifierLoc()); in VisitOMPScheduleClause()
6470 Record.AddSourceLocation(C->getScheduleKindLoc()); in VisitOMPScheduleClause()
6471 Record.AddSourceLocation(C->getCommaLoc()); in VisitOMPScheduleClause()
6481 Record.AddSourceLocation(C->getLParenLoc()); in VisitOMPOrderedClause()
6497 Record.AddSourceLocation(C->getLParenLoc()); in VisitOMPUpdateClause()
6498 Record.AddSourceLocation(C->getArgumentLoc()); in VisitOMPUpdateClause()
6529 Record.AddSourceLocation(C->getLParenLoc()); in VisitOMPInitClause()
6530 Record.AddSourceLocation(C->getVarLoc()); in VisitOMPInitClause()
6535 Record.AddSourceLocation(C->getLParenLoc()); in VisitOMPUseClause()
6536 Record.AddSourceLocation(C->getVarLoc()); in VisitOMPUseClause()
6541 Record.AddSourceLocation(C->getLParenLoc()); in VisitOMPDestroyClause()
6542 Record.AddSourceLocation(C->getVarLoc()); in VisitOMPDestroyClause()
6548 Record.AddSourceLocation(C->getLParenLoc()); in VisitOMPNovariantsClause()
6554 Record.AddSourceLocation(C->getLParenLoc()); in VisitOMPNocontextClause()
6560 Record.AddSourceLocation(C->getLParenLoc()); in VisitOMPFilterClause()
6565 Record.AddSourceLocation(C->getLParenLoc()); in VisitOMPAlignClause()
6570 Record.AddSourceLocation(C->getLParenLoc()); in VisitOMPPrivateClause()
6582 Record.AddSourceLocation(C->getLParenLoc()); in VisitOMPFirstprivateClause()
6597 Record.AddSourceLocation(C->getLParenLoc()); in VisitOMPLastprivateClause()
6599 Record.AddSourceLocation(C->getKindLoc()); in VisitOMPLastprivateClause()
6600 Record.AddSourceLocation(C->getColonLoc()); in VisitOMPLastprivateClause()
6615 Record.AddSourceLocation(C->getLParenLoc()); in VisitOMPSharedClause()
6624 Record.AddSourceLocation(C->getLParenLoc()); in VisitOMPReductionClause()
6625 Record.AddSourceLocation(C->getModifierLoc()); in VisitOMPReductionClause()
6626 Record.AddSourceLocation(C->getColonLoc()); in VisitOMPReductionClause()
6652 Record.AddSourceLocation(C->getLParenLoc()); in VisitOMPTaskReductionClause()
6653 Record.AddSourceLocation(C->getColonLoc()); in VisitOMPTaskReductionClause()
6671 Record.AddSourceLocation(C->getLParenLoc()); in VisitOMPInReductionClause()
6672 Record.AddSourceLocation(C->getColonLoc()); in VisitOMPInReductionClause()
6692 Record.AddSourceLocation(C->getLParenLoc()); in VisitOMPLinearClause()
6693 Record.AddSourceLocation(C->getColonLoc()); in VisitOMPLinearClause()
6695 Record.AddSourceLocation(C->getModifierLoc()); in VisitOMPLinearClause()
6719 Record.AddSourceLocation(C->getLParenLoc()); in VisitOMPAlignedClause()
6720 Record.AddSourceLocation(C->getColonLoc()); in VisitOMPAlignedClause()
6728 Record.AddSourceLocation(C->getLParenLoc()); in VisitOMPCopyinClause()
6741 Record.AddSourceLocation(C->getLParenLoc()); in VisitOMPCopyprivateClause()
6754 Record.AddSourceLocation(C->getLParenLoc()); in VisitOMPFlushClause()
6761 Record.AddSourceLocation(C->getLParenLoc()); in VisitOMPDepobjClause()
6767 Record.AddSourceLocation(C->getLParenLoc()); in VisitOMPDependClause()
6770 Record.AddSourceLocation(C->getDependencyLoc()); in VisitOMPDependClause()
6771 Record.AddSourceLocation(C->getColonLoc()); in VisitOMPDependClause()
6772 Record.AddSourceLocation(C->getOmpAllMemoryLoc()); in VisitOMPDependClause()
6783 Record.AddSourceLocation(C->getModifierLoc()); in VisitOMPDeviceClause()
6784 Record.AddSourceLocation(C->getLParenLoc()); in VisitOMPDeviceClause()
6792 Record.AddSourceLocation(C->getLParenLoc()); in VisitOMPMapClause()
6796 Record.AddSourceLocation(C->getMapTypeModifierLoc(I)); in VisitOMPMapClause()
6803 Record.AddSourceLocation(C->getMapLoc()); in VisitOMPMapClause()
6804 Record.AddSourceLocation(C->getColonLoc()); in VisitOMPMapClause()
6825 Record.AddSourceLocation(C->getLParenLoc()); in VisitOMPAllocateClause()
6826 Record.AddSourceLocation(C->getColonLoc()); in VisitOMPAllocateClause()
6835 Record.AddSourceLocation(C->getLParenLoc()); in VisitOMPNumTeamsClause()
6841 Record.AddSourceLocation(C->getLParenLoc()); in VisitOMPThreadLimitClause()
6847 Record.AddSourceLocation(C->getLParenLoc()); in VisitOMPPriorityClause()
6854 Record.AddSourceLocation(C->getModifierLoc()); in VisitOMPGrainsizeClause()
6855 Record.AddSourceLocation(C->getLParenLoc()); in VisitOMPGrainsizeClause()
6862 Record.AddSourceLocation(C->getModifierLoc()); in VisitOMPNumTasksClause()
6863 Record.AddSourceLocation(C->getLParenLoc()); in VisitOMPNumTasksClause()
6868 Record.AddSourceLocation(C->getLParenLoc()); in VisitOMPHintClause()
6875 Record.AddSourceLocation(C->getLParenLoc()); in VisitOMPDistScheduleClause()
6876 Record.AddSourceLocation(C->getDistScheduleKindLoc()); in VisitOMPDistScheduleClause()
6877 Record.AddSourceLocation(C->getCommaLoc()); in VisitOMPDistScheduleClause()
6883 Record.AddSourceLocation(C->getLParenLoc()); in VisitOMPDefaultmapClause()
6884 Record.AddSourceLocation(C->getDefaultmapModifierLoc()); in VisitOMPDefaultmapClause()
6885 Record.AddSourceLocation(C->getDefaultmapKindLoc()); in VisitOMPDefaultmapClause()
6893 Record.AddSourceLocation(C->getLParenLoc()); in VisitOMPToClause()
6896 Record.AddSourceLocation(C->getMotionModifierLoc(I)); in VisitOMPToClause()
6900 Record.AddSourceLocation(C->getColonLoc()); in VisitOMPToClause()
6923 Record.AddSourceLocation(C->getLParenLoc()); in VisitOMPFromClause()
6926 Record.AddSourceLocation(C->getMotionModifierLoc(I)); in VisitOMPFromClause()
6930 Record.AddSourceLocation(C->getColonLoc()); in VisitOMPFromClause()
6953 Record.AddSourceLocation(C->getLParenLoc()); in VisitOMPUseDevicePtrClause()
6977 Record.AddSourceLocation(C->getLParenLoc()); in VisitOMPUseDeviceAddrClause()
6997 Record.AddSourceLocation(C->getLParenLoc()); in VisitOMPIsDevicePtrClause()
7017 Record.AddSourceLocation(C->getLParenLoc()); in VisitOMPHasDeviceAddrClause()
7046 Record.AddSourceLocation(C->getLParenLoc()); in VisitOMPAtomicDefaultMemOrderClause()
7047 Record.AddSourceLocation(C->getAtomicDefaultMemOrderKindKwLoc()); in VisitOMPAtomicDefaultMemOrderClause()
7052 Record.AddSourceLocation(C->getLParenLoc()); in VisitOMPAtClause()
7053 Record.AddSourceLocation(C->getAtKindKwLoc()); in VisitOMPAtClause()
7058 Record.AddSourceLocation(C->getLParenLoc()); in VisitOMPSeverityClause()
7059 Record.AddSourceLocation(C->getSeverityKindKwLoc()); in VisitOMPSeverityClause()
7064 Record.AddSourceLocation(C->getLParenLoc()); in VisitOMPMessageClause()
7069 Record.AddSourceLocation(C->getLParenLoc()); in VisitOMPNontemporalClause()
7078 Record.AddSourceLocation(C->getLParenLoc()); in VisitOMPInclusiveClause()
7085 Record.AddSourceLocation(C->getLParenLoc()); in VisitOMPExclusiveClause()
7093 Record.AddSourceLocation(C->getLParenLoc()); in VisitOMPOrderClause()
7094 Record.AddSourceLocation(C->getKindKwLoc()); in VisitOMPOrderClause()
7095 Record.AddSourceLocation(C->getModifierKwLoc()); in VisitOMPOrderClause()
7100 Record.AddSourceLocation(C->getLParenLoc()); in VisitOMPUsesAllocatorsClause()
7105 Record.AddSourceLocation(Data.LParenLoc); in VisitOMPUsesAllocatorsClause()
7106 Record.AddSourceLocation(Data.RParenLoc); in VisitOMPUsesAllocatorsClause()
7112 Record.AddSourceLocation(C->getLParenLoc()); in VisitOMPAffinityClause()
7114 Record.AddSourceLocation(C->getColonLoc()); in VisitOMPAffinityClause()
7121 Record.AddSourceLocation(C->getLParenLoc()); in VisitOMPBindClause()
7122 Record.AddSourceLocation(C->getBindKindLoc()); in VisitOMPBindClause()
7128 Record.AddSourceLocation(C->getLParenLoc()); in VisitOMPXDynCGroupMemClause()