commit
07cc01876c
|
@ -43,7 +43,7 @@ namespace {
|
|||
/** List of functions that can be ignored when searching for memory leaks.
|
||||
* 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 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
|
||||
*/
|
||||
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.
|
||||
* If simplifyTypedef generates an "Internal Error" message and the
|
||||
* 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 */
|
||||
static Token *processFunc(Token *tok2, bool inOperator)
|
||||
{
|
||||
|
@ -2817,7 +2817,7 @@ void Tokenizer::simplifyTemplatesInstantiate(const Token *tok,
|
|||
std::set<std::string> &expandedtemplates)
|
||||
{
|
||||
// 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;
|
||||
|
||||
std::vector<const Token *> type;
|
||||
|
|
|
@ -858,7 +858,7 @@ private:
|
|||
|
||||
|
||||
void simple7() {
|
||||
// A garbage collector may delete f automaticly
|
||||
// A garbage collector may delete f automatically
|
||||
check("class Fred;\n"
|
||||
"void foo()\n"
|
||||
"{\n"
|
||||
|
|
Loading…
Reference in New Issue