[llvm-commits] [llvm] r154750 - /llvm/trunk/include/llvm/Operator.h

Duncan Sands baldrick at free.fr
Sat Apr 14 08:43:22 PDT 2012


Author: baldrick
Date: Sat Apr 14 10:43:22 2012
New Revision: 154750

URL: http://llvm.org/viewvc/llvm-project?rev=154750&view=rev
Log:
There is no need for setIsExact to be public.  Make it private.

Modified:
    llvm/trunk/include/llvm/Operator.h

Modified: llvm/trunk/include/llvm/Operator.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Operator.h?rev=154750&r1=154749&r2=154750&view=diff
==============================================================================
--- llvm/trunk/include/llvm/Operator.h (original)
+++ llvm/trunk/include/llvm/Operator.h Sat Apr 14 10:43:22 2012
@@ -129,14 +129,15 @@
     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.





More information about the llvm-commits mailing list