[Lldb-commits] [lldb] [lldb] Remove unnecessary FormatCache::GetEntry (NFC) (PR #80603)
Adrian Prantl via lldb-commits
lldb-commits at lists.llvm.org
Mon Feb 5 09:57:44 PST 2024
================
@@ -45,15 +45,12 @@ class FormatCache {
void Set(lldb::TypeSummaryImplSP);
void Set(lldb::SyntheticChildrenSP);
};
- typedef std::map<ConstString, Entry> CacheMap;
- CacheMap m_map;
+ std::map<ConstString, Entry> m_entries;
----------------
adrian-prantl wrote:
Could this be a StringMap, or if we benefit from ConstString here, a DenseMap<ConstString, Entry> for faster lookups?
https://github.com/llvm/llvm-project/pull/80603
More information about the lldb-commits
mailing list