[llvm-commits] [llvm] r110398 - /llvm/trunk/include/llvm/Analysis/AliasAnalysis.h
Dan Gohman
gohman at apple.com
Thu Aug 5 16:44:45 PDT 2010
Author: djg
Date: Thu Aug 5 18:44:45 2010
New Revision: 110398
URL: http://llvm.org/viewvc/llvm-project?rev=110398&view=rev
Log:
Make AA private, since subclasses shouldn't (aren't don't) access it directly.
Modified:
llvm/trunk/include/llvm/Analysis/AliasAnalysis.h
Modified: llvm/trunk/include/llvm/Analysis/AliasAnalysis.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Analysis/AliasAnalysis.h?rev=110398&r1=110397&r2=110398&view=diff
==============================================================================
--- llvm/trunk/include/llvm/Analysis/AliasAnalysis.h (original)
+++ llvm/trunk/include/llvm/Analysis/AliasAnalysis.h Thu Aug 5 18:44:45 2010
@@ -43,8 +43,11 @@
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
More information about the llvm-commits
mailing list