Mercurial > projects > ldc
comparison dmd/aggregate.h @ 1530:05c235309d6f
Make the auto storage class never have the same meaning as scope.
This changes the meaning of
auto class MyClass {} and
auto MyClass ident;
Both have been made an error to prevent accidents.
author | Christian Kamm <kamm incasoftware de> |
---|---|
date | Sun, 12 Jul 2009 16:15:21 +0200 |
parents | d9c5f5a43403 |
children | def7a1d494fd |
comparison
equal
deleted
inserted
replaced
1529:ad7f2f1862d6 | 1530:05c235309d6f |
---|---|
220 // their own vtbl[] | 220 // their own vtbl[] |
221 | 221 |
222 ClassInfoDeclaration *vclassinfo; // the ClassInfo object for this ClassDeclaration | 222 ClassInfoDeclaration *vclassinfo; // the ClassInfo object for this ClassDeclaration |
223 int com; // !=0 if this is a COM class (meaning | 223 int com; // !=0 if this is a COM class (meaning |
224 // it derives from IUnknown) | 224 // it derives from IUnknown) |
225 int isauto; // !=0 if this is an auto class | 225 int isscope; // !=0 if this is a scope class |
226 int isabstract; // !=0 if abstract class | 226 int isabstract; // !=0 if abstract class |
227 | 227 |
228 int isnested; // !=0 if is nested | 228 int isnested; // !=0 if is nested |
229 VarDeclaration *vthis; // 'this' parameter if this class is nested | 229 VarDeclaration *vthis; // 'this' parameter if this class is nested |
230 | 230 |