Appease MSVC bots by changing visibility of AtomVector.

The AtomVector class is an internal detail of File so I moved it
to be protected in r264067.  However, the MSVC bots don't like the
global declarations of type File::AtomVector in File.cpp so it needs
to go back to being public for now.

llvm-svn: 264070
This commit is contained in:
Pete Cooper 2016-03-22 17:39:44 +00:00
parent 1329b986d2
commit c2d21cb763
1 changed files with 3 additions and 4 deletions

View File

@ -40,10 +40,6 @@ class LinkingContext;
/// The Atom objects in a File are owned by the File object. The Atom objects
/// are destroyed when the File object is destroyed.
class File {
protected:
/// The type of atom mutable container.
template <typename T> using AtomVector = std::vector<OwningAtomPtr<T>>;
public:
virtual ~File();
@ -109,6 +105,9 @@ public:
return _allocator;
}
/// The type of atom mutable container.
template <typename T> using AtomVector = std::vector<OwningAtomPtr<T>>;
/// The range type for the atoms.
template <typename T> class AtomRange {
public: