comparison dmd/AlignDeclaration.d @ 72:2e2a5c3f943a

reduced warnings by adding override to the methods think this also normalizes different line endings used all over the place
author Trass3r
date Sat, 28 Aug 2010 16:19:48 +0200
parents 10317f0c89a5
children 7e0d548de9e6
comparison
equal deleted inserted replaced
71:8e24ef1dd139 72:2e2a5c3f943a
15 { 15 {
16 super(decl); 16 super(decl);
17 salign = sa; 17 salign = sa;
18 } 18 }
19 19
20 Dsymbol syntaxCopy(Dsymbol s) 20 override Dsymbol syntaxCopy(Dsymbol s)
21 { 21 {
22 assert(false); 22 assert(false);
23 } 23 }
24 24
25 void setScope(Scope sc) 25 override void setScope(Scope sc)
26 { 26 {
27 //printf("\tAlignDeclaration::setScope '%s'\n",toChars()); 27 //printf("\tAlignDeclaration::setScope '%s'\n",toChars());
28 if (decl) 28 if (decl)
29 { 29 {
30 setScopeNewSc(sc, sc.stc, sc.linkage, sc.protection, sc.explicitProtection, salign); 30 setScopeNewSc(sc, sc.stc, sc.linkage, sc.protection, sc.explicitProtection, salign);
31 } 31 }
32 } 32 }
33 33
34 void semantic(Scope sc) 34 override void semantic(Scope sc)
35 { 35 {
36 //printf("\tAlignDeclaration::semantic '%s'\n",toChars()); 36 //printf("\tAlignDeclaration::semantic '%s'\n",toChars());
37 if (decl) 37 if (decl)
38 { 38 {
39 semanticNewSc(sc, sc.stc, sc.linkage, sc.protection, sc.explicitProtection, salign); 39 semanticNewSc(sc, sc.stc, sc.linkage, sc.protection, sc.explicitProtection, salign);
40 } 40 }
41 } 41 }
42 42
43 void toCBuffer(OutBuffer buf, HdrGenState* hgs) 43 override void toCBuffer(OutBuffer buf, HdrGenState* hgs)
44 { 44 {
45 assert(false); 45 assert(false);
46 } 46 }
47 } 47 }