Typos found by running "codespell" (#1715)

This commit is contained in:
Armin Müller 2019-03-01 01:01:39 +01:00 committed by orbitcowboy
parent 910adb0076
commit f4b5b156d7
3 changed files with 4 additions and 4 deletions

View File

@ -1739,7 +1739,7 @@ class MisraChecker:
# Rule existed in the dictionary. Check for # Rule existed in the dictionary. Check for
# filename entries. # filename entries.
# Get the dictionary for the rule numer # Get the dictionary for the rule number
fileDict = self.suppressedRules[ruleNum] fileDict = self.suppressedRules[ruleNum]
# If the filename is not in the dict already add it # If the filename is not in the dict already add it

View File

@ -36,7 +36,7 @@ any user code around which uses 32-bit epoch representations.
There is Y2038-proofing work in progress on the Linux and GNU glibc front. There is Y2038-proofing work in progress on the Linux and GNU glibc front.
2. What is the Y2038 ccpcheck addon? 2. What is the Y2038 cppcheck addon?
The Y2038 cppcheck addon is a tool to help detect code which might need fixing The Y2038 cppcheck addon is a tool to help detect code which might need fixing
because it is Y2038-unsafe. This may be because it uses types or functions from because it is Y2038-unsafe. This may be because it uses types or functions from

View File

@ -981,7 +981,7 @@ private:
"int f<int> ( int t ) { return t ; }", tok(code2)); "int f<int> ( int t ) { return t ; }", tok(code2));
} }
void template42() { // #4878 cpcheck aborts in ext-blocks.cpp (clang testcode) void template42() { // #4878 cppcheck aborts in ext-blocks.cpp (clang testcode)
const char code[] = "template<typename ...Args>\n" const char code[] = "template<typename ...Args>\n"
"int f0(Args ...args) {\n" "int f0(Args ...args) {\n"
" return ^ {\n" " return ^ {\n"
@ -993,7 +993,7 @@ private:
tok(code); tok(code);
} }
void template43() { // #5097 - Assert due to '>>' in 'B<A<C>>' not being treated as end of template instantation void template43() { // #5097 - Assert due to '>>' in 'B<A<C>>' not being treated as end of template instantiation
const char code[] = "template <typename T> struct E { typedef int Int; };\n" const char code[] = "template <typename T> struct E { typedef int Int; };\n"
"template <typename T> struct C { };\n" "template <typename T> struct C { };\n"
"template <typename T> struct D { static int f() { return C<T>::f(); } };\n" "template <typename T> struct D { static int f() { return C<T>::f(); } };\n"