@@ -3975,8 +3975,11 @@ void MemberDefImpl::warnIfUndocumented() const
3975
3975
!isReference () && !isDeleted ()
3976
3976
)
3977
3977
{
3978
+ SrcLangExt lang = getLanguage ();
3979
+ QCString sep = getLanguageSpecificSeparator (lang,TRUE );
3978
3980
warn_undoc (getDefFileName (),getDefLine ()," Member %s%s (%s) of %s %s is not documented." ,
3979
- qPrint (name ()),qPrint (argsString ()),qPrint (memberTypeName ()),qPrint (t),qPrint (d->name ()));
3981
+ qPrint (name ()),qPrint (argsString ()),qPrint (memberTypeName ()),qPrint (t),
3982
+ qPrint (sep==" ::" ?d->name ():substitute (d->name ()," ::" ,sep)));
3980
3983
}
3981
3984
else if (!hasDetailedDescription ())
3982
3985
{
@@ -3990,8 +3993,10 @@ void MemberDefImpl::warnIfUndocumented() const
3990
3993
{
3991
3994
if (!fmd->isLinkableInProject ())
3992
3995
{
3993
- warn (fmd->getDefFileName (),fmd->getDefLine (), " Documentation for enum member '%s::%s' is missing." ,
3994
- qPrint (qualifiedName ()), qPrint (fmd->name ()));
3996
+ SrcLangExt lang = getLanguage ();
3997
+ QCString sep = getLanguageSpecificSeparator (lang,TRUE );
3998
+ warn (fmd->getDefFileName (),fmd->getDefLine (), " Documentation for enum member '%s%s%s' is missing." ,
3999
+ qPrint (qualifiedName ()),qPrint (sep),qPrint (fmd->name ()));
3995
4000
}
3996
4001
}
3997
4002
}
0 commit comments