Skip to content

Commit d55ac1d

Browse files
authored
Merge pull request #6681 from tautschnig/cleanup/option-pretty-names
CBMC/JBMC: do not attempt to parse unused option pretty-names
2 parents 7856f2e + 03e6122 commit d55ac1d

File tree

4 files changed

+0
-13
lines changed

4 files changed

+0
-13
lines changed

doc/man/cbmc.1

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -149,8 +149,6 @@ Show the verification conditions
149149
Remove assignments unrelated to property
150150
.IP --no-unwinding-assertions
151151
Do not generate unwinding assertions
152-
.IP --no-pretty-names
153-
Do not simplify identifiers
154152
.SS "BACKEND OPTIONS (cbmc)"
155153
.IP --dimacs
156154
Generate CNF in DIMACS format for use by external SAT solvers

jbmc/src/jbmc/jbmc_parse_options.cpp

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,6 @@ void jbmc_parse_optionst::set_default_options(optionst &options)
9595
options.set_option("assumptions", true);
9696
options.set_option("built-in-assertions", true);
9797
options.set_option("lazy-methods", true);
98-
options.set_option("pretty-names", true);
9998
options.set_option("propagation", true);
10099
options.set_option("refine-strings", true);
101100
options.set_option("simple-slice", true);
@@ -278,10 +277,6 @@ void jbmc_parse_optionst::get_command_line_options(optionst &options)
278277
"--max-nondet-string-length");
279278
}
280279

281-
options.set_option(
282-
"pretty-names",
283-
!cmdline.isset("no-pretty-names"));
284-
285280
if(cmdline.isset("graphml-witness"))
286281
{
287282
options.set_option("graphml-witness", cmdline.get_value("graphml-witness"));

src/cbmc/cbmc_parse_options.cpp

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,6 @@ void cbmc_parse_optionst::set_default_options(optionst &options)
104104
{
105105
// Default true
106106
options.set_option("built-in-assertions", true);
107-
options.set_option("pretty-names", true);
108107
options.set_option("propagation", true);
109108
options.set_option("simple-slice", true);
110109
options.set_option("simplify", true);
@@ -330,9 +329,6 @@ void cbmc_parse_optionst::get_command_line_options(optionst &options)
330329
}
331330
}
332331

333-
if(cmdline.isset("no-pretty-names"))
334-
options.set_option("pretty-names", false);
335-
336332
if(cmdline.isset("graphml-witness"))
337333
{
338334
options.set_option("graphml-witness", cmdline.get_value("graphml-witness"));

src/goto-checker/bmc_util.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,6 @@ void run_property_decider(
180180
"(slice-formula)" \
181181
"(unwinding-assertions)" \
182182
"(no-unwinding-assertions)" \
183-
"(no-pretty-names)" \
184183
"(no-self-loops-to-assumptions)" \
185184
"(partial-loops)" \
186185
"(paths):" \
@@ -238,7 +237,6 @@ void run_property_decider(
238237
" --partial-loops permit paths with partial loops\n" \
239238
" --no-self-loops-to-assumptions\n" \
240239
" do not simplify while(1){} to assume(0)\n" \
241-
" --no-pretty-names do not simplify identifiers\n" \
242240
" --symex-complexity-limit N how complex (N) a path can become before\n" \
243241
" symex abandons it. Currently uses guard\n" \
244242
" size to calculate complexity. \n" \

0 commit comments

Comments
 (0)