[cfe-dev] [PATCH]: Preparing AST for C++ declarations
akyrtzi at gmail.com
Thu Jun 5 01:45:14 PDT 2008
Eli Friedman wrote:
> Most important issue: you're adding an Access member to TypeDecl, a
> class which isn't C++-specific. This will increase the size of all
> TypeDecls for C code by 4 bytes.
In the attached patch the access specifier is packed with the bitfields
of Decl. This reduces the size of C++ decls as well (i.e CXXField).
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 22819 bytes
Desc: not available
More information about the cfe-dev