Move Tristate class to separate header

The Tristate class (representing truth values that are either true,
false, or unknown) is used at multiple ends. This moves it to a separate
header for reusing it properly.
This commit is contained in:
2018-04-19 14:41:49 +02:00
parent 2372eb24c4
commit d2b48f9679
4 changed files with 27 additions and 11 deletions

View File

@@ -363,7 +363,7 @@ struct SimplificationRuleSubsumptionInBiconditionals
std::find_if(and_.arguments.cbegin(), and_.arguments.cend(),
[&](const auto &argument)
{
return (ast::equal(predicateSide, argument) == ast::Tristate::True);
return (ast::equal(predicateSide, argument) == Tristate::True);
});
if (matchingPredicate == and_.arguments.cend())