Member predicate Declaration::Declaration::getName

Gets the name of this declaration.

This name doesn’t include a namespace or any argument types, so for example both functions ::open() and ::std::ifstream::open(...) have the same name.

To get the name including the namespace, use getQualifiedName or hasQualifiedName.

To test whether this declaration has a particular name in the global namespace, use hasGlobalName.

string getName()