Skip to content

Commit

Permalink
Merge pull request #2208 from yebblies/abstract
Browse files Browse the repository at this point in the history
[DDMD] Remove redundant FuncDeclaration::isAbstract
  • Loading branch information
AndrejMitrovic committed Jun 18, 2013
2 parents 2f29896 + 709e1e7 commit 1194cfc
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 6 deletions.
1 change: 0 additions & 1 deletion src/declaration.h
Expand Up @@ -685,7 +685,6 @@ class FuncDeclaration : public Declaration
BUILTIN isBuiltin();
bool isExport();
bool isImportedSymbol();
bool isAbstract();
bool isCodeseg();
bool isOverloadable();
bool hasOverloads();
Expand Down
5 changes: 0 additions & 5 deletions src/func.c
Expand Up @@ -3134,11 +3134,6 @@ bool FuncDeclaration::isFinal()
((cd = toParent()->isClassDeclaration()) != NULL && cd->storage_class & STCfinal));
}

bool FuncDeclaration::isAbstract()
{
return (storage_class & STCabstract) != 0;
}

bool FuncDeclaration::isCodeseg()
{
return true; // functions are always in the code segment
Expand Down

0 comments on commit 1194cfc

Please sign in to comment.