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

QDoc with Clang 18 drops noexcept from default methods

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • None
    • 6.7.0, 6.8
    • Build tools: qdoc
    • None
    • 08e6d4b43 (dev), d224becf7 (6.7)
    • DaVinci 95, DaVinci 96

    Description

      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

      Attachments

        Issue Links

          For Gerrit Dashboard: QTBUG-123130
          # Subject Branch Project Status CR V

          Activity

            People

              docinfrastructure Documentation Infrastructure Team
              paulwicking Paul Wicking
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes