summaryrefslogtreecommitdiff
path: root/src/qdoc/cppcodemarker.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/qdoc/cppcodemarker.cpp')
-rw-r--r--src/qdoc/cppcodemarker.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/qdoc/cppcodemarker.cpp b/src/qdoc/cppcodemarker.cpp
index 1667f485b..5e8c3a37b 100644
--- a/src/qdoc/cppcodemarker.cpp
+++ b/src/qdoc/cppcodemarker.cpp
@@ -841,6 +841,13 @@ QList<Section> CppCodeMarker::sections(const Aggregate *inner,
}
}
break;
+ case Node::SharedComment:
+ {
+ SharedCommentNode *scn = static_cast<SharedCommentNode *>(*n);
+ if (!scn->doc().isEmpty())
+ insert(functions, scn, style, status);
+ }
+ break;
default:
break;
}