Skip to content

Commit 315d909

Browse files
WIP remove 'empty' option
1 parent 7eeb26a commit 315d909

File tree

1 file changed

+0
-16
lines changed

1 file changed

+0
-16
lines changed

src/goto-programs/replace_function_bodies.cpp

-16
Original file line numberDiff line numberDiff line change
@@ -151,17 +151,6 @@ class assert_false_then_assume_false_generate_function_bodiest
151151
}
152152
};
153153

154-
class empty_generate_function_bodiest : public generate_function_bodiest
155-
{
156-
protected:
157-
void generate_function_body_impl(
158-
goto_functiont &function,
159-
const symbol_tablet &symbol_table,
160-
const irep_idt &function_name) const override
161-
{
162-
}
163-
};
164-
165154
class havoc_generate_function_bodiest : public generate_function_bodiest,
166155
private messaget
167156
{
@@ -371,11 +360,6 @@ std::unique_ptr<generate_function_bodiest> generate_function_bodies_factory(
371360
assert_false_then_assume_false_generate_function_bodiest>();
372361
}
373362

374-
if(options == "empty")
375-
{
376-
return util_make_unique<empty_generate_function_bodiest>();
377-
}
378-
379363
const std::vector<std::string> option_components = split_string(options, ',');
380364
if(!option_components.empty() && option_components[0] == "havoc")
381365
{

0 commit comments

Comments
 (0)