Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
D
doxverilog
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
Elphel
doxverilog
Commits
f1c96033
Commit
f1c96033
authored
Dec 23, 2014
by
Dimitri van Heesch
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bug 739209 - Invalid warning about undocumented C++ function imported from tagfile
parent
b4b4c9de
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
3 deletions
+10
-3
classdef.cpp
src/classdef.cpp
+1
-1
memberdef.cpp
src/memberdef.cpp
+8
-2
memberdef.h
src/memberdef.h
+1
-0
No files found.
src/classdef.cpp
View file @
f1c96033
...
...
@@ -2673,7 +2673,7 @@ bool ClassDef::isLinkable() const
}
else
{
return
is
LinkableInProject
()
||
isReference
();
return
is
Reference
()
||
isLinkableInProject
();
}
}
...
...
src/memberdef.cpp
View file @
f1c96033
...
...
@@ -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
());
}
src/memberdef.h
View file @
f1c96033
...
...
@@ -263,6 +263,7 @@ class MemberDef : public Definition
QCString
documentation
()
const
;
QCString
briefDescription
(
bool
abbr
=
FALSE
)
const
;
QCString
fieldType
()
const
;
bool
isReference
()
const
;
//-----------------------------------------------------------------------------------
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment