Removed two unused functions
This commit is contained in:
parent
4e5c5eb238
commit
d5ad1def40
|
@ -3400,19 +3400,6 @@ const Function *Scope::getDestructor() const
|
|||
|
||||
//---------------------------------------------------------------------------
|
||||
|
||||
unsigned int Scope::getNestedNonFunctions() const
|
||||
{
|
||||
unsigned int nested = 0;
|
||||
std::list<Scope *>::const_iterator ni;
|
||||
for (ni = nestedList.begin(); ni != nestedList.end(); ++ni) {
|
||||
if ((*ni)->type != Scope::eFunction)
|
||||
nested++;
|
||||
}
|
||||
return nested;
|
||||
}
|
||||
|
||||
//---------------------------------------------------------------------------
|
||||
|
||||
bool SymbolDatabase::isCPP() const
|
||||
{
|
||||
return _tokenizer->isCPP();
|
||||
|
|
|
@ -876,14 +876,6 @@ public:
|
|||
functionMap.insert(make_pair(back->tokenDef->str(), back));
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief get the number of nested scopes that are not functions
|
||||
*
|
||||
* @return the number of user defined types (class, struct, union)
|
||||
* that are defined in this user defined type or namespace.
|
||||
*/
|
||||
unsigned int getNestedNonFunctions() const;
|
||||
|
||||
bool hasDefaultConstructor() const;
|
||||
|
||||
AccessControl defaultAccess() const;
|
||||
|
|
|
@ -573,20 +573,6 @@ const char *Token::chrInFirstWord(const char *str, char c)
|
|||
}
|
||||
}
|
||||
|
||||
int Token::firstWordLen(const char *str)
|
||||
{
|
||||
int len = 0;
|
||||
for (;;) {
|
||||
if (*str == ' ' || *str == 0)
|
||||
break;
|
||||
|
||||
++len;
|
||||
++str;
|
||||
}
|
||||
|
||||
return len;
|
||||
}
|
||||
|
||||
bool Token::Match(const Token *tok, const char pattern[], unsigned int varid)
|
||||
{
|
||||
const char *p = pattern;
|
||||
|
|
|
@ -733,13 +733,6 @@ private:
|
|||
*/
|
||||
static const char *chrInFirstWord(const char *str, char c);
|
||||
|
||||
/**
|
||||
* Works almost like strlen() except
|
||||
* if str has empty space ' ' character, that character is handled
|
||||
* as if it were '\\0'
|
||||
*/
|
||||
static int firstWordLen(const char *str);
|
||||
|
||||
std::string _str;
|
||||
|
||||
Token *_next;
|
||||
|
|
Loading…
Reference in New Issue