From 35de7619a0599b11c2f1e0644ddea2b1bd1f9ae2 Mon Sep 17 00:00:00 2001 From: Duncan Sands Date: Sat, 14 Apr 2012 15:43:22 +0000 Subject: There is no need for setIsExact to be public. Make it private. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@154750 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/llvm/Operator.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'include/llvm') diff --git a/include/llvm/Operator.h b/include/llvm/Operator.h index abd6a19..9268d98 100644 --- a/include/llvm/Operator.h +++ b/include/llvm/Operator.h @@ -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. -- cgit v1.1