summaryrefslogtreecommitdiffstats
path: root/src/memberdef.cpp
diff options
context:
space:
mode:
authorDimitri van Heesch <dimitri@stack.nl>2013-06-06 20:08:42 (GMT)
committerDimitri van Heesch <dimitri@stack.nl>2013-06-15 08:47:57 (GMT)
commit438375840da2b1ea19126f8d4b53f0bc71c62a68 (patch)
tree457efda590a8958922596caa004035989b08bc06 /src/memberdef.cpp
parent8cd4425a523965a5541d46a84828fb7e16f98bae (diff)
downloadDoxygen-438375840da2b1ea19126f8d4b53f0bc71c62a68.zip
Doxygen-438375840da2b1ea19126f8d4b53f0bc71c62a68.tar.gz
Doxygen-438375840da2b1ea19126f8d4b53f0bc71c62a68.tar.bz2
Bug 700740 - Doxygen does not create links on C++ 11 style enum classes
Diffstat (limited to 'src/memberdef.cpp')
-rw-r--r--src/memberdef.cpp14
1 files changed, 13 insertions, 1 deletions
diff --git a/src/memberdef.cpp b/src/memberdef.cpp
index c5bf787..deed432 100644
--- a/src/memberdef.cpp
+++ b/src/memberdef.cpp
@@ -3795,6 +3795,12 @@ QCString MemberDef::qualifiedName() const
qm+="]";
return qm;
}
+ else if (m_impl->enumScope && m_impl->enumScope->isStrong())
+ {
+ return m_impl->enumScope->qualifiedName()+
+ getLanguageSpecificSeparator(getLanguage())+
+ localName();
+ }
else
{
return Definition::qualifiedName();
@@ -4139,6 +4145,13 @@ bool MemberDef::isStrong() const
return (m_impl->memSpec&Entry::Strong)!=0;
}
+bool MemberDef::isStrongEnumValue() const
+{
+ return m_impl->mtype==MemberType_EnumValue &&
+ m_impl->enumScope &&
+ m_impl->enumScope->isStrong();
+}
+
bool MemberDef::isUnretained() const
{
return (m_impl->memSpec&Entry::Unretained)!=0;
@@ -4845,4 +4858,3 @@ void combineDeclarationAndDefinition(MemberDef *mdec,MemberDef *mdef)
}
}
-