diff options
author | Duncan Sands <baldrick@free.fr> | 2012-04-14 15:43:22 +0000 |
---|---|---|
committer | Duncan Sands <baldrick@free.fr> | 2012-04-14 15:43:22 +0000 |
commit | 35de7619a0599b11c2f1e0644ddea2b1bd1f9ae2 (patch) | |
tree | 1271b7c5447483dc2d3668e33601cc47b558b225 /include | |
parent | 5e5c5f8259b90ba77c0b30e67cb360165000d1f6 (diff) | |
download | external_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.h | 5 |
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. |