diff options
author | Martin Smith <martin.smith@qt.io> | 2017-01-17 11:44:41 +0100 |
---|---|---|
committer | Martin Smith <martin.smith@qt.io> | 2017-08-10 07:33:53 +0000 |
commit | 816b967374aa714139ddc59676dd32702bed9f49 (patch) | |
tree | e7e664d94acb2fcbe55d405df6fdc8e761db6d56 /src/qdoc/cppcodeparser.h | |
parent | 54425fbd3de2911bf98a934423ec22e495e8424c (diff) | |
download | qttools-816b967374aa714139ddc59676dd32702bed9f49.tar.gz |
qdoc: Enable documentation of type alias as typedef
clangqdoc now handles the type alias declaraction and provides
the \typealias command for documenting it. It is documented as
a typedef.
Task-number: QTBUG-58158
Change-Id: Iee0c8dea66026a89b3625b40b92b056cada893c1
Reviewed-by: Topi Reiniƶ <topi.reinio@qt.io>
Diffstat (limited to 'src/qdoc/cppcodeparser.h')
-rw-r--r-- | src/qdoc/cppcodeparser.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/qdoc/cppcodeparser.h b/src/qdoc/cppcodeparser.h index 79e5f47b6..8d217e3fe 100644 --- a/src/qdoc/cppcodeparser.h +++ b/src/qdoc/cppcodeparser.h @@ -177,6 +177,7 @@ protected: #define COMMAND_REIMP Doc::alias("reimp") #define COMMAND_RELATES Doc::alias("relates") #define COMMAND_STARTPAGE Doc::alias("startpage") +#define COMMAND_TYPEALIAS Doc::alias("typealias") #define COMMAND_TYPEDEF Doc::alias("typedef") #define COMMAND_VARIABLE Doc::alias("variable") #define COMMAND_QMLABSTRACT Doc::alias("qmlabstract") |