Skip to content

Commit 633eb4a

Browse files
authored
Merge pull request #6793 from tautschnig/cleanup/contracts-1
Remove unused contracts-related functions from ansi_c_declarationt
2 parents 51cfb53 + 639de41 commit 633eb4a

File tree

1 file changed

+0
-15
lines changed

1 file changed

+0
-15
lines changed

src/ansi-c/ansi_c_declaration.h

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -243,21 +243,6 @@ class ansi_c_declarationt:public exprt
243243
assert(!declarators().empty());
244244
declarators().back().value().swap(value);
245245
}
246-
247-
const exprt &spec_assigns() const
248-
{
249-
return static_cast<const exprt &>(find(ID_C_spec_assigns));
250-
}
251-
252-
const exprt &spec_requires() const
253-
{
254-
return static_cast<const exprt &>(find(ID_C_spec_requires));
255-
}
256-
257-
const exprt &spec_ensures() const
258-
{
259-
return static_cast<const exprt &>(find(ID_C_spec_ensures));
260-
}
261246
};
262247

263248
inline ansi_c_declarationt &to_ansi_c_declaration(exprt &expr)

0 commit comments

Comments
 (0)