| 551 | |
| 552 | namespace { |
| 553 | bool contextIsChildOrEqual(const DUContext* childContext, const DUContext* context) |
| 554 | { |
| 555 | if (childContext == context) |
| 556 | return true; |
| 557 | |
| 558 | if (childContext->parentContext()) |
| 559 | return contextIsChildOrEqual(childContext->parentContext(), context); |
| 560 | else |
| 561 | return false; |
| 562 | } |
| 563 | |
| 564 | struct Checker |
| 565 | { |
no test coverage detected