astutils: remove unused functions isSignedChar and isChar.

This commit is contained in:
Matthias Krüger 2015-10-06 08:27:47 +02:00
parent 2034706033
commit e99b4319c9
1 changed files with 0 additions and 10 deletions

View File

@ -24,16 +24,6 @@
#include "tokenize.h"
#include <set>
static bool isChar(const Variable* var)
{
return (var && !var->isPointer() && !var->isArray() && var->typeStartToken()->str() == "char");
}
static bool isSignedChar(const Variable* var)
{
return (isChar(var) && !var->typeStartToken()->isUnsigned());
}
bool astIsSignedChar(const Token *tok)
{
return tok && tok->valueType() && tok->valueType()->sign != ValueType::Sign::UNSIGNED && tok->valueType()->type == ValueType::Type::CHAR && tok->valueType()->pointer == 0U;