summaryrefslogtreecommitdiff
path: root/src/qdoc/cppcodeparser.cpp
diff options
context:
space:
mode:
authorMartin Smith <martin.smith@qt.io>2018-10-19 17:03:01 +0200
committerMartin Smith <martin.smith@qt.io>2018-12-03 08:55:57 +0000
commit7fea26a411ea3105ce2e27a360be29e2f356ac0a (patch)
treed2203b5c77790c6e057785391fe8063182252377 /src/qdoc/cppcodeparser.cpp
parent3daa8c3ceef4ee171414c549d8acf3d1bbfc20af (diff)
downloadqttools-7fea26a411ea3105ce2e27a360be29e2f356ac0a.tar.gz
qdoc: Do not print error for future functions
Some function declarations are marked as not existing until Qt 6.0 in both the .h and .cpp files, but they are documented in the .cpp file. qdoc can't tie the documentation for these functions to their declarations because of the way clang is used, and qdoc reports that reports the documentation as an error. This update let's qdoc ignore these functions and not print the error when they are marked with \since 6.0. This will also work with other future versions. This update also collects all the uses of #define COMMAND_xxx in one location, which was partially required by the \since 6.0 change. Change-Id: I55052359f387406da340c748768f8e76c0b39d53 Reviewed-by: Paul Wicking <paul.wicking@qt.io> Reviewed-by: Topi Reiniƶ <topi.reinio@qt.io>
Diffstat (limited to 'src/qdoc/cppcodeparser.cpp')
0 files changed, 0 insertions, 0 deletions