OSDN Git Service

There is no need for setIsExact to be public. Make it private.
authorDuncan Sands <baldrick@free.fr>
Sat, 14 Apr 2012 15:43:22 +0000 (15:43 +0000)
committerDuncan Sands <baldrick@free.fr>
Sat, 14 Apr 2012 15:43:22 +0000 (15:43 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@154750 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/Operator.h

index abd6a19..9268d98 100644 (file)
@@ -129,14 +129,15 @@ public:
     IsExact = (1 << 0)
   };
   
+private:
+  ~PossiblyExactOperator(); // do not implement
+
   friend class BinaryOperator;
   friend class ConstantExpr;
   void setIsExact(bool B) {
     SubclassOptionalData = (SubclassOptionalData & ~IsExact) | (B * IsExact);
   }
   
-private:
-  ~PossiblyExactOperator(); // do not implement
 public:
   /// isExact - Test whether this division is known to be exact, with
   /// zero remainder.