| 451 | history.pop_back(); |
| 452 | } |
| 453 | virtual void beforeVariant ( char * ps, TypeInfo * ti ) override { |
| 454 | char * pa = ps; |
| 455 | auto tsize = ti->size; |
| 456 | DAS_ASSERT(tsize==uint32_t(getTypeSize(ti))); |
| 457 | PtrRange rdata(pa, tsize); |
| 458 | if ( reportHeap && tsize && markRange(rdata) ) { |
| 459 | if ( describe_ptr(pa, tsize) ) { |
| 460 | describeInfo(ti); |
| 461 | ReportHistory(); |
| 462 | tp << "VARIANT " << getTypeInfoMangledName(ti) << "\n"; |
| 463 | } |
| 464 | } |
| 465 | pushRange(rdata); |
| 466 | } |
| 467 | virtual void afterVariant ( char *, TypeInfo * ) override { |
| 468 | popRange(); |
| 469 | } |
nothing calls this directly
no test coverage detected