From cb74993bdc37681ddbb80fa361575107afae1350 Mon Sep 17 00:00:00 2001 From: Dan Gohman Date: Thu, 5 Aug 2010 23:44:45 +0000 Subject: [PATCH] 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 --- include/llvm/Analysis/AliasAnalysis.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/include/llvm/Analysis/AliasAnalysis.h b/include/llvm/Analysis/AliasAnalysis.h index 5bf620e1cf9..2d72d4cf74d 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 -- 2.34.1