[llvm-commits] [llvm] r95047 - /llvm/trunk/include/llvm/ADT/ImmutableMap.h

Zhongxing Xu xuzhongxing at gmail.com
Mon Feb 1 17:57:02 PST 2010


Author: zhongxingxu
Date: Mon Feb  1 19:57:01 2010
New Revision: 95047

URL: http://llvm.org/viewvc/llvm-project?rev=95047&view=rev
Log:
11.8p1: A nested class is a member and as such has the same access rights as
any other member.

Modified:
    llvm/trunk/include/llvm/ADT/ImmutableMap.h

Modified: llvm/trunk/include/llvm/ADT/ImmutableMap.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/ADT/ImmutableMap.h?rev=95047&r1=95046&r2=95047&view=diff

==============================================================================
--- llvm/trunk/include/llvm/ADT/ImmutableMap.h (original)
+++ llvm/trunk/include/llvm/ADT/ImmutableMap.h Mon Feb  1 19:57:01 2010
@@ -106,13 +106,10 @@
     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;
   }





More information about the llvm-commits mailing list