| 207 | } |
| 208 | |
| 209 | ReferencedTopDUContext ParseSession::contextOfFile(const QString& fileName) |
| 210 | { |
| 211 | ReferencedTopDUContext res = contextOfFile(fileName, m_url, m_ownPriority); |
| 212 | |
| 213 | if (!res) { |
| 214 | // The file was not yet present in the DUChain, store this information. |
| 215 | // This will prevent the second parsing pass from running (it would be |
| 216 | // useless as the file will be re-parsed when res will become available) |
| 217 | m_allDependenciesSatisfied = false; |
| 218 | } |
| 219 | |
| 220 | return res; |
| 221 | } |
| 222 | |
| 223 | ReferencedTopDUContext ParseSession::contextOfFile(const QString& fileName, |
| 224 | const KDevelop::IndexedString& url, |
no test coverage detected