aboutsummaryrefslogtreecommitdiffstats
path: root/include/llvm/ADT/StringMap.h
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2007-02-11 08:22:15 +0000
committerChris Lattner <sabre@nondot.org>2007-02-11 08:22:15 +0000
commit360cac8fef34b4671f27ef52674a41e29154ddc7 (patch)
tree5000eda0c387a1ea04c94a66ec8cda9e8f780c71 /include/llvm/ADT/StringMap.h
parenta86559ec426c643a151aeba1e051e4f878050f95 (diff)
downloadexternal_llvm-360cac8fef34b4671f27ef52674a41e29154ddc7.tar.gz
external_llvm-360cac8fef34b4671f27ef52674a41e29154ddc7.tar.bz2
external_llvm-360cac8fef34b4671f27ef52674a41e29154ddc7.zip
remove support for stringmap visitors now that iterators exist.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34180 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/ADT/StringMap.h')
-rw-r--r--include/llvm/ADT/StringMap.h10
1 files changed, 0 insertions, 10 deletions
diff --git a/include/llvm/ADT/StringMap.h b/include/llvm/ADT/StringMap.h
index 1865e7f48a..52982589f7 100644
--- a/include/llvm/ADT/StringMap.h
+++ b/include/llvm/ADT/StringMap.h
@@ -33,14 +33,6 @@ public:
unsigned getKeyLength() const { return StrLen; }
};
-/// StringMapVisitor - Subclasses of this class may be implemented to walk all
-/// of the items in a StringMap.
-class StringMapVisitor {
-public:
- virtual ~StringMapVisitor();
- virtual void Visit(const char *Key, StringMapEntryBase *Value) const = 0;
-};
-
/// StringMapImpl - This is the base class of StringMap that is shared among
/// all of its instantiations.
class StringMapImpl {
@@ -82,8 +74,6 @@ public:
bool empty() const { return NumItems == 0; }
unsigned size() const { return NumItems; }
-
- void VisitEntries(const StringMapVisitor &Visitor) const;
};
/// StringMapEntry - This is used to represent one value that is inserted into