Renamed Symbol::identity() to Symbol::unqualifiedName().

This commit is contained in:
Roberto Raggi
2010-08-26 12:23:09 +02:00
parent e3551684ee
commit 988cc958ab
8 changed files with 25 additions and 25 deletions

View File

@@ -199,7 +199,7 @@ const char *Symbol::fileName() const
unsigned Symbol::fileNameLength() const
{ return fileId()->size(); }
const Name *Symbol::identity() const
const Name *Symbol::unqualifiedName() const
{
if (! _name)
return 0;
@@ -221,7 +221,7 @@ void Symbol::setName(const Name *name)
_hashCode = 0;
else {
HashCode hh;
_hashCode = hh(identity());
_hashCode = hh(unqualifiedName());
}
}