Lines Matching refs:AddSourceLocation
198 Record.AddSourceLocation(TL.getBuiltinLoc()); in VisitBuiltinTypeLoc()
208 Record.AddSourceLocation(TL.getNameLoc()); in VisitComplexTypeLoc()
212 Record.AddSourceLocation(TL.getStarLoc()); in VisitPointerTypeLoc()
224 Record.AddSourceLocation(TL.getCaretLoc()); in VisitBlockPointerTypeLoc()
228 Record.AddSourceLocation(TL.getAmpLoc()); in VisitLValueReferenceTypeLoc()
232 Record.AddSourceLocation(TL.getAmpAmpLoc()); in VisitRValueReferenceTypeLoc()
236 Record.AddSourceLocation(TL.getStarLoc()); in VisitMemberPointerTypeLoc()
241 Record.AddSourceLocation(TL.getLBracketLoc()); in VisitArrayTypeLoc()
242 Record.AddSourceLocation(TL.getRBracketLoc()); in VisitArrayTypeLoc()
267 Record.AddSourceLocation(TL.getAttrNameLoc()); in VisitDependentAddressSpaceTypeLoc()
269 Record.AddSourceLocation(range.getBegin()); in VisitDependentAddressSpaceTypeLoc()
270 Record.AddSourceLocation(range.getEnd()); in VisitDependentAddressSpaceTypeLoc()
276 Record.AddSourceLocation(TL.getNameLoc()); in VisitDependentSizedExtVectorTypeLoc()
280 Record.AddSourceLocation(TL.getNameLoc()); in VisitVectorTypeLoc()
285 Record.AddSourceLocation(TL.getNameLoc()); in VisitDependentVectorTypeLoc()
289 Record.AddSourceLocation(TL.getNameLoc()); in VisitExtVectorTypeLoc()
293 Record.AddSourceLocation(TL.getAttrNameLoc()); in VisitConstantMatrixTypeLoc()
295 Record.AddSourceLocation(range.getBegin()); in VisitConstantMatrixTypeLoc()
296 Record.AddSourceLocation(range.getEnd()); in VisitConstantMatrixTypeLoc()
303 Record.AddSourceLocation(TL.getAttrNameLoc()); in VisitDependentSizedMatrixTypeLoc()
305 Record.AddSourceLocation(range.getBegin()); in VisitDependentSizedMatrixTypeLoc()
306 Record.AddSourceLocation(range.getEnd()); in VisitDependentSizedMatrixTypeLoc()
312 Record.AddSourceLocation(TL.getLocalRangeBegin()); in VisitFunctionTypeLoc()
313 Record.AddSourceLocation(TL.getLParenLoc()); in VisitFunctionTypeLoc()
314 Record.AddSourceLocation(TL.getRParenLoc()); in VisitFunctionTypeLoc()
316 Record.AddSourceLocation(TL.getLocalRangeEnd()); in VisitFunctionTypeLoc()
330 Record.AddSourceLocation(TL.getNameLoc()); in VisitUnresolvedUsingTypeLoc()
334 Record.AddSourceLocation(TL.getNameLoc()); in VisitTypedefTypeLoc()
339 Record.AddSourceLocation(TL.getProtocolLAngleLoc()); in VisitObjCTypeParamTypeLoc()
340 Record.AddSourceLocation(TL.getProtocolRAngleLoc()); in VisitObjCTypeParamTypeLoc()
343 Record.AddSourceLocation(TL.getProtocolLoc(i)); in VisitObjCTypeParamTypeLoc()
347 Record.AddSourceLocation(TL.getTypeofLoc()); in VisitTypeOfExprTypeLoc()
348 Record.AddSourceLocation(TL.getLParenLoc()); in VisitTypeOfExprTypeLoc()
349 Record.AddSourceLocation(TL.getRParenLoc()); in VisitTypeOfExprTypeLoc()
353 Record.AddSourceLocation(TL.getTypeofLoc()); in VisitTypeOfTypeLoc()
354 Record.AddSourceLocation(TL.getLParenLoc()); in VisitTypeOfTypeLoc()
355 Record.AddSourceLocation(TL.getRParenLoc()); in VisitTypeOfTypeLoc()
360 Record.AddSourceLocation(TL.getNameLoc()); in VisitDecltypeTypeLoc()
364 Record.AddSourceLocation(TL.getKWLoc()); in VisitUnaryTransformTypeLoc()
365 Record.AddSourceLocation(TL.getLParenLoc()); in VisitUnaryTransformTypeLoc()
366 Record.AddSourceLocation(TL.getRParenLoc()); in VisitUnaryTransformTypeLoc()
371 Record.AddSourceLocation(TL.getNameLoc()); in VisitAutoTypeLoc()
375 Record.AddSourceLocation(TL.getTemplateKWLoc()); in VisitAutoTypeLoc()
376 Record.AddSourceLocation(TL.getConceptNameLoc()); in VisitAutoTypeLoc()
378 Record.AddSourceLocation(TL.getLAngleLoc()); in VisitAutoTypeLoc()
379 Record.AddSourceLocation(TL.getRAngleLoc()); in VisitAutoTypeLoc()
388 Record.AddSourceLocation(TL.getTemplateNameLoc()); in VisitDeducedTemplateSpecializationTypeLoc()
392 Record.AddSourceLocation(TL.getNameLoc()); in VisitRecordTypeLoc()
396 Record.AddSourceLocation(TL.getNameLoc()); in VisitEnumTypeLoc()
404 Record.AddSourceLocation(TL.getNameLoc()); in VisitTemplateTypeParmTypeLoc()
409 Record.AddSourceLocation(TL.getNameLoc()); in VisitSubstTemplateTypeParmTypeLoc()
414 Record.AddSourceLocation(TL.getNameLoc()); in VisitSubstTemplateTypeParmPackTypeLoc()
419 Record.AddSourceLocation(TL.getTemplateKeywordLoc()); in VisitTemplateSpecializationTypeLoc()
420 Record.AddSourceLocation(TL.getTemplateNameLoc()); in VisitTemplateSpecializationTypeLoc()
421 Record.AddSourceLocation(TL.getLAngleLoc()); in VisitTemplateSpecializationTypeLoc()
422 Record.AddSourceLocation(TL.getRAngleLoc()); in VisitTemplateSpecializationTypeLoc()
429 Record.AddSourceLocation(TL.getLParenLoc()); in VisitParenTypeLoc()
430 Record.AddSourceLocation(TL.getRParenLoc()); in VisitParenTypeLoc()
434 Record.AddSourceLocation(TL.getExpansionLoc()); in VisitMacroQualifiedTypeLoc()
438 Record.AddSourceLocation(TL.getElaboratedKeywordLoc()); in VisitElaboratedTypeLoc()
443 Record.AddSourceLocation(TL.getNameLoc()); in VisitInjectedClassNameTypeLoc()
447 Record.AddSourceLocation(TL.getElaboratedKeywordLoc()); in VisitDependentNameTypeLoc()
449 Record.AddSourceLocation(TL.getNameLoc()); in VisitDependentNameTypeLoc()
454 Record.AddSourceLocation(TL.getElaboratedKeywordLoc()); in VisitDependentTemplateSpecializationTypeLoc()
456 Record.AddSourceLocation(TL.getTemplateKeywordLoc()); in VisitDependentTemplateSpecializationTypeLoc()
457 Record.AddSourceLocation(TL.getTemplateNameLoc()); in VisitDependentTemplateSpecializationTypeLoc()
458 Record.AddSourceLocation(TL.getLAngleLoc()); in VisitDependentTemplateSpecializationTypeLoc()
459 Record.AddSourceLocation(TL.getRAngleLoc()); in VisitDependentTemplateSpecializationTypeLoc()
466 Record.AddSourceLocation(TL.getEllipsisLoc()); in VisitPackExpansionTypeLoc()
470 Record.AddSourceLocation(TL.getNameLoc()); in VisitObjCInterfaceTypeLoc()
475 Record.AddSourceLocation(TL.getTypeArgsLAngleLoc()); in VisitObjCObjectTypeLoc()
476 Record.AddSourceLocation(TL.getTypeArgsRAngleLoc()); in VisitObjCObjectTypeLoc()
479 Record.AddSourceLocation(TL.getProtocolLAngleLoc()); in VisitObjCObjectTypeLoc()
480 Record.AddSourceLocation(TL.getProtocolRAngleLoc()); in VisitObjCObjectTypeLoc()
482 Record.AddSourceLocation(TL.getProtocolLoc(i)); in VisitObjCObjectTypeLoc()
486 Record.AddSourceLocation(TL.getStarLoc()); in VisitObjCObjectPointerTypeLoc()
490 Record.AddSourceLocation(TL.getKWLoc()); in VisitAtomicTypeLoc()
491 Record.AddSourceLocation(TL.getLParenLoc()); in VisitAtomicTypeLoc()
492 Record.AddSourceLocation(TL.getRParenLoc()); in VisitAtomicTypeLoc()
496 Record.AddSourceLocation(TL.getKWLoc()); in VisitPipeTypeLoc()
500 Record.AddSourceLocation(TL.getNameLoc()); in VisitExtIntTypeLoc()
504 Record.AddSourceLocation(TL.getNameLoc()); in VisitDependentExtIntTypeLoc()
1213 AddSourceLocation(M.ImportLoc, Record); in WriteControlBlock()
1969 AddSourceLocation(File.getIncludeLoc(), Record); in WriteSourceManagerBlock()
2030 AddSourceLocation(Expansion.getSpellingLoc(), Record); in WriteSourceManagerBlock()
2031 AddSourceLocation(Expansion.getExpansionLocStart(), Record); in WriteSourceManagerBlock()
2032 AddSourceLocation(Expansion.isMacroArgExpansion() in WriteSourceManagerBlock()
2164 AddSourceLocation(SkipInfo->HashTokenLoc, Record); in WritePreprocessor()
2165 AddSourceLocation(SkipInfo->IfTokenLoc, Record); in WritePreprocessor()
2168 AddSourceLocation(SkipInfo->ElseLoc, Record); in WritePreprocessor()
2173 AddSourceLocation(Cond.IfLoc, Record); in WritePreprocessor()
2219 AddSourceLocation(MD->getLocation(), Record); in WritePreprocessor()
2291 AddSourceLocation(MI->getDefinitionLoc(), Record); in WritePreprocessor()
2292 AddSourceLocation(MI->getDefinitionEndLoc(), Record); in WritePreprocessor()
2822 AddSourceLocation(Loc, Record); in WritePragmaDiagnosticMappings()
2840 AddSourceLocation(Diag.DiagStatesByLoc.CurDiagStateLoc, Record); in WritePragmaDiagnosticMappings()
3216 Writer.AddSourceLocation(Loc); in WriteReferencedSelectorsPool()
4134 AddSourceLocation(PragmaLoc, Record); in WriteOptimizePragmaOptions()
4150 AddSourceLocation(SemaRef.ImplicitMSInheritanceAttrLoc, Record); in WriteMSPointersToMembersPragmaOptions()
4163 AddSourceLocation(SemaRef.PackStack.CurrentPragmaLocation, Record); in WritePackPragmaOptions()
4167 AddSourceLocation(StackEntry.PragmaLocation, Record); in WritePackPragmaOptions()
4168 AddSourceLocation(StackEntry.PragmaPushLocation, Record); in WritePackPragmaOptions()
4183 AddSourceLocation(SemaRef.FpPragmaStack.CurrentPragmaLocation, Record); in WriteFloatControlPragmaOptions()
4187 AddSourceLocation(StackEntry.PragmaLocation, Record); in WriteFloatControlPragmaOptions()
4188 AddSourceLocation(StackEntry.PragmaPushLocation, Record); in WriteFloatControlPragmaOptions()
4242 Record.AddSourceLocation(A->getScopeLoc()); in AddAttr()
4258 AddSourceLocation(Tok.getLocation(), Record); in AddToken()
4486 AddSourceLocation(WI.getLocation(), WeakUndeclaredIdentifiers); in WriteASTCore()
4499 AddSourceLocation(SemaRef.VTableUses[I].second, VTableUses); in WriteASTCore()
4513 AddSourceLocation(I.second, PendingInstantiations); in WriteASTCore()
4545 AddSourceLocation(I.second, UndefinedButUsed); in WriteASTCore()
4558 AddSourceLocation(DeleteLoc.first, DeleteExprsToAnalyze); in WriteASTCore()
4909 AddSourceLocation(PP.getModuleImportLoc(Import.M), ImportedModules); in WriteASTCore()
4976 Record.AddSourceLocation(Update.getLoc()); in WriteDeclUpdatesBlocks()
5011 Record.AddSourceLocation(MSInfo->getPointOfInstantiation()); in WriteDeclUpdatesBlocks()
5015 Record.AddSourceLocation(Spec->getPointOfInstantiation()); in WriteDeclUpdatesBlocks()
5031 Record.AddSourceLocation(RD->getLocation()); in WriteDeclUpdatesBlocks()
5032 Record.AddSourceLocation(RD->getBeginLoc()); in WriteDeclUpdatesBlocks()
5101 Record.AddSourceLocation(Def->getInnerLocStart()); in WriteDeclUpdatesBlocks()
5110 void ASTWriter::AddSourceLocation(SourceLocation Loc, RecordDataImpl &Record) { in AddSourceLocation() function in ASTWriter
5116 AddSourceLocation(Range.getBegin(), Record); in AddSourceRange()
5117 AddSourceLocation(Range.getEnd(), Record); in AddSourceRange()
5342 AddSourceLocation(Arg.getTemplateNameLoc()); in AddTemplateArgumentLocInfo()
5346 AddSourceLocation(Arg.getTemplateNameLoc()); in AddTemplateArgumentLocInfo()
5347 AddSourceLocation(Arg.getTemplateEllipsisLoc()); in AddTemplateArgumentLocInfo()
5551 AddSourceLocation(SourceLocation::getFromRawEncoding( in AddDeclarationNameLoc()
5553 AddSourceLocation( in AddDeclarationNameLoc()
5558 AddSourceLocation(SourceLocation::getFromRawEncoding( in AddDeclarationNameLoc()
5575 AddSourceLocation(NameInfo.getLoc()); in AddDeclarationNameInfo()
5625 AddSourceLocation(NNS.getLocalSourceRange().getEnd()); in AddNestedNameSpecifierLoc()
5629 AddSourceLocation(NNS.getLocalSourceRange().getEnd()); in AddNestedNameSpecifierLoc()
5643 AddSourceLocation(TemplateParams->getTemplateLoc()); in AddTemplateParameterList()
5644 AddSourceLocation(TemplateParams->getLAngleLoc()); in AddTemplateParameterList()
5645 AddSourceLocation(TemplateParams->getRAngleLoc()); in AddTemplateParameterList()
5670 AddSourceLocation(ASTTemplArgList->LAngleLoc); in AddASTTemplateArgumentListInfo()
5671 AddSourceLocation(ASTTemplArgList->RAngleLoc); in AddASTTemplateArgumentListInfo()
5695 AddSourceLocation(Base.isPackExpansion()? Base.getEllipsisLoc() in AddCXXBaseSpecifier()
5739 Writer.AddSourceLocation(Init->getMemberLocation()); in EmitCXXCtorInitializers()
5741 Writer.AddSourceLocation(Init->getLParenLoc()); in EmitCXXCtorInitializers()
5742 Writer.AddSourceLocation(Init->getRParenLoc()); in EmitCXXCtorInitializers()
5805 AddSourceLocation(Capture.getLocation()); in AddCXXDefinitionData()
5818 AddSourceLocation(Capture.isPackExpansion() ? Capture.getEllipsisLoc() in AddCXXDefinitionData()
6229 Record.AddSourceLocation(C->getBeginLoc()); in writeClause()
6230 Record.AddSourceLocation(C->getEndLoc()); in writeClause()
6246 Record.AddSourceLocation(C->getNameModifierLoc()); in VisitOMPIfClause()
6247 Record.AddSourceLocation(C->getColonLoc()); in VisitOMPIfClause()
6249 Record.AddSourceLocation(C->getLParenLoc()); in VisitOMPIfClause()
6255 Record.AddSourceLocation(C->getLParenLoc()); in VisitOMPFinalClause()
6261 Record.AddSourceLocation(C->getLParenLoc()); in VisitOMPNumThreadsClause()
6266 Record.AddSourceLocation(C->getLParenLoc()); in VisitOMPSafelenClause()
6271 Record.AddSourceLocation(C->getLParenLoc()); in VisitOMPSimdlenClause()
6276 Record.AddSourceLocation(C->getLParenLoc()); in VisitOMPAllocatorClause()
6281 Record.AddSourceLocation(C->getLParenLoc()); in VisitOMPCollapseClause()
6286 Record.AddSourceLocation(C->getLParenLoc()); in VisitOMPDetachClause()
6291 Record.AddSourceLocation(C->getLParenLoc()); in VisitOMPDefaultClause()
6292 Record.AddSourceLocation(C->getDefaultKindKwLoc()); in VisitOMPDefaultClause()
6297 Record.AddSourceLocation(C->getLParenLoc()); in VisitOMPProcBindClause()
6298 Record.AddSourceLocation(C->getProcBindKindKwLoc()); in VisitOMPProcBindClause()
6307 Record.AddSourceLocation(C->getLParenLoc()); in VisitOMPScheduleClause()
6308 Record.AddSourceLocation(C->getFirstScheduleModifierLoc()); in VisitOMPScheduleClause()
6309 Record.AddSourceLocation(C->getSecondScheduleModifierLoc()); in VisitOMPScheduleClause()
6310 Record.AddSourceLocation(C->getScheduleKindLoc()); in VisitOMPScheduleClause()
6311 Record.AddSourceLocation(C->getCommaLoc()); in VisitOMPScheduleClause()
6321 Record.AddSourceLocation(C->getLParenLoc()); in VisitOMPOrderedClause()
6337 Record.AddSourceLocation(C->getLParenLoc()); in VisitOMPUpdateClause()
6338 Record.AddSourceLocation(C->getArgumentLoc()); in VisitOMPUpdateClause()
6365 Record.AddSourceLocation(C->getLParenLoc()); in VisitOMPPrivateClause()
6377 Record.AddSourceLocation(C->getLParenLoc()); in VisitOMPFirstprivateClause()
6392 Record.AddSourceLocation(C->getLParenLoc()); in VisitOMPLastprivateClause()
6394 Record.AddSourceLocation(C->getKindLoc()); in VisitOMPLastprivateClause()
6395 Record.AddSourceLocation(C->getColonLoc()); in VisitOMPLastprivateClause()
6410 Record.AddSourceLocation(C->getLParenLoc()); in VisitOMPSharedClause()
6419 Record.AddSourceLocation(C->getLParenLoc()); in VisitOMPReductionClause()
6420 Record.AddSourceLocation(C->getModifierLoc()); in VisitOMPReductionClause()
6421 Record.AddSourceLocation(C->getColonLoc()); in VisitOMPReductionClause()
6447 Record.AddSourceLocation(C->getLParenLoc()); in VisitOMPTaskReductionClause()
6448 Record.AddSourceLocation(C->getColonLoc()); in VisitOMPTaskReductionClause()
6466 Record.AddSourceLocation(C->getLParenLoc()); in VisitOMPInReductionClause()
6467 Record.AddSourceLocation(C->getColonLoc()); in VisitOMPInReductionClause()
6487 Record.AddSourceLocation(C->getLParenLoc()); in VisitOMPLinearClause()
6488 Record.AddSourceLocation(C->getColonLoc()); in VisitOMPLinearClause()
6490 Record.AddSourceLocation(C->getModifierLoc()); in VisitOMPLinearClause()
6514 Record.AddSourceLocation(C->getLParenLoc()); in VisitOMPAlignedClause()
6515 Record.AddSourceLocation(C->getColonLoc()); in VisitOMPAlignedClause()
6523 Record.AddSourceLocation(C->getLParenLoc()); in VisitOMPCopyinClause()
6536 Record.AddSourceLocation(C->getLParenLoc()); in VisitOMPCopyprivateClause()
6549 Record.AddSourceLocation(C->getLParenLoc()); in VisitOMPFlushClause()
6556 Record.AddSourceLocation(C->getLParenLoc()); in VisitOMPDepobjClause()
6562 Record.AddSourceLocation(C->getLParenLoc()); in VisitOMPDependClause()
6565 Record.AddSourceLocation(C->getDependencyLoc()); in VisitOMPDependClause()
6566 Record.AddSourceLocation(C->getColonLoc()); in VisitOMPDependClause()
6577 Record.AddSourceLocation(C->getModifierLoc()); in VisitOMPDeviceClause()
6578 Record.AddSourceLocation(C->getLParenLoc()); in VisitOMPDeviceClause()
6586 Record.AddSourceLocation(C->getLParenLoc()); in VisitOMPMapClause()
6589 Record.AddSourceLocation(C->getMapTypeModifierLoc(I)); in VisitOMPMapClause()
6594 Record.AddSourceLocation(C->getMapLoc()); in VisitOMPMapClause()
6595 Record.AddSourceLocation(C->getColonLoc()); in VisitOMPMapClause()
6614 Record.AddSourceLocation(C->getLParenLoc()); in VisitOMPAllocateClause()
6615 Record.AddSourceLocation(C->getColonLoc()); in VisitOMPAllocateClause()
6624 Record.AddSourceLocation(C->getLParenLoc()); in VisitOMPNumTeamsClause()
6630 Record.AddSourceLocation(C->getLParenLoc()); in VisitOMPThreadLimitClause()
6636 Record.AddSourceLocation(C->getLParenLoc()); in VisitOMPPriorityClause()
6642 Record.AddSourceLocation(C->getLParenLoc()); in VisitOMPGrainsizeClause()
6648 Record.AddSourceLocation(C->getLParenLoc()); in VisitOMPNumTasksClause()
6653 Record.AddSourceLocation(C->getLParenLoc()); in VisitOMPHintClause()
6660 Record.AddSourceLocation(C->getLParenLoc()); in VisitOMPDistScheduleClause()
6661 Record.AddSourceLocation(C->getDistScheduleKindLoc()); in VisitOMPDistScheduleClause()
6662 Record.AddSourceLocation(C->getCommaLoc()); in VisitOMPDistScheduleClause()
6668 Record.AddSourceLocation(C->getLParenLoc()); in VisitOMPDefaultmapClause()
6669 Record.AddSourceLocation(C->getDefaultmapModifierLoc()); in VisitOMPDefaultmapClause()
6670 Record.AddSourceLocation(C->getDefaultmapKindLoc()); in VisitOMPDefaultmapClause()
6678 Record.AddSourceLocation(C->getLParenLoc()); in VisitOMPToClause()
6681 Record.AddSourceLocation(C->getMotionModifierLoc(I)); in VisitOMPToClause()
6685 Record.AddSourceLocation(C->getColonLoc()); in VisitOMPToClause()
6708 Record.AddSourceLocation(C->getLParenLoc()); in VisitOMPFromClause()
6711 Record.AddSourceLocation(C->getMotionModifierLoc(I)); in VisitOMPFromClause()
6715 Record.AddSourceLocation(C->getColonLoc()); in VisitOMPFromClause()
6738 Record.AddSourceLocation(C->getLParenLoc()); in VisitOMPUseDevicePtrClause()
6762 Record.AddSourceLocation(C->getLParenLoc()); in VisitOMPUseDeviceAddrClause()
6782 Record.AddSourceLocation(C->getLParenLoc()); in VisitOMPIsDevicePtrClause()
6811 Record.AddSourceLocation(C->getLParenLoc()); in VisitOMPAtomicDefaultMemOrderClause()
6812 Record.AddSourceLocation(C->getAtomicDefaultMemOrderKindKwLoc()); in VisitOMPAtomicDefaultMemOrderClause()
6817 Record.AddSourceLocation(C->getLParenLoc()); in VisitOMPNontemporalClause()
6826 Record.AddSourceLocation(C->getLParenLoc()); in VisitOMPInclusiveClause()
6833 Record.AddSourceLocation(C->getLParenLoc()); in VisitOMPExclusiveClause()
6840 Record.AddSourceLocation(C->getLParenLoc()); in VisitOMPOrderClause()
6841 Record.AddSourceLocation(C->getKindKwLoc()); in VisitOMPOrderClause()
6846 Record.AddSourceLocation(C->getLParenLoc()); in VisitOMPUsesAllocatorsClause()
6851 Record.AddSourceLocation(Data.LParenLoc); in VisitOMPUsesAllocatorsClause()
6852 Record.AddSourceLocation(Data.RParenLoc); in VisitOMPUsesAllocatorsClause()
6858 Record.AddSourceLocation(C->getLParenLoc()); in VisitOMPAffinityClause()
6860 Record.AddSourceLocation(C->getColonLoc()); in VisitOMPAffinityClause()