Removed obsolete importprot members.

This commit is contained in:
David Nadlinger
2013-06-12 20:16:37 +02:00
parent 4d3f9333c6
commit ab7ffa9988
4 changed files with 1 additions and 10 deletions
-4
View File
@@ -446,7 +446,6 @@ AliasDeclaration::AliasDeclaration(Loc loc, Identifier *id, Type *type)
this->haliassym = NULL;
this->overnext = NULL;
this->inSemantic = 0;
this->importprot = PROTundefined;
assert(type);
}
@@ -612,9 +611,6 @@ void AliasDeclaration::semantic(Scope *sc)
if (overnext)
{
FuncAliasDeclaration *fa = new FuncAliasDeclaration(f);
#if IN_LLVM
fa->importprot = importprot;
#endif
if (!fa->overloadInsert(overnext))
ScopeDsymbol::multiplyDefined(Loc(), overnext, f);
overnext = NULL;