Lines Matching refs:MacroArgsCache
1697 void SourceManager::computeMacroArgsCache(MacroArgsMap &MacroArgsCache, in computeMacroArgsCache() argument
1702 MacroArgsCache.insert(std::make_pair(0, SourceLocation())); in computeMacroArgsCache()
1756 associateFileChunkWithMacroArgExp(MacroArgsCache, FID, in computeMacroArgsCache()
1764 MacroArgsMap &MacroArgsCache, in associateFileChunkWithMacroArgExp() argument
1793 associateFileChunkWithMacroArgExp(MacroArgsCache, FID, in associateFileChunkWithMacroArgExp()
1835 MacroArgsMap::iterator I = MacroArgsCache.upper_bound(EndOffs); in associateFileChunkWithMacroArgExp()
1838 MacroArgsCache[BeginOffs] = ExpansionLoc; in associateFileChunkWithMacroArgExp()
1839 MacroArgsCache[EndOffs] = EndOffsMappedLoc; in associateFileChunkWithMacroArgExp()
1862 std::unique_ptr<MacroArgsMap> &MacroArgsCache = MacroArgsCacheMap[FID]; in getMacroArgExpandedLocation() local
1863 if (!MacroArgsCache) { in getMacroArgExpandedLocation()
1864 MacroArgsCache = std::make_unique<MacroArgsMap>(); in getMacroArgExpandedLocation()
1865 computeMacroArgsCache(*MacroArgsCache, FID); in getMacroArgExpandedLocation()
1868 assert(!MacroArgsCache->empty()); in getMacroArgExpandedLocation()
1869 MacroArgsMap::iterator I = MacroArgsCache->upper_bound(Offset); in getMacroArgExpandedLocation()
1872 if (I == MacroArgsCache->begin()) in getMacroArgExpandedLocation()