Typos found by running "codespell" (#1461)
This commit is contained in:
parent
a4afcb5995
commit
acf2035a53
|
@ -1786,7 +1786,7 @@ class MisraChecker:
|
||||||
line number, symbol name tuples. If the list is None then
|
line number, symbol name tuples. If the list is None then
|
||||||
the rule is suppressed for the entire file
|
the rule is suppressed for the entire file
|
||||||
If the list of tuples exists then search the list looking for
|
If the list of tuples exists then search the list looking for
|
||||||
maching line numbers. Symbol names are currently ignored
|
matching line numbers. Symbol names are currently ignored
|
||||||
because they can include regular expressions.
|
because they can include regular expressions.
|
||||||
TODO: Support symbol names and expression matching.
|
TODO: Support symbol names and expression matching.
|
||||||
|
|
||||||
|
|
|
@ -1222,7 +1222,7 @@ void TokenList::validateAst() const
|
||||||
// Skip lambda captures
|
// Skip lambda captures
|
||||||
if (Token::Match(tok, "= ,|]"))
|
if (Token::Match(tok, "= ,|]"))
|
||||||
continue;
|
continue;
|
||||||
// Dont check templates
|
// Don't check templates
|
||||||
if (tok->link())
|
if (tok->link())
|
||||||
continue;
|
continue;
|
||||||
// Skip pure virtual functions
|
// Skip pure virtual functions
|
||||||
|
|
|
@ -307,7 +307,7 @@ int main(int argc, char **argv)
|
||||||
"-Wno-missing-field-initializers "
|
"-Wno-missing-field-initializers "
|
||||||
"-Wno-missing-braces "
|
"-Wno-missing-braces "
|
||||||
// "-Wunreachable-code "
|
// "-Wunreachable-code "
|
||||||
"-Wno-sign-compare " // danmar: I don't like this warning, it's very rarelly a bug
|
"-Wno-sign-compare " // danmar: I don't like this warning, it's very rarely a bug
|
||||||
"-Wno-multichar "
|
"-Wno-multichar "
|
||||||
"$(CPPCHK_GLIBCXX_DEBUG) "
|
"$(CPPCHK_GLIBCXX_DEBUG) "
|
||||||
"-g");
|
"-g");
|
||||||
|
|
Loading…
Reference in New Issue