diff options
author | Dan Gohman <gohman@apple.com> | 2010-08-05 23:44:45 +0000 |
---|---|---|
committer | Dan Gohman <gohman@apple.com> | 2010-08-05 23:44:45 +0000 |
commit | cb74993bdc37681ddbb80fa361575107afae1350 (patch) | |
tree | 3990d2e23abf611794d2ec2c1e30aa16901a5577 | |
parent | 9ccaf53ada99c63737547c0235baeb8454b04e80 (diff) |
Make AA private, since subclasses shouldn't (aren't don't) access it directly.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@110398 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | include/llvm/Analysis/AliasAnalysis.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/llvm/Analysis/AliasAnalysis.h b/include/llvm/Analysis/AliasAnalysis.h index 5bf620e1cf..2d72d4cf74 100644 --- a/include/llvm/Analysis/AliasAnalysis.h +++ b/include/llvm/Analysis/AliasAnalysis.h @@ -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 |