-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
With a declaration like:
int Space::name;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;
}Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels