Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-23118

Clang Tidy uses C++98 settings

XMLWordPrintable

    • Windows
    • 5675169e564a1af0d4b47d4f1ee872e404cc2d17 (qt-creator/qt-creator/4.11)

      Clangtidy warns about incompatibilty with C++98, but the compiler is Visual Studio 2017 and code model also shows language version CXX14.

      Using CMake project and for example visible as an annotation at Q_OBJECT macro (nullptr is incompatible with C++98). All analyser settings at 'build in'.

        1. C98Error_Config.png
          358 kB
          Stefan Sommerfeld
        2. C98Error.png
          138 kB
          Stefan Sommerfeld
        3. CMakeTest.zip
          2 kB
          Stefan Sommerfeld
        4. image-2019-11-07-10-14-08-440.png
          499 kB
          Stefan Sommerfeld
        5. image-2019-12-13-13-57-41-332.png
          10 kB
          Stefan Sommerfeld
        6. image-2019-12-13-13-58-46-716.png
          6 kB
          Stefan Sommerfeld
        7. no-c++98-compat.png
          12 kB
          Cristian Adam
        8. screenshot-1.png
          41 kB
          Elias Steurer
        For Gerrit Dashboard: QTCREATORBUG-23118
        # Subject Branch Project Status CR V

            kosjar Nikolai Kosjar
            zerocom Stefan Sommerfeld
            Votes:
            4 Vote for this issue
            Watchers:
            10 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes