Ignore privacy

We need to exclude STL or other template io_src code being created with they use
a protected/private enumerations, just like classes.  Also remove a check for
a static bitfield, because you can't have a static bitfield.

refs #218
This commit is contained in:
Alex Lin
2016-04-15 14:10:37 -05:00
parent f2dd53f0b5
commit d6e01ee1c4
3 changed files with 10 additions and 7 deletions

View File

@ -158,8 +158,6 @@ void PrintFileContents10::print_field_init_attr_stmts( std::ofstream & outfile ,
// For static variables replace the offset field with the address of the static variable
if ( fdes->isStatic() ) {
// NOTE: We would not be able to take the address of a static bitfield.
// Static bitfields do not get to this point, they are filtered out in determinePrintAttr
outfile << " attr" ;
printNamespaces( outfile, cv , "__" ) ;
printContainerClasses( outfile, cv , "__" ) ;