Uploaded image for project: 'Qt Quality Assurance Infrastructure'
  1. Qt Quality Assurance Infrastructure
  2. QTQAINFRA-7054

CodeChecker: False positive warnings about missing noexcept

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P1: Critical
    • None
    • 6.9
    • Static analysis
    • None

    Description

      clang-tidy, which is used by CodeChecker, unfortunately has a false positive for defaulted special member functions, complaining that they are not marked as noexcept (which is, in fact not necessary).

       

      Upstream bug with more details at https://github.com/llvm/llvm-project/issues/126041

      To avoid unnecessary noise from CodeChecker, it would be good to disable this until upstream fixes the bug, especially given that we want to use

      QT_DECLARE_RO5_SMF_AS_DEFAULTED

      in a few places in Qt, without triggering the warning.

      Attachments

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

        Activity

          People

            jimis Dimitrios Apostolou
            fabiankosmale Fabian Kosmale
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes