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

Metal support: clangd is incorrectly invoked for Metal shader files

    XMLWordPrintable

Details

    • Bug
    • Resolution: Incomplete
    • Not Evaluated
    • None
    • Qt Creator 10.0.0
    • C/C++/Obj-C++ Support
    • None
    • macOS

    Description

      Qt Creator 10.0 currently treats Metal shader source files as C++ using the clangd code model.

      However, Apple's Metal shaders are written using nonstandard extensions to C++14, and are compiled using a special variant of the clang/LLVM toolchain in a different environment.

      This results in a large number of incorrect warnings when editing a *.metal shader.

      Qt Creator should use an appropriately configured clangd code model for Metal shader source files.

      Attachments

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

        Activity

          People

            kandeler Christian Kandeler
            rthompson Richard Thompson
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes