summaryrefslogtreecommitdiff
path: root/src/util/result.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/util/result.h')
-rw-r--r--src/util/result.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/util/result.h b/src/util/result.h
index fc2fa4522..62ddc74d0 100644
--- a/src/util/result.h
+++ b/src/util/result.h
@@ -122,6 +122,9 @@ public:
bool isUnknown() const {
return isSat() == SAT_UNKNOWN && isValid() == VALIDITY_UNKNOWN;
}
+ bool isNull() const {
+ return d_which == TYPE_NONE;
+ }
enum UnknownExplanation whyUnknown() const {
AlwaysAssert( isUnknown(),
"This result is not unknown, so the reason for "
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback