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

Method mergeWith

plugins/custommake/makefileresolver/makefileresolver.cpp:125–133  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

123}
124
125void PathResolutionResult::mergeWith(const PathResolutionResult& rhs)
126{
127 mergePaths(paths, rhs.paths);
128 mergePaths(frameworkDirectories, rhs.frameworkDirectories);
129 includePathDependency += rhs.includePathDependency;
130 for (auto it = rhs.defines.begin(), end = rhs.defines.end(); it != end; ++it) {
131 defines.insert(it.key(), it.value());
132 }
133}
134
135PathResolutionResult::PathResolutionResult(bool success, const QString& errorMessage, const QString& longErrorMessage)
136 : success(success)

Callers 1

resolveIncludePathMethod · 0.80

Calls 6

mergePathsFunction · 0.85
beginMethod · 0.45
endMethod · 0.45
insertMethod · 0.45
keyMethod · 0.45
valueMethod · 0.45

Tested by

no test coverage detected