We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cc39780 commit 92a7d9aCopy full SHA for 92a7d9a
src/util/guard.h
@@ -16,7 +16,7 @@ Author: Daniel Kroening, [email protected]
16
17
#include "std_expr.h"
18
19
-class guardt:public exprt
+class guardt : private exprt
20
{
21
public:
22
guardt()
@@ -45,6 +45,16 @@ class guardt:public exprt
45
46
void guard_expr(exprt &dest) const;
47
48
+ bool is_true() const
49
+ {
50
+ return exprt::is_true();
51
+ }
52
+
53
+ bool is_false() const
54
55
+ return exprt::is_false();
56
57
58
friend guardt &operator -= (guardt &g1, const guardt &g2);
59
friend guardt &operator |= (guardt &g1, const guardt &g2);
60
};
0 commit comments