Make AA private, since subclasses shouldn't (aren't don't) access it directly.

llvm-svn: 110398
This commit is contained in:
Dan Gohman 2010-08-05 23:44:45 +00:00
parent 73258830f3
commit 78d7c080e0
1 changed files with 3 additions and 0 deletions

View File

@ -43,8 +43,11 @@ class AnalysisUsage;
class AliasAnalysis {
protected:
const TargetData *TD;
private:
AliasAnalysis *AA; // Previous Alias Analysis to chain to.
protected:
/// InitializeAliasAnalysis - Subclasses must call this method to initialize
/// the AliasAnalysis interface before any other methods are called. This is
/// typically called by the run* methods of these subclasses. This may be