OSDN Git Service

Make SCEVExpanders private methods private, instead of protected.
authorDan Gohman <gohman@apple.com>
Wed, 22 Apr 2009 16:00:36 +0000 (16:00 +0000)
committerDan Gohman <gohman@apple.com>
Wed, 22 Apr 2009 16:00:36 +0000 (16:00 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@69806 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/Analysis/ScalarEvolutionExpander.h

index 16db5f3..5327f9d 100644 (file)
@@ -91,7 +91,8 @@ namespace llvm {
     /// of work to avoid inserting an obviously redundant operation.
     static Value *InsertBinop(Instruction::BinaryOps Opcode, Value *LHS,
                               Value *RHS, Instruction *InsertPt);
-  protected:
+
+  private:
     Value *expand(const SCEV *S);
 
     Value *visitConstant(const SCEVConstant *S) {