Skip to content

Commit d613b01

Browse files
authored
Merge pull request #4832 from romainbrenguier/clean-up/rewrite-with-to-field-symbols-1
Bugfix rewrite_with_to_field_symbols
2 parents ea5adcc + 28d6848 commit d613b01

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/goto-symex/field_sensitivity.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ Author: Michael Tautschnig
1010
#define CPROVER_GOTO_SYMEX_FIELD_SENSITIVITY_H
1111

1212
#include <util/magic.h>
13+
#include <util/nodiscard.h>
1314

1415
class exprt;
1516
class ssa_exprt;
@@ -116,6 +117,7 @@ class field_sensitivityt
116117
/// \param expr: an expression to be (recursively) transformed.
117118
/// \param write: set to true if the expression is to be used as an lvalue.
118119
/// \return the transformed expression
120+
NODISCARD
119121
exprt
120122
apply(const namespacet &ns, goto_symex_statet &state, exprt expr, bool write)
121123
const;

0 commit comments

Comments
 (0)