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

QDoc doesn't respect \fn command order for primary overload selection in shared comments

XMLWordPrintable

    • 032bfb14e (dev), a8c486cd6 (dev)
    • DaVinci 128

      When using \overload primary with multiple \fn commands in a shared comment block, the first \fn command should become the primary overload and link target. However, QDoc currently marks ALL functions in the block as primary, and reorders them alphabetically by signature, ignoring source order. Example:

       /*!
          \overload primary
          \fn void TestClass::process(int, bool)  // Should be primary
          \fn void TestClass::process()           // Should link to above
      */

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

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes