mirror of
https://github.com/xomboverlord/ldc.git
synced 2026-03-11 14:43:13 +01:00
Diff reduction: Remove Scope::ignoreTemplates and friends.
It is unused since my change to the way codegen is driven. If we want to optimize template codegen again, we should do it properly, contributing the changes back to DMD.
This commit is contained in:
committed by
Kai Nacke
parent
5ac894c32d
commit
01b6d55770
@@ -55,7 +55,6 @@ void StaticAssert::semantic2(Scope *sc)
|
||||
ScopeDsymbol *sd = new ScopeDsymbol();
|
||||
sc = sc->push(sd);
|
||||
sc->flags |= SCOPEstaticassert;
|
||||
++sc->ignoreTemplates;
|
||||
Expression *e = exp->ctfeSemantic(sc);
|
||||
e = resolveProperties(sc, e);
|
||||
sc = sc->pop();
|
||||
|
||||
Reference in New Issue
Block a user