diff --git a/.github/workflows/selfcheck.yml b/.github/workflows/selfcheck.yml index a3a2c1569..9d5829580 100644 --- a/.github/workflows/selfcheck.yml +++ b/.github/workflows/selfcheck.yml @@ -63,7 +63,7 @@ jobs: env: DISABLE_VALUEFLOW: 1 - # the following steps are duplicated from above since setting up the buld node in a parallel step takes longer than the actual steps + # the following steps are duplicated from above since setting up the build node in a parallel step takes longer than the actual steps - name: CMake (no test) run: | mkdir cmake.output.notest diff --git a/cfg/std.cfg b/cfg/std.cfg index 9f800dba1..c6a5483f9 100644 --- a/cfg/std.cfg +++ b/cfg/std.cfg @@ -7317,7 +7317,7 @@ initializer list (7) string& replace (const_iterator i1, const_iterator i2, init - + diff --git a/lib/token.cpp b/lib/token.cpp index b6be36318..22cfa84ee 100644 --- a/lib/token.cpp +++ b/lib/token.cpp @@ -2133,7 +2133,7 @@ bool Token::addValue(const ValueFlow::Value &value) }); } - // Dont add a value if its already known + // Don't add a value if its already known if (!value.isKnown() && mImpl->mValues && std::any_of(mImpl->mValues->begin(), mImpl->mValues->end(), [&](const ValueFlow::Value& x) { return x.isKnown() && sameValueType(x, value) && !x.equalValue(value); diff --git a/lib/valueflow.cpp b/lib/valueflow.cpp index b23993e74..3cf27977b 100644 --- a/lib/valueflow.cpp +++ b/lib/valueflow.cpp @@ -2859,7 +2859,7 @@ static const Token* solveExprValue(const Token* expr, ValueFlow::Value& value) MathLib::bigint intval; const Token* binaryTok = parseBinaryIntOp(expr, intval); bool rhs = astIsRHS(binaryTok); - // If its on the rhs, then -1 multipllication is needed, which is not possible with simple delta analysis used currentl for symbolic values + // If its on the rhs, then -1 multiplication is needed, which is not possible with simple delta analysis used currently for symbolic values if (value.isSymbolicValue() && rhs && Token::simpleMatch(expr, "-")) return expr; if (binaryTok && expr->str().size() == 1) { @@ -4264,7 +4264,7 @@ static void valueFlowLifetime(TokenList *tokenlist, SymbolDatabase*, ErrorLogger if (tok->scope()->type == Scope::eGlobal) continue; Lambda lam(tok); - // Lamdas + // Lambdas if (lam.isLambda()) { const Scope * bodyScope = lam.bodyTok->scope();