We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a2b45e3 commit 3e42a8dCopy full SHA for 3e42a8d
src/util/symbol_table_base.h
@@ -55,6 +55,9 @@ class symbol_table_baset
55
}
56
virtual const symbol_tablet &get_symbol_table() const = 0;
57
58
+ /// Check whether a symbol exists in the symbol table
59
+ /// \param name: The name of the symbol to look for
60
+ /// \return true if the symbol exists
61
bool has_symbol(const irep_idt &name) const
62
{
63
return symbols.find(name) != symbols.end();
0 commit comments