diff options
author | Topi Reinio <topi.reinio@qt.io> | 2020-01-02 10:42:33 +0100 |
---|---|---|
committer | Topi Reiniƶ <topi.reinio@qt.io> | 2020-01-05 11:01:04 +0000 |
commit | d4064dd83eca3df5c766d1c456fa060233a1288d (patch) | |
tree | 4419bc5015d99e099e4bf308191ff07c8a7cd7d1 /tests/auto/qdoc/generatedoutput/testcpp.cpp | |
parent | 4dcc7a3d10a223ddd111eaaac6665609add7c46f (diff) |
qdoc: Fix regression in C++ functions sharing a documentation comment
After a recent refactoring, the function that distributes c++
documentation nodes failed to do anything with a function node that
was sharing a comment with other nodes.
Fix the issue and add a testcase for shared c++ \fn documentation
comments.
Fixes: QTBUG-81005
Change-Id: I6320bab232671f8cd969a37136708fc172de8409
Reviewed-by: Paul Wicking <paul.wicking@qt.io>
Diffstat (limited to 'tests/auto/qdoc/generatedoutput/testcpp.cpp')
-rw-r--r-- | tests/auto/qdoc/generatedoutput/testcpp.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/auto/qdoc/generatedoutput/testcpp.cpp b/tests/auto/qdoc/generatedoutput/testcpp.cpp index 3277d496d..f33a6a83c 100644 --- a/tests/auto/qdoc/generatedoutput/testcpp.cpp +++ b/tests/auto/qdoc/generatedoutput/testcpp.cpp @@ -139,4 +139,12 @@ void TestDerived::virtualFun() return; } +/*! + \fn TestQDoc::Test::overload() + \fn TestQDoc::Test::overload(bool b) + + Overloads that share a documentation comment, optionally taking + a parameter \a b. +*/ + } // namespace TestQDoc |