fix typos using codespell
Codespell is available at http://git.profusion.mobi/cgit.cgi/lucas/codespell/.
This commit is contained in:
parent
6f8e42a5af
commit
4fb7865f49
|
@ -43,7 +43,7 @@ namespace {
|
||||||
/** List of functions that can be ignored when searching for memory leaks.
|
/** List of functions that can be ignored when searching for memory leaks.
|
||||||
* These functions don't take the address of the given pointer
|
* These functions don't take the address of the given pointer
|
||||||
* This list needs to be alphabetically sorted so we can run bsearch on it.
|
* This list needs to be alphabetically sorted so we can run bsearch on it.
|
||||||
* This list contains function names whith const parameters e.g.: atof(const char *)
|
* This list contains function names with const parameters e.g.: atof(const char *)
|
||||||
* Reference: http://www.aquaphoenix.com/ref/gnu_c_library/libc_492.html#SEC492
|
* Reference: http://www.aquaphoenix.com/ref/gnu_c_library/libc_492.html#SEC492
|
||||||
*/
|
*/
|
||||||
static const char * const call_func_white_list[] = {
|
static const char * const call_func_white_list[] = {
|
||||||
|
|
|
@ -819,7 +819,7 @@ static Token *splitDefinitionFromTypedef(Token *tok)
|
||||||
/* This function is called when processing function related typedefs.
|
/* This function is called when processing function related typedefs.
|
||||||
* If simplifyTypedef generates an "Internal Error" message and the
|
* If simplifyTypedef generates an "Internal Error" message and the
|
||||||
* code that generated it deals in some way with functions, then this
|
* code that generated it deals in some way with functions, then this
|
||||||
* fucntion will probably need to be extended to handle a new function
|
* function will probably need to be extended to handle a new function
|
||||||
* related pattern */
|
* related pattern */
|
||||||
static Token *processFunc(Token *tok2, bool inOperator)
|
static Token *processFunc(Token *tok2, bool inOperator)
|
||||||
{
|
{
|
||||||
|
@ -2817,7 +2817,7 @@ void Tokenizer::simplifyTemplatesInstantiate(const Token *tok,
|
||||||
std::set<std::string> &expandedtemplates)
|
std::set<std::string> &expandedtemplates)
|
||||||
{
|
{
|
||||||
// this variable is not used at the moment. the intention was to
|
// this variable is not used at the moment. the intention was to
|
||||||
// allow continous instantiations until all templates has been expanded
|
// allow continuous instantiations until all templates has been expanded
|
||||||
bool done = false;
|
bool done = false;
|
||||||
|
|
||||||
std::vector<const Token *> type;
|
std::vector<const Token *> type;
|
||||||
|
|
|
@ -858,7 +858,7 @@ private:
|
||||||
|
|
||||||
|
|
||||||
void simple7() {
|
void simple7() {
|
||||||
// A garbage collector may delete f automaticly
|
// A garbage collector may delete f automatically
|
||||||
check("class Fred;\n"
|
check("class Fred;\n"
|
||||||
"void foo()\n"
|
"void foo()\n"
|
||||||
"{\n"
|
"{\n"
|
||||||
|
|
Loading…
Reference in New Issue