Lines Matching refs:MacroArgsCache
1712 void SourceManager::computeMacroArgsCache(MacroArgsMap &MacroArgsCache, in computeMacroArgsCache() argument
1717 MacroArgsCache.insert(std::make_pair(0, SourceLocation())); in computeMacroArgsCache()
1771 associateFileChunkWithMacroArgExp(MacroArgsCache, FID, in computeMacroArgsCache()
1779 MacroArgsMap &MacroArgsCache, in associateFileChunkWithMacroArgExp() argument
1808 associateFileChunkWithMacroArgExp(MacroArgsCache, FID, in associateFileChunkWithMacroArgExp()
1850 MacroArgsMap::iterator I = MacroArgsCache.upper_bound(EndOffs); in associateFileChunkWithMacroArgExp()
1853 MacroArgsCache[BeginOffs] = ExpansionLoc; in associateFileChunkWithMacroArgExp()
1854 MacroArgsCache[EndOffs] = EndOffsMappedLoc; in associateFileChunkWithMacroArgExp()
1883 std::unique_ptr<MacroArgsMap> &MacroArgsCache = MacroArgsCacheMap[FID]; in getMacroArgExpandedLocation() local
1884 if (!MacroArgsCache) { in getMacroArgExpandedLocation()
1885 MacroArgsCache = std::make_unique<MacroArgsMap>(); in getMacroArgExpandedLocation()
1886 computeMacroArgsCache(*MacroArgsCache, FID); in getMacroArgExpandedLocation()
1889 assert(!MacroArgsCache->empty()); in getMacroArgExpandedLocation()
1890 MacroArgsMap::iterator I = MacroArgsCache->upper_bound(Offset); in getMacroArgExpandedLocation()
1893 if (I == MacroArgsCache->begin()) in getMacroArgExpandedLocation()