Skip to content

Commit 30696b4

Browse files
committed
issue #10869 @ref links are incorrect when used in class methods body
1 parent 190ba75 commit 30696b4

File tree

8 files changed

+8
-0
lines changed

8 files changed

+8
-0
lines changed

src/classdef.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1242,6 +1242,7 @@ void ClassDefImpl::findSectionsInDocumentation()
12421242
{
12431243
docFindSections(briefDescription(),this,docFile());
12441244
docFindSections(documentation(),this,docFile());
1245+
docFindSections(inbodyDocumentation(),this,docFile());
12451246
for (const auto &mg : m_impl->memberGroups)
12461247
{
12471248
mg->findSectionsInDocumentation(this);

src/conceptdef.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -687,6 +687,7 @@ void ConceptDefImpl::findSectionsInDocumentation()
687687
{
688688
docFindSections(briefDescription(),this,docFile());
689689
docFindSections(documentation(),this,docFile());
690+
docFindSections(inbodyDocumentation(),this,docFile());
690691
}
691692

692693
//------------------------------------------------------------------------------------

src/filedef.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -341,6 +341,7 @@ void FileDefImpl::findSectionsInDocumentation()
341341
{
342342
docFindSections(briefDescription(),this,docFile());
343343
docFindSections(documentation(),this,docFile());
344+
docFindSections(inbodyDocumentation(),this,docFile());
344345
for (const auto &mg : m_memberGroups)
345346
{
346347
mg->findSectionsInDocumentation(this);

src/groupdef.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -237,6 +237,7 @@ void GroupDefImpl::findSectionsInDocumentation()
237237
{
238238
docFindSections(briefDescription(),this,docFile());
239239
docFindSections(documentation(),this,docFile());
240+
docFindSections(inbodyDocumentation(),this,docFile());
240241

241242
for (const auto &mg : m_memberGroups)
242243
{

src/memberdef.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4817,6 +4817,7 @@ void MemberDefImpl::findSectionsInDocumentation()
48174817
{
48184818
docFindSections(briefDescription(),this,docFile());
48194819
docFindSections(documentation(),this,docFile());
4820+
docFindSections(inbodyDocumentation(),this,docFile());
48204821
}
48214822

48224823
void MemberDefImpl::overrideCallGraph(bool e)

src/moduledef.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -702,6 +702,7 @@ void ModuleDefImpl::findSectionsInDocumentation()
702702
{
703703
docFindSections(briefDescription(),this,docFile());
704704
docFindSections(documentation(),this,docFile());
705+
docFindSections(inbodyDocumentation(),this,docFile());
705706
for (const auto &mg : m_memberGroups)
706707
{
707708
mg->findSectionsInDocumentation(this);

src/namespacedef.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -360,6 +360,7 @@ void NamespaceDefImpl::findSectionsInDocumentation()
360360
{
361361
docFindSections(briefDescription(),this,docFile());
362362
docFindSections(documentation(),this,docFile());
363+
docFindSections(inbodyDocumentation(),this,docFile());
363364
for (const auto &mg : m_memberGroups)
364365
{
365366
mg->findSectionsInDocumentation(this);

src/pagedef.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,7 @@ void PageDefImpl::findSectionsInDocumentation()
100100
{
101101
docFindSections(briefDescription(),this,docFile());
102102
docFindSections(documentation(),this,docFile());
103+
docFindSections(inbodyDocumentation(),this,docFile());
103104
}
104105

105106
const GroupDef *PageDefImpl::getGroupDef() const

0 commit comments

Comments
 (0)