diff options
Diffstat (limited to 'source/slang/slang-check.cpp')
| -rw-r--r-- | source/slang/slang-check.cpp | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/source/slang/slang-check.cpp b/source/slang/slang-check.cpp index 8c6cddbfe..bcc74a6d0 100644 --- a/source/slang/slang-check.cpp +++ b/source/slang/slang-check.cpp @@ -210,24 +210,4 @@ namespace Slang throw; } } - - void removeLookupForName(TypeCheckingCache* cache, Name* name) - { - auto& lookupCache = cache->lookupCache; - - List<LookupRequestKey> keys; - - for (const auto& pairs : lookupCache) - { - const auto& key = pairs.Key; - if (key.name == name) - { - keys.add(key); - } - } - for (auto& key : keys) - { - lookupCache.Remove(key); - } - } } |
