mirror of
https://github.com/nasa/trick.git
synced 2025-06-23 01:08:52 +00:00
Pointers to STLs cannot be checkpointed. #552
Added code to disable printing of STLs if it is arrayed or has pointer dimensions.
This commit is contained in:
@ -60,6 +60,9 @@ bool PrintFileContentsBase::isPrintable( ClassValues * c , FieldDescription * fd
|
||||
if ( !(fdes->getIO() & ioMask) || !fdes->getTypeName().compare("void") || !fdes->getEnumString().compare("TRICK_VOID")) {
|
||||
return false;
|
||||
}
|
||||
if ( fdes->isSTL() and fdes->getNumDims() ) {
|
||||
return false;
|
||||
}
|
||||
if ( fdes->getAccess() == clang::AS_public || (!fdes->isStatic() && !global_compat15 && !c->isCompat15())) {
|
||||
return true;
|
||||
}
|
||||
|
Reference in New Issue
Block a user