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

Function mergePaths

plugins/custommake/makefileresolver/makefileresolver.cpp:117–123  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

115 };
116
117static void mergePaths(KDevelop::Path::List& destList, const KDevelop::Path::List& srcList)
118{
119 for (const Path& path : srcList) {
120 if (!destList.contains(path))
121 destList.append(path);
122 }
123}
124
125void PathResolutionResult::mergeWith(const PathResolutionResult& rhs)
126{

Callers 1

mergeWithMethod · 0.85

Calls 2

containsMethod · 0.45
appendMethod · 0.45

Tested by

no test coverage detected