Details
-
Suggestion
-
Resolution: Fixed
-
P2: Important
-
None
-
None
-
2fb7dc16f (dev), c4b0be181 (dev), a8c609c00 (dev)
-
DaVinci 77
Description
In conversation with treinio, the suggestion to drop the myriad of attributes that QDoc write to index files that have no effect at all, because their value is the default anyway when reading things back in. As an example, all non-virtual non-const non-static/final/overridden functions gets the attributes
virtual="non" const="false" static="false" final="false" override="false"
QDoc should treat 'false' as default for those and only write the attributes when they're true. This would likely save a noticeable bit of the typical index file size and possibly speed things up a bit.
Attachments
For Gerrit Dashboard: QTBUG-112494 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
470258,7 | QDoc: Don't write default attributes to index files | dev | qt/qttools | Status: MERGED | +2 | 0 |
470498,6 | QDoc: Ensure FunctionNode sets sensible virtualness values | dev | qt/qttools | Status: MERGED | +2 | 0 |
471242,5 | QDoc: Don't write type attributes to index files for macros | dev | qt/qttools | Status: MERGED | +2 | 0 |