Lines Matching refs:AddSourceLocation

254     Record.AddSourceLocation(Loc, Seq);  in addSourceLocation()
1306 AddSourceLocation(M.ImportLoc, Record); in WriteControlBlock()
2083 AddSourceLocation(File.getIncludeLoc(), Record); in WriteSourceManagerBlock()
2144 AddSourceLocation(Expansion.getSpellingLoc(), Record, Seq); in WriteSourceManagerBlock()
2145 AddSourceLocation(Expansion.getExpansionLocStart(), Record, Seq); in WriteSourceManagerBlock()
2146 AddSourceLocation(Expansion.isMacroArgExpansion() in WriteSourceManagerBlock()
2302 AddSourceLocation(AssumeNonNullLoc, Record); in WritePreprocessor()
2312 AddSourceLocation(SkipInfo->HashTokenLoc, Record); in WritePreprocessor()
2313 AddSourceLocation(SkipInfo->IfTokenLoc, Record); in WritePreprocessor()
2316 AddSourceLocation(SkipInfo->ElseLoc, Record); in WritePreprocessor()
2321 AddSourceLocation(Cond.IfLoc, Record); in WritePreprocessor()
2376 AddSourceLocation(MD->getLocation(), Record); in WritePreprocessor()
2395 AddSourceLocation(MD->getLocation(), Record); in WritePreprocessor()
2464 AddSourceLocation(MI->getDefinitionLoc(), Record); in WritePreprocessor()
2465 AddSourceLocation(MI->getDefinitionEndLoc(), Record); in WritePreprocessor()
3015 AddSourceLocation(Loc, Record); in WritePragmaDiagnosticMappings()
3033 AddSourceLocation(Diag.DiagStatesByLoc.CurDiagStateLoc, Record); in WritePragmaDiagnosticMappings()
3416 Writer.AddSourceLocation(Loc); in WriteReferencedSelectorsPool()
4249 AddSourceLocation(PragmaLoc, Record); in WriteOptimizePragmaOptions()
4265 AddSourceLocation(SemaRef.ImplicitMSInheritanceAttrLoc, Record); in WriteMSPointersToMembersPragmaOptions()
4278 AddSourceLocation(SemaRef.AlignPackStack.CurrentPragmaLocation, Record); in WritePackPragmaOptions()
4282 AddSourceLocation(StackEntry.PragmaLocation, Record); in WritePackPragmaOptions()
4283 AddSourceLocation(StackEntry.PragmaPushLocation, Record); in WritePackPragmaOptions()
4298 AddSourceLocation(SemaRef.FpPragmaStack.CurrentPragmaLocation, Record); in WriteFloatControlPragmaOptions()
4302 AddSourceLocation(StackEntry.PragmaLocation, Record); in WriteFloatControlPragmaOptions()
4303 AddSourceLocation(StackEntry.PragmaPushLocation, Record); in WriteFloatControlPragmaOptions()
4361 Record.AddSourceLocation(A->getScopeLoc()); in AddAttr()
4377 AddSourceLocation(Tok.getLocation(), Record); in AddToken()
4606 AddSourceLocation(WI.getLocation(), WeakUndeclaredIdentifiers); in WriteASTCore()
4619 AddSourceLocation(SemaRef.VTableUses[I].second, VTableUses); in WriteASTCore()
4633 AddSourceLocation(I.second, PendingInstantiations); in WriteASTCore()
4665 AddSourceLocation(I.second, UndefinedButUsed); in WriteASTCore()
4678 AddSourceLocation(DeleteLoc.first, DeleteExprsToAnalyze); in WriteASTCore()
5024 AddSourceLocation(PP.getModuleImportLoc(Import.M), ImportedModules); in WriteASTCore()
5091 Record.AddSourceLocation(Update.getLoc()); in WriteDeclUpdatesBlocks()
5126 Record.AddSourceLocation(MSInfo->getPointOfInstantiation()); in WriteDeclUpdatesBlocks()
5130 Record.AddSourceLocation(Spec->getPointOfInstantiation()); in WriteDeclUpdatesBlocks()
5146 Record.AddSourceLocation(RD->getLocation()); in WriteDeclUpdatesBlocks()
5147 Record.AddSourceLocation(RD->getBeginLoc()); in WriteDeclUpdatesBlocks()
5217 Record.AddSourceLocation(Def->getInnerLocStart()); in WriteDeclUpdatesBlocks()
5232 void ASTWriter::AddSourceLocation(SourceLocation Loc, RecordDataImpl &Record, in AddSourceLocation() function in ASTWriter
5239 AddSourceLocation(Range.getBegin(), Record, Seq); in AddSourceRange()
5240 AddSourceLocation(Range.getEnd(), Record, Seq); in AddSourceRange()
5327 AddSourceLocation(Arg.getTemplateNameLoc()); in AddTemplateArgumentLocInfo()
5331 AddSourceLocation(Arg.getTemplateNameLoc()); in AddTemplateArgumentLocInfo()
5332 AddSourceLocation(Arg.getTemplateEllipsisLoc()); in AddTemplateArgumentLocInfo()
5532 AddSourceLocation(DNLoc.getCXXLiteralOperatorNameLoc()); in AddDeclarationNameLoc()
5548 AddSourceLocation(NameInfo.getLoc()); in AddDeclarationNameInfo()
5598 AddSourceLocation(NNS.getLocalSourceRange().getEnd()); in AddNestedNameSpecifierLoc()
5602 AddSourceLocation(NNS.getLocalSourceRange().getEnd()); in AddNestedNameSpecifierLoc()
5616 AddSourceLocation(TemplateParams->getTemplateLoc()); in AddTemplateParameterList()
5617 AddSourceLocation(TemplateParams->getLAngleLoc()); in AddTemplateParameterList()
5618 AddSourceLocation(TemplateParams->getRAngleLoc()); in AddTemplateParameterList()
5643 AddSourceLocation(ASTTemplArgList->LAngleLoc); in AddASTTemplateArgumentListInfo()
5644 AddSourceLocation(ASTTemplArgList->RAngleLoc); in AddASTTemplateArgumentListInfo()
5668 AddSourceLocation(Base.isPackExpansion()? Base.getEllipsisLoc() in AddCXXBaseSpecifier()
5712 Writer.AddSourceLocation(Init->getMemberLocation()); in EmitCXXCtorInitializers()
5714 Writer.AddSourceLocation(Init->getLParenLoc()); in EmitCXXCtorInitializers()
5715 Writer.AddSourceLocation(Init->getRParenLoc()); in EmitCXXCtorInitializers()
5779 AddSourceLocation(Capture.getLocation()); in AddCXXDefinitionData()
5792 AddSourceLocation(Capture.isPackExpansion() ? Capture.getEllipsisLoc() in AddCXXDefinitionData()
6203 Record.AddSourceLocation(C->getBeginLoc()); in writeClause()
6204 Record.AddSourceLocation(C->getEndLoc()); in writeClause()
6220 Record.AddSourceLocation(C->getNameModifierLoc()); in VisitOMPIfClause()
6221 Record.AddSourceLocation(C->getColonLoc()); in VisitOMPIfClause()
6223 Record.AddSourceLocation(C->getLParenLoc()); in VisitOMPIfClause()
6229 Record.AddSourceLocation(C->getLParenLoc()); in VisitOMPFinalClause()
6235 Record.AddSourceLocation(C->getLParenLoc()); in VisitOMPNumThreadsClause()
6240 Record.AddSourceLocation(C->getLParenLoc()); in VisitOMPSafelenClause()
6245 Record.AddSourceLocation(C->getLParenLoc()); in VisitOMPSimdlenClause()
6252 Record.AddSourceLocation(C->getLParenLoc()); in VisitOMPSizesClause()
6259 Record.AddSourceLocation(C->getLParenLoc()); in VisitOMPPartialClause()
6264 Record.AddSourceLocation(C->getLParenLoc()); in VisitOMPAllocatorClause()
6269 Record.AddSourceLocation(C->getLParenLoc()); in VisitOMPCollapseClause()
6274 Record.AddSourceLocation(C->getLParenLoc()); in VisitOMPDetachClause()
6279 Record.AddSourceLocation(C->getLParenLoc()); in VisitOMPDefaultClause()
6280 Record.AddSourceLocation(C->getDefaultKindKwLoc()); in VisitOMPDefaultClause()
6285 Record.AddSourceLocation(C->getLParenLoc()); in VisitOMPProcBindClause()
6286 Record.AddSourceLocation(C->getProcBindKindKwLoc()); in VisitOMPProcBindClause()
6295 Record.AddSourceLocation(C->getLParenLoc()); in VisitOMPScheduleClause()
6296 Record.AddSourceLocation(C->getFirstScheduleModifierLoc()); in VisitOMPScheduleClause()
6297 Record.AddSourceLocation(C->getSecondScheduleModifierLoc()); in VisitOMPScheduleClause()
6298 Record.AddSourceLocation(C->getScheduleKindLoc()); in VisitOMPScheduleClause()
6299 Record.AddSourceLocation(C->getCommaLoc()); in VisitOMPScheduleClause()
6309 Record.AddSourceLocation(C->getLParenLoc()); in VisitOMPOrderedClause()
6325 Record.AddSourceLocation(C->getLParenLoc()); in VisitOMPUpdateClause()
6326 Record.AddSourceLocation(C->getArgumentLoc()); in VisitOMPUpdateClause()
6357 Record.AddSourceLocation(C->getLParenLoc()); in VisitOMPInitClause()
6358 Record.AddSourceLocation(C->getVarLoc()); in VisitOMPInitClause()
6363 Record.AddSourceLocation(C->getLParenLoc()); in VisitOMPUseClause()
6364 Record.AddSourceLocation(C->getVarLoc()); in VisitOMPUseClause()
6369 Record.AddSourceLocation(C->getLParenLoc()); in VisitOMPDestroyClause()
6370 Record.AddSourceLocation(C->getVarLoc()); in VisitOMPDestroyClause()
6376 Record.AddSourceLocation(C->getLParenLoc()); in VisitOMPNovariantsClause()
6382 Record.AddSourceLocation(C->getLParenLoc()); in VisitOMPNocontextClause()
6388 Record.AddSourceLocation(C->getLParenLoc()); in VisitOMPFilterClause()
6393 Record.AddSourceLocation(C->getLParenLoc()); in VisitOMPAlignClause()
6398 Record.AddSourceLocation(C->getLParenLoc()); in VisitOMPPrivateClause()
6410 Record.AddSourceLocation(C->getLParenLoc()); in VisitOMPFirstprivateClause()
6425 Record.AddSourceLocation(C->getLParenLoc()); in VisitOMPLastprivateClause()
6427 Record.AddSourceLocation(C->getKindLoc()); in VisitOMPLastprivateClause()
6428 Record.AddSourceLocation(C->getColonLoc()); in VisitOMPLastprivateClause()
6443 Record.AddSourceLocation(C->getLParenLoc()); in VisitOMPSharedClause()
6452 Record.AddSourceLocation(C->getLParenLoc()); in VisitOMPReductionClause()
6453 Record.AddSourceLocation(C->getModifierLoc()); in VisitOMPReductionClause()
6454 Record.AddSourceLocation(C->getColonLoc()); in VisitOMPReductionClause()
6480 Record.AddSourceLocation(C->getLParenLoc()); in VisitOMPTaskReductionClause()
6481 Record.AddSourceLocation(C->getColonLoc()); in VisitOMPTaskReductionClause()
6499 Record.AddSourceLocation(C->getLParenLoc()); in VisitOMPInReductionClause()
6500 Record.AddSourceLocation(C->getColonLoc()); in VisitOMPInReductionClause()
6520 Record.AddSourceLocation(C->getLParenLoc()); in VisitOMPLinearClause()
6521 Record.AddSourceLocation(C->getColonLoc()); in VisitOMPLinearClause()
6523 Record.AddSourceLocation(C->getModifierLoc()); in VisitOMPLinearClause()
6547 Record.AddSourceLocation(C->getLParenLoc()); in VisitOMPAlignedClause()
6548 Record.AddSourceLocation(C->getColonLoc()); in VisitOMPAlignedClause()
6556 Record.AddSourceLocation(C->getLParenLoc()); in VisitOMPCopyinClause()
6569 Record.AddSourceLocation(C->getLParenLoc()); in VisitOMPCopyprivateClause()
6582 Record.AddSourceLocation(C->getLParenLoc()); in VisitOMPFlushClause()
6589 Record.AddSourceLocation(C->getLParenLoc()); in VisitOMPDepobjClause()
6595 Record.AddSourceLocation(C->getLParenLoc()); in VisitOMPDependClause()
6598 Record.AddSourceLocation(C->getDependencyLoc()); in VisitOMPDependClause()
6599 Record.AddSourceLocation(C->getColonLoc()); in VisitOMPDependClause()
6600 Record.AddSourceLocation(C->getOmpAllMemoryLoc()); in VisitOMPDependClause()
6611 Record.AddSourceLocation(C->getModifierLoc()); in VisitOMPDeviceClause()
6612 Record.AddSourceLocation(C->getLParenLoc()); in VisitOMPDeviceClause()
6620 Record.AddSourceLocation(C->getLParenLoc()); in VisitOMPMapClause()
6623 Record.AddSourceLocation(C->getMapTypeModifierLoc(I)); in VisitOMPMapClause()
6628 Record.AddSourceLocation(C->getMapLoc()); in VisitOMPMapClause()
6629 Record.AddSourceLocation(C->getColonLoc()); in VisitOMPMapClause()
6648 Record.AddSourceLocation(C->getLParenLoc()); in VisitOMPAllocateClause()
6649 Record.AddSourceLocation(C->getColonLoc()); in VisitOMPAllocateClause()
6658 Record.AddSourceLocation(C->getLParenLoc()); in VisitOMPNumTeamsClause()
6664 Record.AddSourceLocation(C->getLParenLoc()); in VisitOMPThreadLimitClause()
6670 Record.AddSourceLocation(C->getLParenLoc()); in VisitOMPPriorityClause()
6676 Record.AddSourceLocation(C->getLParenLoc()); in VisitOMPGrainsizeClause()
6682 Record.AddSourceLocation(C->getLParenLoc()); in VisitOMPNumTasksClause()
6687 Record.AddSourceLocation(C->getLParenLoc()); in VisitOMPHintClause()
6694 Record.AddSourceLocation(C->getLParenLoc()); in VisitOMPDistScheduleClause()
6695 Record.AddSourceLocation(C->getDistScheduleKindLoc()); in VisitOMPDistScheduleClause()
6696 Record.AddSourceLocation(C->getCommaLoc()); in VisitOMPDistScheduleClause()
6702 Record.AddSourceLocation(C->getLParenLoc()); in VisitOMPDefaultmapClause()
6703 Record.AddSourceLocation(C->getDefaultmapModifierLoc()); in VisitOMPDefaultmapClause()
6704 Record.AddSourceLocation(C->getDefaultmapKindLoc()); in VisitOMPDefaultmapClause()
6712 Record.AddSourceLocation(C->getLParenLoc()); in VisitOMPToClause()
6715 Record.AddSourceLocation(C->getMotionModifierLoc(I)); in VisitOMPToClause()
6719 Record.AddSourceLocation(C->getColonLoc()); in VisitOMPToClause()
6742 Record.AddSourceLocation(C->getLParenLoc()); in VisitOMPFromClause()
6745 Record.AddSourceLocation(C->getMotionModifierLoc(I)); in VisitOMPFromClause()
6749 Record.AddSourceLocation(C->getColonLoc()); in VisitOMPFromClause()
6772 Record.AddSourceLocation(C->getLParenLoc()); in VisitOMPUseDevicePtrClause()
6796 Record.AddSourceLocation(C->getLParenLoc()); in VisitOMPUseDeviceAddrClause()
6816 Record.AddSourceLocation(C->getLParenLoc()); in VisitOMPIsDevicePtrClause()
6836 Record.AddSourceLocation(C->getLParenLoc()); in VisitOMPHasDeviceAddrClause()
6865 Record.AddSourceLocation(C->getLParenLoc()); in VisitOMPAtomicDefaultMemOrderClause()
6866 Record.AddSourceLocation(C->getAtomicDefaultMemOrderKindKwLoc()); in VisitOMPAtomicDefaultMemOrderClause()
6871 Record.AddSourceLocation(C->getLParenLoc()); in VisitOMPNontemporalClause()
6880 Record.AddSourceLocation(C->getLParenLoc()); in VisitOMPInclusiveClause()
6887 Record.AddSourceLocation(C->getLParenLoc()); in VisitOMPExclusiveClause()
6894 Record.AddSourceLocation(C->getLParenLoc()); in VisitOMPOrderClause()
6895 Record.AddSourceLocation(C->getKindKwLoc()); in VisitOMPOrderClause()
6900 Record.AddSourceLocation(C->getLParenLoc()); in VisitOMPUsesAllocatorsClause()
6905 Record.AddSourceLocation(Data.LParenLoc); in VisitOMPUsesAllocatorsClause()
6906 Record.AddSourceLocation(Data.RParenLoc); in VisitOMPUsesAllocatorsClause()
6912 Record.AddSourceLocation(C->getLParenLoc()); in VisitOMPAffinityClause()
6914 Record.AddSourceLocation(C->getColonLoc()); in VisitOMPAffinityClause()
6921 Record.AddSourceLocation(C->getLParenLoc()); in VisitOMPBindClause()
6922 Record.AddSourceLocation(C->getBindKindLoc()); in VisitOMPBindClause()