summaryrefslogtreecommitdiffstats
path: root/src/memberdef.cpp
diff options
context:
space:
mode:
authorDimitri van Heesch <dimitri@stack.nl>2014-12-23 11:10:19 (GMT)
committerDimitri van Heesch <dimitri@stack.nl>2014-12-23 11:10:19 (GMT)
commitf1c96033bcea28e3ff4528299459b39488831669 (patch)
treeca622f0943a627101c1445a9e5c3f66db42350c9 /src/memberdef.cpp
parentb4b4c9decfacdf77d58490fa2dd81e1e10fe2dd0 (diff)
downloadDoxygen-f1c96033bcea28e3ff4528299459b39488831669.zip
Doxygen-f1c96033bcea28e3ff4528299459b39488831669.tar.gz
Doxygen-f1c96033bcea28e3ff4528299459b39488831669.tar.bz2
Bug 739209 - Invalid warning about undocumented C++ function imported from tagfile
Diffstat (limited to 'src/memberdef.cpp')
-rw-r--r--src/memberdef.cpp10
1 files changed, 8 insertions, 2 deletions
diff --git a/src/memberdef.cpp b/src/memberdef.cpp
index 29595cf..df984f8 100644
--- a/src/memberdef.cpp
+++ b/src/memberdef.cpp
@@ -3210,9 +3210,9 @@ void MemberDef::warnIfUndocumented()
static bool extractAll = Config_getBool("EXTRACT_ALL");
//printf("warnIfUndoc: d->isLinkable()=%d isLinkable()=%d "
- // "isDocumentedFriendClass()=%d name()=%s prot=%d\n",
+ // "isDocumentedFriendClass()=%d name()=%s prot=%d isReference=%d\n",
// d->isLinkable(),isLinkable(),isDocumentedFriendClass(),
- // name().data(),prot);
+ // name().data(),m_impl->prot,isReference());
if ((!hasUserDocumentation() && !extractAll) &&
!isFriendClass() &&
name().find('@')==-1 && d && d->name().find('@')==-1 &&
@@ -5092,3 +5092,9 @@ bool MemberDef::isRelatedOrFriend() const
return isRelated() || isForeign() || (isFriend() && !isFriendToHide());
}
+bool MemberDef::isReference() const
+{
+ return Definition::isReference() ||
+ (m_impl->templateMaster && m_impl->templateMaster->isReference());
+}
+