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 5d3e4d1 commit 8c7ee92Copy full SHA for 8c7ee92
1 file changed
lib/analyzer.h
@@ -153,13 +153,13 @@ struct Analyzer {
153
struct Assume {
154
enum Flags : std::uint8_t {
155
None = 0,
156
- Quiet = (1 << 0),
157
- Absolute = (1 << 1),
158
- ContainerEmpty = (1 << 2),
+ Quiet = (1u << 0),
+ Absolute = (1u << 1),
+ ContainerEmpty = (1u << 2),
159
// The branch this condition guards is not traversed yet (a separate path walks it), so
160
// the assume must not record the program state at the branch boundaries - they would be
161
// premature. When unset, the branch has been traversed and control is leaving it.
162
- Pending = (1 << 3),
+ Pending = (1u << 3),
163
};
164
165
0 commit comments