| 375 | } |
| 376 | |
| 377 | KDevelop::Path::List includePaths( const KDevelop::Path& file ) |
| 378 | { |
| 379 | // Find project's custom include paths |
| 380 | const auto source = file.toLocalFile(); |
| 381 | const auto item = ICore::self()->projectController()->projectModel()->itemForPath(IndexedStringView{source}); |
| 382 | |
| 383 | return IDefinesAndIncludesManager::manager()->includes(item); |
| 384 | } |
| 385 | |
| 386 | /** |
| 387 | * Return a list of header files viable for inclusions. All elements will be unique |
no test coverage detected