Skip to content

Fix comment and error message typos #7753

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 6, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion doc/man/goto-instrument.1
Original file line number Diff line number Diff line change
Expand Up @@ -346,7 +346,7 @@ void \fBtest_get_message\fP() {

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

.EX
Expand Down
2 changes: 1 addition & 1 deletion scripts/cpplint.py
Original file line number Diff line number Diff line change
Expand Up @@ -2266,7 +2266,7 @@ def FindDoStart(clean_lines, linenum):

Work our way up through the lines starting at linenum to find a do
that hasn't been matched. This might not succeed as might just be an
emtpy while statement.
empty while statement.

Args:
clean_lines: A CleansedLines instance containing the file.
Expand Down
2 changes: 1 addition & 1 deletion src/ansi-c/library/cprover_contracts.c
Original file line number Diff line number Diff line change
Expand Up @@ -780,7 +780,7 @@ __CPROVER_HIDE:;
if(set->allocated.elems[__CPROVER_POINTER_OBJECT(ptr)] != 0)
return 1;

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

Expand Down
6 changes: 3 additions & 3 deletions src/solvers/flattening/boolbv_concatenation.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ bvt boolbvt::convert_concatenation(const concatenation_exprt &expr)
const exprt::operandst &operands=expr.operands();

DATA_INVARIANT(
!operands.empty(), "concatentation shall have at least one operand");
!operands.empty(), "concatenation shall have at least one operand");

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

INVARIANT(
op.size() <= offset,
"concatentation operand must fit into the result bitvector");
"concatenation operand must fit into the result bitvector");

offset-=op.size();

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

return bv;
}
2 changes: 1 addition & 1 deletion src/solvers/sat/external_sat.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ external_satt::resultt external_satt::parse_result(std::string solver_output)
if(parts.size() < 2)
{
log.error() << "external SAT solver has provided an unexpected "
"response in results.\nUnexpected reponse: "
"response in results.\nUnexpected response: "
<< line << messaget::eom;
return resultt::P_ERROR;
}
Expand Down