This commit is contained in:
Maksim Derbasov 2022-09-27 07:48:06 +03:00 committed by GitHub
parent 0f79f8bd70
commit c8b96c3a20
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 5 additions and 5 deletions

View File

@ -51,7 +51,7 @@ We are not interesting in the size/complexity of a function.
`readability-redundant-member-init`<br>
`readability-simplify-boolean-expr`<br>
These do not (always) increase readbility.
These do not (always) increase readability.
`bugprone-macro-parentheses`<br>
`readability-implicit-bool-conversion`<br>
@ -76,7 +76,7 @@ This leads to a mismatch of raw string literals and regular ones and does reduce
`readability-convert-member-functions-to-static`<br>
Disabled because of false postives with Qt `slot` methods (see https://github.com/llvm/llvm-project/issues/57520).
Disabled because of false positives with Qt `slot` methods (see https://github.com/llvm/llvm-project/issues/57520).
`-clang-analyzer-*`<br>
@ -116,7 +116,7 @@ Produces a lot of false positives since it is too vague in its analysis.
`performance-inefficient-string-concatenation`<br>
Produces many warnings which very much look like false ppsitives (needs to be reported upstream).
Produces many warnings which very much look like false positives (needs to be reported upstream).
`bugprone-suspicious-include`<br>

View File

@ -321,7 +321,7 @@ void CheckExceptionSafety::unhandledExceptionSpecification()
const SymbolDatabase* const symbolDatabase = mTokenizer->getSymbolDatabase();
for (const Scope * scope : symbolDatabase->functionScopes) {
// only check functions without exception epecification
// only check functions without exception specification
if (scope->function && !scope->function->isThrow() &&
scope->className != "main" && scope->className != "wmain" &&
scope->className != "_tmain" && scope->className != "WinMain") {

View File

@ -2050,7 +2050,7 @@ static void removeOverlaps(std::list<ValueFlow::Value>& values)
return false;
if (x.valueKind != y.valueKind)
return false;
// TODO: Remove points coverd in a lower or upper bound
// TODO: Remove points covered in a lower or upper bound
// TODO: Remove lower or upper bound already covered by a lower and upper bound
if (!x.equalValue(y))
return false;