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

Method add

lib/checkstl.cpp:971–975  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

969 std::unordered_map<int, Reference> expressions;
970
971 void add(const std::vector<Reference>& refs) {
972 for (const Reference& r : refs) {
973 add(r);
974 }
975 }
976 void add(const Reference& r) {
977 if (!r.tok)
978 return;

Callers 1

analyzeMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected