Lines Matching refs:MacroArgsCache
1759 void SourceManager::computeMacroArgsCache(MacroArgsMap &MacroArgsCache, in computeMacroArgsCache() argument
1764 MacroArgsCache.insert(std::make_pair(0, SourceLocation())); in computeMacroArgsCache()
1818 associateFileChunkWithMacroArgExp(MacroArgsCache, FID, in computeMacroArgsCache()
1826 MacroArgsMap &MacroArgsCache, in associateFileChunkWithMacroArgExp() argument
1855 associateFileChunkWithMacroArgExp(MacroArgsCache, FID, in associateFileChunkWithMacroArgExp()
1897 MacroArgsMap::iterator I = MacroArgsCache.upper_bound(EndOffs); in associateFileChunkWithMacroArgExp()
1900 MacroArgsCache[BeginOffs] = ExpansionLoc; in associateFileChunkWithMacroArgExp()
1901 MacroArgsCache[EndOffs] = EndOffsMappedLoc; in associateFileChunkWithMacroArgExp()
1924 std::unique_ptr<MacroArgsMap> &MacroArgsCache = MacroArgsCacheMap[FID]; in getMacroArgExpandedLocation() local
1925 if (!MacroArgsCache) { in getMacroArgExpandedLocation()
1926 MacroArgsCache = std::make_unique<MacroArgsMap>(); in getMacroArgExpandedLocation()
1927 computeMacroArgsCache(*MacroArgsCache, FID); in getMacroArgExpandedLocation()
1930 assert(!MacroArgsCache->empty()); in getMacroArgExpandedLocation()
1931 MacroArgsMap::iterator I = MacroArgsCache->upper_bound(Offset); in getMacroArgExpandedLocation()
1934 if (I == MacroArgsCache->begin()) in getMacroArgExpandedLocation()