Skip to content

Commit 0f6dd4a

Browse files
committed
Remove deprecated variants of find_symbols
It was deprecated in 2019 and had no in-tree users left.
1 parent ff1e81e commit 0f6dd4a

File tree

2 files changed

+0
-17
lines changed

2 files changed

+0
-17
lines changed

src/util/find_symbols.cpp

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -61,16 +61,6 @@ bool has_symbol(
6161
return has_symbol(src, symbols, true, true);
6262
}
6363

64-
void find_symbols(
65-
const exprt &src,
66-
std::set<exprt> &dest)
67-
{
68-
src.visit_pre([&dest](const exprt &e) {
69-
if(e.id() == ID_symbol || e.id() == ID_next_symbol)
70-
dest.insert(e);
71-
});
72-
}
73-
7464
void find_symbols(
7565
const exprt &src,
7666
std::set<symbol_exprt> &dest)

src/util/find_symbols.h

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ Author: Daniel Kroening, [email protected]
1414
#include <set>
1515
#include <unordered_set>
1616

17-
#include "deprecate.h"
1817
#include "irep.h"
1918

2019
class exprt;
@@ -49,12 +48,6 @@ void find_symbols(
4948
bool current,
5049
bool next);
5150

52-
/// Find sub expressions with id ID_symbol or ID_next_symbol
53-
DEPRECATED(SINCE(2019, 06, 17, "Unused"))
54-
void find_symbols(
55-
const exprt &src,
56-
std::set<exprt> &dest);
57-
5851
/// Find sub expressions with id ID_symbol
5952
void find_symbols(
6053
const exprt &src,

0 commit comments

Comments
 (0)