Skip to content

Commit 5a8eea5

Browse files
Remove the string-non-empty option
This had no effect on the solver, so should not be used.
1 parent 9810f92 commit 5a8eea5

File tree

4 files changed

+0
-6
lines changed

4 files changed

+0
-6
lines changed

src/cbmc/cbmc_parse_options.cpp

-2
Original file line numberDiff line numberDiff line change
@@ -271,7 +271,6 @@ void cbmc_parse_optionst::get_command_line_options(optionst &options)
271271
if(cmdline.isset("refine-strings"))
272272
{
273273
options.set_option("refine-strings", true);
274-
options.set_option("string-non-empty", cmdline.isset("string-non-empty"));
275274
options.set_option("string-printable", cmdline.isset("string-printable"));
276275
if(cmdline.isset("string-max-length"))
277276
options.set_option(
@@ -1009,7 +1008,6 @@ void cbmc_parse_optionst::help()
10091008
" --z3 use Z3\n"
10101009
" --refine use refinement procedure (experimental)\n"
10111010
" --refine-strings use string refinement (experimental)\n"
1012-
" --string-non-empty add constraint that strings are non empty (experimental)\n" // NOLINT(*)
10131011
" --string-printable add constraint that strings are printable (experimental)\n" // NOLINT(*)
10141012
" --string-max-length add constraint on the length of strings\n" // NOLINT(*)
10151013
" --string-max-input-length add constraint on the length of input strings\n" // NOLINT(*)

src/cbmc/cbmc_parse_options.h

-1
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,6 @@ class optionst;
4444
"(no-pretty-names)(beautify)" \
4545
"(dimacs)(refine)(max-node-refinement):(refine-arrays)(refine-arithmetic)"\
4646
"(refine-strings)" \
47-
"(string-non-empty)" \
4847
"(string-printable)" \
4948
"(string-max-length):" \
5049
"(string-max-input-length):" \

src/jbmc/jbmc_parse_options.cpp

-2
Original file line numberDiff line numberDiff line change
@@ -246,7 +246,6 @@ void jbmc_parse_optionst::get_command_line_options(optionst &options)
246246
if(cmdline.isset("refine-strings"))
247247
{
248248
options.set_option("refine-strings", true);
249-
options.set_option("string-non-empty", cmdline.isset("string-non-empty"));
250249
options.set_option("string-printable", cmdline.isset("string-printable"));
251250
if(cmdline.isset("string-max-length"))
252251
options.set_option(
@@ -910,7 +909,6 @@ void jbmc_parse_optionst::help()
910909
" --z3 use Z3\n"
911910
" --refine use refinement procedure (experimental)\n"
912911
" --refine-strings use string refinement (experimental)\n"
913-
" --string-non-empty add constraint that strings are non empty (experimental)\n" // NOLINT(*)
914912
" --string-printable add constraint that strings are printable (experimental)\n" // NOLINT(*)
915913
" --string-max-length add constraint on the length of strings\n" // NOLINT(*)
916914
" --string-max-input-length add constraint on the length of input strings\n" // NOLINT(*)

src/jbmc/jbmc_parse_options.h

-1
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,6 @@ class optionst;
4444
"(no-pretty-names)(beautify)" \
4545
"(dimacs)(refine)(max-node-refinement):(refine-arrays)(refine-arithmetic)"\
4646
"(refine-strings)" \
47-
"(string-non-empty)" \
4847
"(string-printable)" \
4948
"(string-max-length):" \
5049
"(string-max-input-length):" \

0 commit comments

Comments
 (0)