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

Method fullName

lib/symboldatabase.cpp:2934–2945  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2932}
2933
2934std::string Function::fullName() const
2935{
2936 std::string ret = name();
2937 for (const Scope *s = nestedIn; s; s = s->nestedIn) {
2938 if (!s->className.empty())
2939 ret = s->className + "::" + ret;
2940 }
2941 ret += "(";
2942 for (const Variable &a : argumentList)
2943 ret += (a.index() == 0 ? "" : ",") + a.name();
2944 return ret + ")";
2945}
2946
2947static std::string qualifiedName(const Scope *scope)
2948{

Callers 10

operator()Method · 0.80
replaceTemplateUsageMethod · 0.80
specMatchFunction · 0.80
printOutMethod · 0.80
simplifyTemplatesMethod · 0.80

Calls 2

emptyMethod · 0.45
nameMethod · 0.45

Tested by

no test coverage detected