summaryrefslogtreecommitdiffstats
path: root/src/memberdef.cpp
diff options
context:
space:
mode:
authorDimitri van Heesch <dimitri@stack.nl>2015-05-03 19:10:48 (GMT)
committerDimitri van Heesch <dimitri@stack.nl>2015-05-03 19:10:48 (GMT)
commit796d6585be58d1c9112422a919f49d1998dc672c (patch)
tree4ac4f325c5b66221bc5671e4000a00e5383280f6 /src/memberdef.cpp
parent7b2d77abb73288bdd48ca04720fd6779e0bf94c2 (diff)
downloadDoxygen-796d6585be58d1c9112422a919f49d1998dc672c.zip
Doxygen-796d6585be58d1c9112422a919f49d1998dc672c.tar.gz
Doxygen-796d6585be58d1c9112422a919f49d1998dc672c.tar.bz2
Bug 746734 - Don't warn about missing documentation for deleted functions.
Diffstat (limited to 'src/memberdef.cpp')
-rw-r--r--src/memberdef.cpp9
1 files changed, 7 insertions, 2 deletions
diff --git a/src/memberdef.cpp b/src/memberdef.cpp
index 23c171a..7f93b51 100644
--- a/src/memberdef.cpp
+++ b/src/memberdef.cpp
@@ -3231,7 +3231,7 @@ void MemberDef::warnIfUndocumented()
!isFriendClass() &&
name().find('@')==-1 && d && d->name().find('@')==-1 &&
protectionLevelVisible(m_impl->prot) &&
- !isReference()
+ !isReference() && !isDeleted()
)
{
warn_undoc(d->getDefFileName(),d->getDefLine(),"Member %s%s (%s) of %s %s is not documented.",
@@ -3258,11 +3258,16 @@ bool MemberDef::isDocumentedFriendClass() const
(fcd=getClass(baseName)) && fcd->isLinkable());
}
+bool MemberDef::isDeleted() const
+{
+ return m_impl->defArgList && m_impl->defArgList->isDeleted;
+}
+
bool MemberDef::hasDocumentation() const
{
return Definition::hasDocumentation() ||
(m_impl->mtype==MemberType_Enumeration && m_impl->docEnumValues) || // has enum values
- (m_impl->defArgList!=0 && m_impl->defArgList->hasDocumentation()); // has doc arguments
+ (m_impl->defArgList!=0 && m_impl->defArgList->hasDocumentation()); // has doc arguments
}
#if 0