Make AnalysisImpls private.
authorDan Gohman <gohman@apple.com>
Sat, 7 Aug 2010 00:34:52 +0000 (00:34 +0000)
committerDan Gohman <gohman@apple.com>
Sat, 7 Aug 2010 00:34:52 +0000 (00:34 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@110492 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/PassAnalysisSupport.h

index a99a1ae8711818bdd20dbcf4565823c24a0741a1..0136966ea08b3a8bfec8526e5dbe7503a69829e7 100644 (file)
@@ -156,11 +156,11 @@ public:
   // getAnalysisIfAvailable - Return analysis result or null if it doesn't exist
   Pass *getAnalysisIfAvailable(AnalysisID ID, bool Direction) const;
 
   // getAnalysisIfAvailable - Return analysis result or null if it doesn't exist
   Pass *getAnalysisIfAvailable(AnalysisID ID, bool Direction) const;
 
+private:
   // AnalysisImpls - This keeps track of which passes implements the interfaces
   // that are required by the current pass (to implement getAnalysis()).
   std::vector<std::pair<AnalysisID, Pass*> > AnalysisImpls;
 
   // AnalysisImpls - This keeps track of which passes implements the interfaces
   // that are required by the current pass (to implement getAnalysis()).
   std::vector<std::pair<AnalysisID, Pass*> > AnalysisImpls;
 
-private:
   // PassManager that is used to resolve analysis info
   PMDataManager &PM;
 };
   // PassManager that is used to resolve analysis info
   PMDataManager &PM;
 };