Skip to content

Commit 1fa7691

Browse files
author
martin
committed
s/sequential/flow-sensitive/ as there are other sequential analyses.
1 parent 5792ff1 commit 1fa7691

File tree

5 files changed

+9
-9
lines changed

5 files changed

+9
-9
lines changed

src/goto-analyzer/goto_analyzer_parse_options.cpp

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -277,19 +277,19 @@ void goto_analyzer_parse_optionst::get_command_line_options(optionst &options)
277277

278278

279279
// Abstract interpreter choice
280-
options.set_option("sequential", false);
280+
options.set_option("flow-sensitive", false);
281281
options.set_option("concurrent", false);
282282

283-
if (cmdline.isset("sequential"))
284-
options.set_option("sequential", true);
283+
if (cmdline.isset("flow-sensitive"))
284+
options.set_option("flow-sensitive", true);
285285
else if (cmdline.isset("concurrent"))
286286
options.set_option("concurrent", true);
287287
else
288288
{
289289
is_threadedt is_threaded(goto_model.goto_functions);
290290
bool contains_concurrent_code = is_threaded();
291291

292-
options.set_option("sequential", !contains_concurrent_code);
292+
options.set_option("flow-sensitive", !contains_concurrent_code);
293293
options.set_option("concurrent", contains_concurrent_code);
294294
}
295295

@@ -654,7 +654,7 @@ void goto_analyzer_parse_optionst::help()
654654
" --simplify file_name run abstract interpreter and simplify program\n"
655655
"\n"
656656
"Abstract interpreter options:\n"
657-
" --sequential use sequential abstract interpreter\n"
657+
" --flow-sensitive use flow-sensitive abstract interpreter\n"
658658
" --concurrent use concurrent abstract interpreter\n"
659659
"\n"
660660
"Domain options:\n"

src/goto-analyzer/goto_analyzer_parse_options.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ class optionst;
3939
"(non-null)(show-non-null)" \
4040
"(constants)" \
4141
"(show)(verify)(simplify):" \
42-
"(sequential)(concurrent)"
42+
"(flow-sensitive)(concurrent)"
4343

4444
class goto_analyzer_parse_optionst:
4545
public parse_options_baset,

src/goto-analyzer/static_analyzer.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -252,7 +252,7 @@ bool static_analyzer(
252252
message_handlert &message_handler,
253253
std::ostream &out)
254254
{
255-
if (options.get_bool_option("sequential"))
255+
if (options.get_bool_option("flow-sensitive"))
256256
{
257257
if (options.get_bool_option("constants"))
258258
return static_analyzert<ait<constant_propagator_domaint> >

src/goto-analyzer/static_show_domain.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ bool static_show_domain(
3838
{
3939
ai_baset *domain = NULL;
4040

41-
if (options.get_bool_option("sequential"))
41+
if (options.get_bool_option("flow-sensitive"))
4242
{
4343
if (options.get_bool_option("constants"))
4444
domain = new ait<constant_propagator_domaint>();

src/goto-analyzer/static_simplifier.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -235,7 +235,7 @@ bool static_simplifier(
235235
message_handlert &message_handler,
236236
std::ostream &out)
237237
{
238-
if (options.get_bool_option("sequential"))
238+
if (options.get_bool_option("flow-sensitive"))
239239
{
240240
if (options.get_bool_option("constants"))
241241
return static_simplifiert<ait<constant_propagator_domaint> >

0 commit comments

Comments
 (0)