diff options
author | Luca Di Sera <luca.disera@qt.io> | 2023-03-13 17:02:26 +0100 |
---|---|---|
committer | Luca Di Sera <luca.disera@qt.io> | 2023-03-16 12:34:36 +0100 |
commit | a2bdad8a93e587d7844c6db4ab17ae0edf67dbd6 (patch) | |
tree | 73927cfb8d7bb73ca5385898d47295d8fb7effcf /src/qdoc/cppcodeparser.cpp | |
parent | c26fe10f7818c37a431a50c8d444f9e26371891d (diff) | |
download | qttools-a2bdad8a93e587d7844c6db4ab17ae0edf67dbd6.tar.gz |
QDoc: Remove `CppCodeParser::ExtraFuncData`
`CppCodeParser`, the class that generally takes care of providing the
semantics of topics and meta commands for QDoc, exposed an inner class
`ExtraFuncData`, that bundled together some of the data that QDoc might
use when processing certain elements of the documentation.
`ExtraFuncData` was instantiated once and never used.
Supposedly, it was the either the result of a never finished
refactoring or was suppressed away during a refactoring, without the
complete code being cleaned of it.
Nonetheless, it is now removed as dead code.
Its single unused instantiation in `CppCodeParser::processTopicCommand`
was removed as a consequence of the removal of the class.
Change-Id: I7212cd0538421bb3c5e60517f53afb2eb4bd90bf
Reviewed-by: Topi Reiniƶ <topi.reinio@qt.io>
Diffstat (limited to 'src/qdoc/cppcodeparser.cpp')
-rw-r--r-- | src/qdoc/cppcodeparser.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/qdoc/cppcodeparser.cpp b/src/qdoc/cppcodeparser.cpp index f8d829187..0f0cfe1cf 100644 --- a/src/qdoc/cppcodeparser.cpp +++ b/src/qdoc/cppcodeparser.cpp @@ -151,7 +151,6 @@ const QSet<QString> &CppCodeParser::topicCommands() Node *CppCodeParser::processTopicCommand(const Doc &doc, const QString &command, const ArgPair &arg) { - ExtraFuncData extra; if (command == COMMAND_FN) { Q_UNREACHABLE(); } else if (s_nodeTypeMap.contains(command)) { |