[lld] r227672 - Make atom collections private.

Rui Ueyama ruiu at google.com
Fri Jan 30 20:19:57 PST 2015


Author: ruiu
Date: Fri Jan 30 22:19:57 2015
New Revision: 227672

URL: http://llvm.org/viewvc/llvm-project?rev=227672&view=rev
Log:
Make atom collections private.

These fields were made protected in r193585. The aim of that change is to
expose these fields to SimpleFileWrapper. Because SimpleFileWrapper class
was removed in r227549, we can make them private.

Modified:
    lld/trunk/include/lld/Core/Simple.h

Modified: lld/trunk/include/lld/Core/Simple.h
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/include/lld/Core/Simple.h?rev=227672&r1=227671&r2=227672&view=diff
==============================================================================
--- lld/trunk/include/lld/Core/Simple.h (original)
+++ lld/trunk/include/lld/Core/Simple.h Fri Jan 30 22:19:57 2015
@@ -82,7 +82,7 @@ public:
     return make_range(_definedAtoms._atoms);
   }
 
-protected:
+private:
   atom_collection_vector<DefinedAtom>        _definedAtoms;
   atom_collection_vector<UndefinedAtom>      _undefinedAtoms;
   atom_collection_vector<SharedLibraryAtom>  _sharedLibraryAtoms;





More information about the llvm-commits mailing list