summaryrefslogtreecommitdiffstats
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
commitd2f8ba0b3de0510cb7f828b0695a735b0ff3e69f (patch)
treea3c82a49b13b8496da0af1ebb346e8e9dfcef905
parent949458d014795e3dc345ef6a45f9cd8867196bd8 (diff)
downloadbcm5719-llvm-d2f8ba0b3de0510cb7f828b0695a735b0ff3e69f.tar.gz
bcm5719-llvm-d2f8ba0b3de0510cb7f828b0695a735b0ff3e69f.zip
11.8p1: A nested class is a member and as such has the same access rights as
any other member. llvm-svn: 95047
-rw-r--r--llvm/include/llvm/ADT/ImmutableMap.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/llvm/include/llvm/ADT/ImmutableMap.h b/llvm/include/llvm/ADT/ImmutableMap.h
index 7c0a8c964e5..8af128ef3bd 100644
--- a/llvm/include/llvm/ADT/ImmutableMap.h
+++ b/llvm/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;
}
OpenPOWER on IntegriCloud