summaryrefslogtreecommitdiff
path: root/src/qdoc/codemarker.cpp
diff options
context:
space:
mode:
authorMartin Smith <martin.smith@theqtcompany.com>2016-02-22 15:39:02 +0100
committerMartin Smith <martin.smith@theqtcompany.com>2016-02-26 12:06:03 +0000
commit184c8f82a0b2e7ed8d307c796a5ba92b66723abe (patch)
treefbecd7a0baf44b2b0b3b9e29a7418870170a9910 /src/qdoc/codemarker.cpp
parent8237d6d1171d7d7d677eada7d49ab7b5d85b09e7 (diff)
downloadqttools-184c8f82a0b2e7ed8d307c796a5ba92b66723abe.tar.gz
qdoc: Avoid more unnecessary qdoc warnings
Now avoids qdoc warnings for undocumented copy-assignment operators and move-assignment operators. This update also improves the text output by surrounding it with <p> and </p>. There was also a bit of refactoring. Change-Id: I922c7083d17b9b911d81f818f51fe7623a78eb22 Task-number: QTBUG-50630 Reviewed-by: Topi Reiniƶ <topi.reinio@theqtcompany.com>
Diffstat (limited to 'src/qdoc/codemarker.cpp')
-rw-r--r--src/qdoc/codemarker.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/qdoc/codemarker.cpp b/src/qdoc/codemarker.cpp
index 99b9a47c3..366d2d8d2 100644
--- a/src/qdoc/codemarker.cpp
+++ b/src/qdoc/codemarker.cpp
@@ -597,8 +597,7 @@ QStringList CodeMarker::macRefsForNode(Node *node)
if (func->isOverload())
return QStringList();
- if (func->metaness() == FunctionNode::MacroWithParams
- || func->metaness() == FunctionNode::MacroWithoutParams) {
+ if (func->isMacro()) {
result += QLatin1String("macro/");
}
else if (func->isStatic()) {