Skip to content

Commit 5f9fd35

Browse files
Remove build_identifier from the public_interface
This is not used outside of the ssa_exprt class and shouldn't be part of the public interface.
1 parent 9157f0f commit 5f9fd35

File tree

2 files changed

+1
-7
lines changed

2 files changed

+1
-7
lines changed

src/util/ssa_expr.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ bool ssa_exprt::can_build_identifier(const exprt &expr)
8282
return false;
8383
}
8484

85-
std::pair<irep_idt, irep_idt> ssa_exprt::build_identifier(
85+
static std::pair<irep_idt, irep_idt> build_identifier(
8686
const exprt &expr,
8787
const irep_idt &l0,
8888
const irep_idt &l1,

src/util/ssa_expr.h

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -121,12 +121,6 @@ class ssa_exprt:public symbol_exprt
121121

122122
void update_identifier();
123123

124-
static std::pair<irep_idt, irep_idt> build_identifier(
125-
const exprt &src,
126-
const irep_idt &l0,
127-
const irep_idt &l1,
128-
const irep_idt &l2);
129-
130124
/* Used to determine whether or not an identifier can be built
131125
* before trying and getting an exception */
132126
static bool can_build_identifier(const exprt &src);

0 commit comments

Comments
 (0)