| 21 | //----------------------------------------------------------------------------- |
| 22 | |
| 23 | void LifetimeTracker::StartScope(bool funcStart) |
| 24 | { |
| 25 | RETURN_IF(not GetInsightsOptions().ShowLifetime) |
| 26 | |
| 27 | ++scopeCounter; |
| 28 | |
| 29 | objects.push_back( |
| 30 | {.funcStart = funcStart ? LifetimeEntry::FuncStart::Yes : LifetimeEntry::FuncStart::No, .scope = scopeCounter}); |
| 31 | } |
| 32 | //----------------------------------------------------------------------------- |
| 33 | |
| 34 | void LifetimeTracker::AddExtended(const VarDecl* decl, const ValueDecl* extending) |
no outgoing calls
no test coverage detected