mirror of
https://github.com/RPCSX/llvm.git
synced 2024-11-26 21:20:37 +00:00
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
This commit is contained in:
parent
5e5c5f8259
commit
35de7619a0
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user