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

Function removeAssign

lib/vf_analyzers.cpp:476–478  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

474 {}
475
476 static std::string removeAssign(const std::string& assign) {
477 return std::string{assign.cbegin(), assign.cend() - 1};
478 }
479
480 template<class T, class U>
481 static T calculateAssign(const std::string& assign, const T& x, const U& y, bool* error = nullptr)

Callers 1

calculateAssignFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected