aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorDuncan Sands <baldrick@free.fr>2012-04-14 15:43:22 +0000
committerDuncan Sands <baldrick@free.fr>2012-04-14 15:43:22 +0000
commit35de7619a0599b11c2f1e0644ddea2b1bd1f9ae2 (patch)
tree1271b7c5447483dc2d3668e33601cc47b558b225 /include
parent5e5c5f8259b90ba77c0b30e67cb360165000d1f6 (diff)
downloadexternal_llvm-35de7619a0599b11c2f1e0644ddea2b1bd1f9ae2.zip
external_llvm-35de7619a0599b11c2f1e0644ddea2b1bd1f9ae2.tar.gz
external_llvm-35de7619a0599b11c2f1e0644ddea2b1bd1f9ae2.tar.bz2
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
Diffstat (limited to 'include')
-rw-r--r--include/llvm/Operator.h5
1 files changed, 3 insertions, 2 deletions
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.