summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorTopi Reinio <topi.reinio@qt.io>2020-02-27 12:51:30 +0100
committerTopi Reinio <topi.reinio@qt.io>2020-02-28 10:16:33 +0100
commit856700499a5f3f53c63e69b90f3f41c8b5421d76 (patch)
treedf82d1a6b0fc46a2d6c2ec04fc70928beb4ef912 /tests
parent84306931190ce2c846a826b4c2bbefc8987b4405 (diff)
qdoc: Parse arguments for an \obsolete command
The command was documented as taking no arguments, and any arguments were ignored. The documentation still has many instances of \obsolete Use somethingElse() instead. Where the description was lost. Force a linebreak after the command, allowing any arguments to be processed as a normal text paragraph. [ChangeLog][qdoc] Generate output for arguments passed to the \obsolete command. Fixes: QTBUG-82558 Change-Id: If3e39382367a0c1f4cc63a2c322e986e053ecd6b Reviewed-by: Kai Koehne <kai.koehne@qt.io>
Diffstat (limited to 'tests')
-rw-r--r--tests/auto/qdoc/generatedoutput/testdata/testcpp/testcpp.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/tests/auto/qdoc/generatedoutput/testdata/testcpp/testcpp.cpp b/tests/auto/qdoc/generatedoutput/testdata/testcpp/testcpp.cpp
index 5d3055ac2..c8b3f2f46 100644
--- a/tests/auto/qdoc/generatedoutput/testdata/testcpp/testcpp.cpp
+++ b/tests/auto/qdoc/generatedoutput/testdata/testcpp/testcpp.cpp
@@ -100,9 +100,7 @@ void Test::obsoleteMember()
}
/*!
- \obsolete
-
- Use obsoleteMember() instead.
+ \obsolete Use obsoleteMember() instead.
*/
void Test::anotherObsoleteMember()
{