File tree 2 files changed +13
-4
lines changed
2 files changed +13
-4
lines changed Original file line number Diff line number Diff line change 13
13
#include < util/ssa_expr.h>
14
14
#include " renamed.h"
15
15
16
+
17
+ template <levelt level>
18
+ renamedt<exprt, level> make_renamed (constant_exprt constant)
19
+ {
20
+ return renamedt<exprt, level>(std::move (constant));
21
+ }
22
+
23
+ // Force template instantiations for the three levels
24
+ template renamedt<exprt, L0> make_renamed (constant_exprt constant);
25
+ template renamedt<exprt, L1> make_renamed (constant_exprt constant);
26
+ template renamedt<exprt, L2> make_renamed (constant_exprt constant);
27
+
16
28
bool is_l1_renamed (const exprt &expr)
17
29
{
18
30
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