Skip to content

Commit

Permalink
Remove some unused methods
Browse files Browse the repository at this point in the history
  • Loading branch information
yebblies committed Mar 4, 2013
1 parent 7681d4c commit 6ae0e6a
Show file tree
Hide file tree
Showing 6 changed files with 2 additions and 7 deletions.
1 change: 0 additions & 1 deletion src/cond.h
Expand Up @@ -54,7 +54,6 @@ struct DebugCondition : DVCondition
{
static void setGlobalLevel(unsigned level);
static void addGlobalIdent(const char *ident);
static void addPredefinedGlobalIdent(const char *ident);

DebugCondition(Module *mod, unsigned level, Identifier *ident);

Expand Down
1 change: 0 additions & 1 deletion src/dsymbol.h
Expand Up @@ -166,7 +166,6 @@ struct Dsymbol : Object
Dsymbol *search_correct(Identifier *id);
Dsymbol *searchX(Loc loc, Scope *sc, Identifier *id);
virtual int overloadInsert(Dsymbol *s);
char *toHChars();
virtual void toHBuffer(OutBuffer *buf, HdrGenState *hgs);
virtual void toCBuffer(OutBuffer *buf, HdrGenState *hgs);
virtual void toDocBuffer(OutBuffer *buf, Scope *sc);
Expand Down
1 change: 0 additions & 1 deletion src/identifier.h
Expand Up @@ -29,7 +29,6 @@ struct Identifier : Object
int compare(Object *o);
void print();
char *toChars();
char *toHChars();
const char *toHChars2();
int dyncast();

Expand Down
3 changes: 2 additions & 1 deletion src/lexer.h
Expand Up @@ -257,7 +257,9 @@ struct Token

Token() : next(NULL) {}
int isKeyword();
#ifdef DEBUG
void print();
#endif
const char *toChars();
static const char *toChars(enum TOK);
};
Expand Down Expand Up @@ -304,7 +306,6 @@ struct Lexer
TOK escapeStringConstant(Token *t, int wide);
TOK charConstant(Token *t, int wide);
void stringPostfix(Token *t);
unsigned wchar(unsigned u);
TOK number(Token *t);
TOK inreal(Token *t);
void error(const char *format, ...);
Expand Down
2 changes: 0 additions & 2 deletions src/mtype.h
Expand Up @@ -248,7 +248,6 @@ struct Type : Object
void toCBuffer3(OutBuffer *buf, HdrGenState *hgs, int mod);
void modToBuffer(OutBuffer *buf);
char *modToChars();
void toJsonProperty(JsonOut *json, const char *);
virtual void toJson(JsonOut *json);
#if CPP_MANGLE
virtual void toCppMangle(OutBuffer *buf, CppMangleState *cms);
Expand Down Expand Up @@ -1041,7 +1040,6 @@ struct Parameter : Object
Type *isLazyArray();
void toDecoBuffer(OutBuffer *buf);
int dyncast() { return DYNCAST_PARAMETER; } // kludge for template.isType()
void toJson(JsonOut *json);
static Parameters *arraySyntaxCopy(Parameters *args);
static char *argsTypesToChars(Parameters *args, int varargs);
static void argsCppMangle(OutBuffer *buf, CppMangleState *cms, Parameters *arguments, int varargs);
Expand Down
1 change: 0 additions & 1 deletion src/scope.h
Expand Up @@ -113,7 +113,6 @@ struct Scope
static Scope *createGlobal(Module *module);

Scope();
Scope(Module *module);
Scope(Scope *enclosing);

Scope *push();
Expand Down

0 comments on commit 6ae0e6a

Please sign in to comment.