src: refactored name resolvers

* added classes that represent different name kinds
* rewrote NameResolvers to return the new name classes instead of NameElement and NameHierarchy
* removed DataType classes since their functionality moved to the CxxTypeName class.
This commit is contained in:
malte_langkabel
2016-11-16 15:37:02 +01:00
parent a35e8a53de
commit 7873710ba8
42 changed files with 873 additions and 691 deletions
+1 -1
View File
@@ -38,7 +38,7 @@ std::string NameElement::Signature::qualifyName(const std::string& name) const
}
std::string qualifiedName = m_prefix;
if (name.size() > 0)
if (!name.empty())
{
if (!m_prefix.empty())
{