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

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

XMLWordPrintable

    • Icon: Suggestion Suggestion
    • Resolution: Fixed
    • Icon: P2: Important P2: Important
    • 6.6.0
    • None
    • Build tools: qdoc
    • None
    • 2fb7dc16f (dev), c4b0be181 (dev)
    • DaVinci 77

      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.

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes