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

clang code model does not recognize c++23 option properly for MSVC

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: P2: Important P2: Important
    • Qt Creator 6.0.1
    • Qt Creator 6.0.0
    • C/C++/Obj-C++ Support
    • None
    • Windows 10 64bit
    • Windows
    • 02f93f68d64ea72e6cfd57ed2b14b344d26b05b0 (qt-creator/qt-creator/6.0)

      I set cpp.cxxLanguageVersion: "c+23" for my qbs project in order to set "/std:clatest" flag for MSVC to enable some features which are disabled in "/std:c+20".

      With cpp.cxxLanguageVersion: "c+23", clang code model does not recognize C+ standard version and displays invalid errors.

      This is case for both of clangd and libclang.
      See the attachment for details.

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

            kandeler Christian Kandeler
            xylosper Byoung-young Lee
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes