summaryrefslogtreecommitdiffstats
path: root/tests/auto/qdoc/generatedoutput/testdata/testcpp/testcpp.cpp
diff options
context:
space:
mode:
authorQt Forward Merge Bot <qt_forward_merge_bot@qt-project.org>2020-04-22 10:12:13 +0200
committerQt Forward Merge Bot <qt_forward_merge_bot@qt-project.org>2020-04-22 10:12:14 +0200
commit95cd9078938bcd88fdfbba707911e8111f59f195 (patch)
treec55231a843255c0e8fa7d6c94fbf54bc1a9bb9a7 /tests/auto/qdoc/generatedoutput/testdata/testcpp/testcpp.cpp
parent1b992406a6523a144c58baa9bbd1198bb9a2d98c (diff)
parentb3cdd63d4bdaea09222fb93ffcd5104a2dc0bf2e (diff)
Merge remote-tracking branch 'origin/5.15' into 5.15.0
Diffstat (limited to 'tests/auto/qdoc/generatedoutput/testdata/testcpp/testcpp.cpp')
-rw-r--r--tests/auto/qdoc/generatedoutput/testdata/testcpp/testcpp.cpp18
1 files changed, 11 insertions, 7 deletions
diff --git a/tests/auto/qdoc/generatedoutput/testdata/testcpp/testcpp.cpp b/tests/auto/qdoc/generatedoutput/testdata/testcpp/testcpp.cpp
index 17045eed5..31b910fae 100644
--- a/tests/auto/qdoc/generatedoutput/testdata/testcpp/testcpp.cpp
+++ b/tests/auto/qdoc/generatedoutput/testdata/testcpp/testcpp.cpp
@@ -124,13 +124,7 @@ void Test::someFunctionDefaultArg(int i, bool b = false)
return;
}
-/*!
- Function that takes a parameter \a v.
- Also returns the value of \a v.
-\if defined(test_ignoresince)
- \since Test 1.0
-\endif
-*/
+// Documented below with an \fn command. Unnecessary but we support it, and it's used.
int Test::someFunction(int v)
{
return v;
@@ -143,6 +137,16 @@ int Test::someFunction(int v)
*/
/*!
+ \fn int Test::someFunction(int v = 0)
+
+ Function that takes a parameter \a v.
+ Also returns the value of \a v.
+\if defined(test_ignoresince)
+ \since Test 1.0
+\endif
+*/
+
+/*!
Function that must be reimplemented.
*/
void Test::virtualFun()