Skip to content

Commit e56c494

Browse files
authored
Merge pull request #7753 from tautschnig/bugfixes/fix-typos
Fix comment and error message typos
2 parents af598d9 + dea7dd4 commit e56c494

File tree

5 files changed

+7
-7
lines changed

5 files changed

+7
-7
lines changed

doc/man/goto-instrument.1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -346,7 +346,7 @@ void \fBtest_get_message\fP() {
346346

347347
The harness verifies that \fIget_message\fR assigns non-decreasing time stamps
348348
to the returned messages. However, simply treating \fIclock\fR as
349-
non-deterministic would not allow to prove this property. Thus, we can supply a
349+
non-deterministic would not suffice to prove this property. Thus, we can supply a
350350
model for reads from \fIclock\fR:
351351

352352
.EX

scripts/cpplint.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2266,7 +2266,7 @@ def FindDoStart(clean_lines, linenum):
22662266
22672267
Work our way up through the lines starting at linenum to find a do
22682268
that hasn't been matched. This might not succeed as might just be an
2269-
emtpy while statement.
2269+
empty while statement.
22702270
22712271
Args:
22722272
clean_lines: A CleansedLines instance containing the file.

src/ansi-c/library/cprover_contracts.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -780,7 +780,7 @@ __CPROVER_HIDE:;
780780
if(set->allocated.elems[__CPROVER_POINTER_OBJECT(ptr)] != 0)
781781
return 1;
782782

783-
// don't even drive symex into the rest of the function if the set is emtpy
783+
// don't even drive symex into the rest of the function if the set is empty
784784
if(set->contract_assigns.max_elems == 0)
785785
return 0;
786786

src/solvers/flattening/boolbv_concatenation.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ bvt boolbvt::convert_concatenation(const concatenation_exprt &expr)
1818
const exprt::operandst &operands=expr.operands();
1919

2020
DATA_INVARIANT(
21-
!operands.empty(), "concatentation shall have at least one operand");
21+
!operands.empty(), "concatenation shall have at least one operand");
2222

2323
std::size_t offset=width;
2424
bvt bv;
@@ -30,7 +30,7 @@ bvt boolbvt::convert_concatenation(const concatenation_exprt &expr)
3030

3131
INVARIANT(
3232
op.size() <= offset,
33-
"concatentation operand must fit into the result bitvector");
33+
"concatenation operand must fit into the result bitvector");
3434

3535
offset-=op.size();
3636

@@ -41,7 +41,7 @@ bvt boolbvt::convert_concatenation(const concatenation_exprt &expr)
4141
INVARIANT(
4242
offset == 0,
4343
"all bits in the result bitvector must have been filled up by the "
44-
"concatentation operands");
44+
"concatenation operands");
4545

4646
return bv;
4747
}

src/solvers/sat/external_sat.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ external_satt::resultt external_satt::parse_result(std::string solver_output)
8585
if(parts.size() < 2)
8686
{
8787
log.error() << "external SAT solver has provided an unexpected "
88-
"response in results.\nUnexpected reponse: "
88+
"response in results.\nUnexpected response: "
8989
<< line << messaget::eom;
9090
return resultt::P_ERROR;
9191
}

0 commit comments

Comments
 (0)