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

Method getAction

lib/library.h:243–248  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

241 bool startPatternHasStd{};
242
243 Action getAction(const std::string& function) const {
244 const auto i = functions.find(function);
245 if (i != functions.end())
246 return i->second.action;
247 return Action::NO_ACTION;
248 }
249
250 Yield getYield(const std::string& function) const {
251 const auto i = functions.find(function);

Callers 14

valueFlowContainerSizeFunction · 0.80
isWritableMethod · 0.80
writeValueMethod · 0.80
containerAppendsElementFunction · 0.80
containerPopsElementFunction · 0.80
getInvalidMethodFunction · 0.80
if_findMethod · 0.80
astContainerActionFunction · 0.80
isConstFunctionCallFunction · 0.80

Calls 2

findMethod · 0.45
endMethod · 0.45

Tested by 1

containerMethod · 0.64