Skip to content
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 libsolidity/formal/BMC.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -376,7 +376,7 @@ bool BMC::visit(WhileStatement const& _node)
auto indices = copyVariableIndices();
_node.condition().accept(*this);
loopCondition = expr(_node.condition());
// asseert that the loop is complete
// assert that the loop is complete
m_context.addAssertion(!loopCondition || broke || !loopConditionOnPreviousIterations);
mergeVariables(
broke || !loopConditionOnPreviousIterations,
Expand Down
2 changes: 1 addition & 1 deletion libsolutil/CommonData.h
Original file line number Diff line number Diff line change
Expand Up @@ -575,7 +575,7 @@ void iterateReplacingWindow(std::vector<T>& _vector, F const& _f)
detail::iterateReplacingWindow(_vector, _f, std::make_index_sequence<N>{});
}

/// @returns true iff @a _str passess the hex address checksum test.
/// @returns true iff @a _str passes the hex address checksum test.
/// @param _strict if false, hex strings with only uppercase or only lowercase letters
/// are considered valid.
bool passesAddressChecksum(std::string const& _str, bool _strict);
Expand Down
2 changes: 1 addition & 1 deletion libyul/AsmParser.h
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ class Parser: public langutil::ParserBase
/// Parses a functional expression that has to push exactly one stack element
Expression parseExpression();
/// Parses an elementary operation, i.e. a literal, identifier, instruction or
/// builtin functian call (only the name).
/// builtin function call (only the name).
std::variant<Literal, Identifier> parseLiteralOrIdentifier();
VariableDeclaration parseVariableDeclaration();
FunctionDefinition parseFunctionDefinition();
Expand Down