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");