Skip to content

Commit f98c61a

Browse files
author
thk123
committed
Add NOLINT exceptions to lines that fail the linter
1 parent 1b308af commit f98c61a

File tree

1 file changed

+14
-14
lines changed

1 file changed

+14
-14
lines changed

src/cbmc/cbmc_parse_options.cpp

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1070,10 +1070,10 @@ void cbmc_parse_optionst::help()
10701070
" cbmc file.c ... source file names\n"
10711071
"\n"
10721072
"Analysis options:\n"
1073-
" --show-properties show the properties, but don't run analysis\n"
1073+
" --show-properties show the properties, but don't run analysis\n" // NOLINT(*)
10741074
" --property id only check one specific property\n"
1075-
" --stop-on-fail stop analysis once a failed property is detected\n"
1076-
" --trace give a counterexample trace for failed properties\n"
1075+
" --stop-on-fail stop analysis once a failed property is detected\n" // NOLINT(*)
1076+
" --trace give a counterexample trace for failed properties\n" //NOLINT(*)
10771077
"\n"
10781078
"C/C++ frontend options:\n"
10791079
" -I path set include path (C/C++)\n"
@@ -1096,14 +1096,14 @@ void cbmc_parse_optionst::help()
10961096
configt::ansi_ct::default_c_standard()==
10971097
configt::ansi_ct::c_standardt::C99?"c99":
10981098
configt::ansi_ct::default_c_standard()==
1099-
configt::ansi_ct::c_standardt::C11?"c11":"") << ")\n"
1099+
configt::ansi_ct::c_standardt::C11?"c11":"") << ")\n" // NOLINT(*)
11001100
" --cpp98/03/11 set C++ language standard (default: "
11011101
<< (configt::cppt::default_cpp_standard()==
1102-
configt::cppt::cpp_standardt::CPP98?"cpp98":
1102+
configt::cppt::cpp_standardt::CPP98?"cpp98": // NOLINT(*)
11031103
configt::cppt::default_cpp_standard()==
1104-
configt::cppt::cpp_standardt::CPP03?"cpp03":
1104+
configt::cppt::cpp_standardt::CPP03?"cpp03": // NOLINT(*)
11051105
configt::cppt::default_cpp_standard()==
1106-
configt::cppt::cpp_standardt::CPP11?"cpp11":"") << ")\n"
1106+
configt::cppt::cpp_standardt::CPP11?"cpp11":"") << ")\n" // NOLINT(*)
11071107
#ifdef _WIN32
11081108
" --gcc use GCC as preprocessor\n"
11091109
#endif
@@ -1125,15 +1125,15 @@ void cbmc_parse_optionst::help()
11251125
" --no-assertions ignore user assertions\n"
11261126
" --no-assumptions ignore user assumptions\n"
11271127
" --error-label label check that label is unreachable\n"
1128-
" --cover CC create test-suite with coverage criterion CC\n"
1129-
" --mm MM memory consistency model for concurrent programs\n"
1128+
" --cover CC create test-suite with coverage criterion CC\n" // NOLINT(*)
1129+
" --mm MM memory consistency model for concurrent programs\n" // NOLINT(*)
11301130
"\n"
11311131
"Java Bytecode frontend options:\n"
11321132
" --classpath dir/jar set the classpath\n"
11331133
" --main-class class-name set the name of the main class\n"
11341134
"\n"
11351135
"Semantic transformations:\n"
1136-
" --nondet-static add nondeterministic initialization of variables with static lifetime\n"
1136+
" --nondet-static add nondeterministic initialization of variables with static lifetime\n" // NOLINT(*)
11371137
"\n"
11381138
"BMC options:\n"
11391139
" --program-only only show program expression\n"
@@ -1147,11 +1147,11 @@ void cbmc_parse_optionst::help()
11471147
" --unwinding-assertions generate unwinding assertions\n"
11481148
" --partial-loops permit paths with partial loops\n"
11491149
" --no-pretty-names do not simplify identifiers\n"
1150-
" --graphml-witness filename write the witness in GraphML format to filename\n"
1150+
" --graphml-witness filename write the witness in GraphML format to filename\n" // NOLINT(*)
11511151
"\n"
11521152
"Backend options:\n"
11531153
" --dimacs generate CNF in DIMACS format\n"
1154-
" --beautify beautify the counterexample (greedy heuristic)\n"
1154+
" --beautify beautify the counterexample (greedy heuristic)\n" // NOLINT(*)
11551155
" --localize-faults localize faults (experimental)\n"
11561156
" --smt1 use default SMT1 solver (obsolete)\n"
11571157
" --smt2 use default SMT2 solver (Z3)\n"
@@ -1162,8 +1162,8 @@ void cbmc_parse_optionst::help()
11621162
" --z3 use Z3\n"
11631163
" --refine use refinement procedure (experimental)\n"
11641164
" --outfile filename output formula to given file\n"
1165-
" --arrays-uf-never never turn arrays into uninterpreted functions\n"
1166-
" --arrays-uf-always always turn arrays into uninterpreted functions\n"
1165+
" --arrays-uf-never never turn arrays into uninterpreted functions\n" // NOLINT(*)
1166+
" --arrays-uf-always always turn arrays into uninterpreted functions\n" // NOLINT(*)
11671167
"\n"
11681168
"Other options:\n"
11691169
" --version show version and exit\n"

0 commit comments

Comments
 (0)