Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-112494

QDoc: don't write default values for attributes to index files

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Fixed
    • P2: Important
    • 6.6.0
    • None
    • Build tools: qdoc
    • 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

        Activity

          People

            paulwicking Paul Wicking
            paulwicking Paul Wicking
            Topi Reiniö Topi Reiniö
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes