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.
2 parents 565542d + 4cd5ab1 commit 69a9528Copy full SHA for 69a9528
src/goto-programs/show_symbol_table.cpp
@@ -31,16 +31,9 @@ void show_symbol_table_brief_plain(
31
std::ostream &out)
32
{
33
// we want to sort alphabetically
34
- std::set<std::string> symbols;
35
-
36
- for(const auto &symbol_pair : symbol_table.symbols)
37
- {
38
- symbols.insert(id2string(symbol_pair.first));
39
- }
40
41
const namespacet ns(symbol_table);
42
43
- for(const std::string &id : symbols)
+ for(const auto &id : symbol_table.sorted_symbol_names())
44
45
const symbolt &symbol=ns.lookup(id);
46
0 commit comments