MCPcopy Create free account
hub / github.com/KDE/kdevelop / includePaths

Function includePaths

plugins/clang/duchain/unknowndeclarationproblem.cpp:377–384  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

375}
376
377KDevelop::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

Callers 2

includeFilesFunction · 0.85
fixUnknownDeclarationFunction · 0.85

Calls 6

managerFunction · 0.85
toLocalFileMethod · 0.80
itemForPathMethod · 0.80
projectControllerMethod · 0.80
projectModelMethod · 0.45
includesMethod · 0.45

Tested by

no test coverage detected