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

Function addVariables

plugins/clang/codegen/clangclasshelper.cpp:212–217  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

210
211template<typename Map>
212void addVariables(QVariantHash* variables, QLatin1String suffix, const Map& map)
213{
214 for (auto it = map.begin(), end = map.end(); it != end; ++it) {
215 variables->insert(it.key() + suffix, CodeDescription::toVariantList(it.value()));
216 }
217}
218
219}
220

Callers 3

extraVariablesMethod · 0.85
generateMethod · 0.85

Calls 6

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

Tested by

no test coverage detected