mirror of
https://github.com/xomboverlord/ldc.git
synced 2026-01-25 09:03:14 +01:00
Remove superfluous Dsymbol::codegen overload.
This commit is contained in:
@@ -189,11 +189,6 @@ struct Declaration : Dsymbol
|
||||
enum PROT prot();
|
||||
|
||||
Declaration *isDeclaration() { return this; }
|
||||
|
||||
#if IN_LLVM
|
||||
/// Codegen traversal
|
||||
virtual void codegen(Ir* ir);
|
||||
#endif
|
||||
};
|
||||
|
||||
/**************************************************************/
|
||||
|
||||
@@ -27,14 +27,7 @@
|
||||
|
||||
void Dsymbol::codegen(Ir*)
|
||||
{
|
||||
Logger::println("Ignoring Dsymbol::codegen for %s", toChars());
|
||||
}
|
||||
|
||||
/* ================================================================== */
|
||||
|
||||
void Declaration::codegen(Ir*)
|
||||
{
|
||||
Logger::println("Ignoring Declaration::codegen for %s", toChars());
|
||||
Logger::println("Ignoring Dsymbol::codegen for %s", toPrettyChars());
|
||||
}
|
||||
|
||||
/* ================================================================== */
|
||||
|
||||
Reference in New Issue
Block a user