With a declaration like:
Space and name are reported as user defined names. It seems to supposed to handled here:
//Deal with complex function names
//If it is a function name, collect the complex name ex. String::length, String::operator+=
//If it is a decl collect simple name only
if (((category == "destructor") || (category == "constructor") || (category == "function")) && (elementStack.back() != "name")) {
if (elementStack.size() != 0) elementStack.pop_back();
return;
}
But it is missing the decl check mentioned in the comment. Changing this, fixes that, but breaks other tests. Need to look further
//Deal with complex function names
//If it is a function name, collect the complex name ex. String::length, String::operator+=
//If it is a decl collect simple name only
if (((category == "destructor") || (category == "constructor") || (category == "function") || (category == "decl")) && (elementStack.back() != "name")) {
if (elementStack.size() != 0) elementStack.pop_back();
return;
}
With a declaration like:
int Space::name;Space and name are reported as user defined names. It seems to supposed to handled here:
But it is missing the decl check mentioned in the comment. Changing this, fixes that, but breaks other tests. Need to look further