| 83 | } |
| 84 | |
| 85 | class Indent |
| 86 | { |
| 87 | public: |
| 88 | explicit Indent(int level) : m_level(level) {} |
| 89 | |
| 90 | friend QDebug& operator<<(QDebug& debug, const Indent& ind) |
| 91 | { |
| 92 | for (int i = 0; i < ind.m_level; i++) { |
| 93 | debug.nospace() << ' '; |
| 94 | } |
| 95 | |
| 96 | return debug.space(); |
| 97 | } |
| 98 | |
| 99 | private: |
| 100 | int m_level; |
| 101 | }; |
| 102 | |
| 103 | void DUChainDumperPrivate::dumpProblems(TopDUContext* top, QTextStream& out) |
| 104 | { |
no outgoing calls
no test coverage detected