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

QDoc with Clang 18 drops `noexcept` specifier from compiler generated methods documented with \fn

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P2: Important P2: Important
    • None
    • 6.7.0, 6.8
    • Build tools: qdoc
    • None
    • 08e6d4b43 (dev), d224becf7 (6.7), 9f2cbfc5b (dev), 44b31473c (dev), 49c2ea406 (6.8), 274a589bb (dev), a1f64c477 (6.8)
    • DaVinci 95, DaVinci 96, DaVinci 97, DaVinci 98

      Methods marked as both noexcept and default (e.g. compiler generated constructors) lose the noexcept tag in documentation output if QDoc is built against Clang 18. This causes changes when compared to output from QDoc built against Clang 17 in the following files, when building documentation for a qt5.git default checkout:

      • qtcore/qitemselection.html
      • qtcore/qtcore.index
      • qtcore5compat/qstringref.html
      • qtcore5compat/qtcore5compat.index
      • qtmultimedia/qaudioformat.html
      • qtmultimedia/qtmultimedia.index
      • qttestlib/qtest.html
      • qttestlib/qtesteventlist.html
      • qttestlib/qttestlib.index
      • qtwidgets/qgraphicsgridlayout.html
      • qtwidgets/qtwidgets.index

        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:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: