projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3b5487e
)
11.8p1: A nested class is a member and as such has the same access rights as
author
Zhongxing Xu
<xuzhongxing@gmail.com>
Tue, 2 Feb 2010 01:57:01 +0000
(
01:57
+0000)
committer
Zhongxing Xu
<xuzhongxing@gmail.com>
Tue, 2 Feb 2010 01:57:01 +0000
(
01:57
+0000)
any other member.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@95047
91177308
-0d34-0410-b5e6-
96231b3b80d8
include/llvm/ADT/ImmutableMap.h
patch
|
blob
|
history
diff --git
a/include/llvm/ADT/ImmutableMap.h
b/include/llvm/ADT/ImmutableMap.h
index 7c0a8c964e522f47d373955c628bc228bd17e798..8af128ef3bd847f2127848711be25aefd5c117f8 100644
(file)
--- 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;
}