Refactorization: Removed unused function.
This commit is contained in:
parent
468a130447
commit
d19b5031fa
|
@ -1393,11 +1393,6 @@ void SymbolDatabase::validate() const
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void SymbolDatabase::cppcheckError(const Token *tok) const
|
|
||||||
{
|
|
||||||
throw InternalError(tok, "Analysis failed. If the code is valid then please report this failure.", InternalError::INTERNAL);
|
|
||||||
}
|
|
||||||
|
|
||||||
bool Variable::isPointerArray() const
|
bool Variable::isPointerArray() const
|
||||||
{
|
{
|
||||||
return isArray() && nameToken() && nameToken()->previous() && (nameToken()->previous()->str() == "*");
|
return isArray() && nameToken() && nameToken()->previous() && (nameToken()->previous()->str() == "*");
|
||||||
|
|
|
@ -1041,11 +1041,6 @@ private:
|
||||||
const Type *findTypeInNested(const Token *tok, const Scope *startScope) const;
|
const Type *findTypeInNested(const Token *tok, const Scope *startScope) const;
|
||||||
const Scope *findNamespace(const Token * tok, const Scope * scope) const;
|
const Scope *findNamespace(const Token * tok, const Scope * scope) const;
|
||||||
Function *findFunctionInScope(const Token *func, const Scope *ns);
|
Function *findFunctionInScope(const Token *func, const Scope *ns);
|
||||||
/**
|
|
||||||
* Send error message to error logger about internal bug.
|
|
||||||
* @param tok the token that this bug concerns.
|
|
||||||
*/
|
|
||||||
void cppcheckError(const Token *tok) const;
|
|
||||||
|
|
||||||
/** Whether iName is a keyword as defined in http://en.cppreference.com/w/c/keyword and http://en.cppreference.com/w/cpp/keyword*/
|
/** Whether iName is a keyword as defined in http://en.cppreference.com/w/c/keyword and http://en.cppreference.com/w/cpp/keyword*/
|
||||||
bool isReservedName(const std::string& iName) const;
|
bool isReservedName(const std::string& iName) const;
|
||||||
|
|
Loading…
Reference in New Issue