From acf2035a53fd33040a6492af1e27c3291c2c57b0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Armin=20M=C3=BCller?= <27155134+arm-in@users.noreply.github.com> Date: Sat, 3 Nov 2018 07:34:27 +0100 Subject: [PATCH] Typos found by running "codespell" (#1461) --- addons/misra.py | 2 +- lib/tokenlist.cpp | 2 +- tools/dmake.cpp | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/addons/misra.py b/addons/misra.py index c61f561c9..b78c02302 100755 --- a/addons/misra.py +++ b/addons/misra.py @@ -1786,7 +1786,7 @@ class MisraChecker: line number, symbol name tuples. If the list is None then the rule is suppressed for the entire file 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. TODO: Support symbol names and expression matching. diff --git a/lib/tokenlist.cpp b/lib/tokenlist.cpp index 9057cf732..3415606f0 100644 --- a/lib/tokenlist.cpp +++ b/lib/tokenlist.cpp @@ -1222,7 +1222,7 @@ void TokenList::validateAst() const // Skip lambda captures if (Token::Match(tok, "= ,|]")) continue; - // Dont check templates + // Don't check templates if (tok->link()) continue; // Skip pure virtual functions diff --git a/tools/dmake.cpp b/tools/dmake.cpp index ab54a2962..b38ac7404 100644 --- a/tools/dmake.cpp +++ b/tools/dmake.cpp @@ -307,7 +307,7 @@ int main(int argc, char **argv) "-Wno-missing-field-initializers " "-Wno-missing-braces " // "-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 " "$(CPPCHK_GLIBCXX_DEBUG) " "-g");