forked from OSchip/llvm-project
[Scalar] Remove isValidSingle (NFC)
The last use was removed on Feb 18, 2022 in commit
00ab91b70d
.
This commit is contained in:
parent
a13b61f7f0
commit
30f19382c6
|
@ -90,14 +90,6 @@ struct ConstraintTy {
|
|||
/// Returns true if all preconditions for this list of constraints are
|
||||
/// satisfied given \p CS and the corresponding \p Value2Index mapping.
|
||||
bool isValid(const ConstraintInfo &Info) const;
|
||||
|
||||
/// Returns true if there is exactly one constraint in the list and isValid is
|
||||
/// also true.
|
||||
bool isValidSingle(const ConstraintInfo &Info) const {
|
||||
if (size() != 1)
|
||||
return false;
|
||||
return isValid(Info);
|
||||
}
|
||||
};
|
||||
|
||||
/// Wrapper encapsulating separate constraint systems and corresponding value
|
||||
|
|
Loading…
Reference in New Issue