aboutsummaryrefslogtreecommitdiffstats
path: root/include/llvm/ADT/ImmutableMap.h
diff options
context:
space:
mode:
authorZhongxing Xu <xuzhongxing@gmail.com>2010-02-02 01:57:01 +0000
committerZhongxing Xu <xuzhongxing@gmail.com>2010-02-02 01:57:01 +0000
commit44eedb980536b91adb6c2add0ba4a02d16041d20 (patch)
treebe97c81f83ef337202d22685b2761941dcc4bdc9 /include/llvm/ADT/ImmutableMap.h
parent3b5487e6276ba60484c1af10a857a1675462c102 (diff)
downloadexternal_llvm-44eedb980536b91adb6c2add0ba4a02d16041d20.zip
external_llvm-44eedb980536b91adb6c2add0ba4a02d16041d20.tar.gz
external_llvm-44eedb980536b91adb6c2add0ba4a02d16041d20.tar.bz2
11.8p1: A nested class is a member and as such has the same access rights as
any other member. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@95047 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/ADT/ImmutableMap.h')
-rw-r--r--include/llvm/ADT/ImmutableMap.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/include/llvm/ADT/ImmutableMap.h b/include/llvm/ADT/ImmutableMap.h
index 7c0a8c9..8af128e 100644
--- a/include/llvm/ADT/ImmutableMap.h
+++ b/include/llvm/ADT/ImmutableMap.h
@@ -106,13 +106,10 @@ public:
void operator=(const Factory& RHS); // DO NOT IMPLEMENT
};
- friend class Factory;
-
bool contains(key_type_ref K) const {
return Root ? Root->contains(K) : false;
}
-
bool operator==(ImmutableMap RHS) const {
return Root && RHS.Root ? Root->isEqual(*RHS.Root) : Root == RHS.Root;
}