[llvm] r366958 - Fix unittest build issue in r366956

Alex Lorenz via llvm-commits llvm-commits at lists.llvm.org
Wed Jul 24 16:10:35 PDT 2019


Author: arphaman
Date: Wed Jul 24 16:10:35 2019
New Revision: 366958

URL: http://llvm.org/viewvc/llvm-project?rev=366958&view=rev
Log:
Fix unittest build issue in r366956

I marked the fields as private, but they're needed by the unittest.
I'll have to fix that up separarely in a follow-up.

Modified:
    llvm/trunk/include/llvm/Support/FileCollector.h

Modified: llvm/trunk/include/llvm/Support/FileCollector.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Support/FileCollector.h?rev=366958&r1=366957&r2=366958&view=diff
==============================================================================
--- llvm/trunk/include/llvm/Support/FileCollector.h (original)
+++ llvm/trunk/include/llvm/Support/FileCollector.h Wed Jul 24 16:10:35 2019
@@ -50,6 +50,7 @@ private:
     m_vfs_writer.addFileMapping(virtual_path, real_path);
   }
 
+protected:
   /// Synchronizes adding files.
   std::mutex m_mutex;
 




More information about the llvm-commits mailing list