File tree Expand file tree Collapse file tree 2 files changed +13
-4
lines changed Expand file tree Collapse file tree 2 files changed +13
-4
lines changed Original file line number Diff line number Diff line change 12
12
#include " renamed.h"
13
13
#include < util/ssa_expr.h>
14
14
#include < util/std_expr.h>
15
+
16
+ template <levelt level>
17
+ renamedt<exprt, level> make_renamed (constant_exprt constant)
18
+ {
19
+ return renamedt<exprt, level>(std::move (constant));
20
+ }
21
+
22
+ // Force template instantiations for the three levels
23
+ template renamedt<exprt, L0> make_renamed (constant_exprt constant);
24
+ template renamedt<exprt, L1> make_renamed (constant_exprt constant);
25
+ template renamedt<exprt, L2> make_renamed (constant_exprt constant);
26
+
15
27
bool is_l1_renamed (const exprt &expr)
16
28
{
17
29
if (expr.id () == ID_symbol)
Original file line number Diff line number Diff line change @@ -87,10 +87,7 @@ class renamedt : private underlyingt
87
87
};
88
88
89
89
template <levelt level>
90
- renamedt<exprt, level> make_renamed (constant_exprt constant)
91
- {
92
- return renamedt<exprt, level>(std::move (constant));
93
- }
90
+ renamedt<exprt, level> make_renamed (constant_exprt constant);
94
91
95
92
// / This permits replacing subexpressions of the renamed value, so long as
96
93
// / each replacement is consistent with our current renaming level (for
You can’t perform that action at this time.
0 commit comments