MCPcopy Create free account
hub / github.com/cppcheck-opensource/cppcheck / getYield

Method getYield

lib/library.h:250–255  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

248 }
249
250 Yield getYield(const std::string& function) const {
251 const auto i = functions.find(function);
252 if (i != functions.end())
253 return i->second.yield;
254 return Yield::NO_YIELD;
255 }
256
257 const std::string& getReturnType(const std::string& function) const {
258 const auto i = functions.find(function);

Callers 15

isContainerYieldMethod · 0.80
getContainerYieldMethod · 0.80
getContainerFromYieldMethod · 0.80
getContainerYieldFunction · 0.80
setValueTypeMethod · 0.80
valueFlowArrayElementFunction · 0.80
getLifetimeTokensFunction · 0.80
executeImplMethod · 0.80
containerYieldsElementFunction · 0.80
getContainerIndexFunction · 0.80
getContainerFromSizeFunction · 0.80

Calls 2

findMethod · 0.45
endMethod · 0.45

Tested by 1

containerMethod · 0.64