mirror of
https://github.com/nasa/trick.git
synced 2025-06-22 00:41:52 +00:00
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:
@ -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 , "__" ) ;
|
||||
|
Reference in New Issue
Block a user