1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-22 18:54:02 +01:00

There is no need for setIsExact to be public. Make it private.

llvm-svn: 154750
This commit is contained in:
Duncan Sands 2012-04-14 15:43:22 +00:00
parent 40d080e3b7
commit 7e4fa0a115

View 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.