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

Function diag

lib/checkother.h:332–334  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

330 void unionZeroInitError(const Token *tok, const UnionMember& largestMember);
331
332 bool diag(const Token* tok) {
333 return !mRedundantAssignmentDiag.emplace(tok).second;
334 }
335 std::set<const Token*> mRedundantAssignmentDiag;
336};
337/// @}

Calls

no outgoing calls

Tested by

no test coverage detected