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

Clang code model: allow users to pass their own options

    XMLWordPrintable

Details

    Description

      I think a very handy feature would be to allow users to pass their own options to the clang parser (per project). This way it would be to possible to apply new or rare clang options without having to support them explicitly through the GUI.

      Personally, I would use this to pass "-std=c99" to clang, since the default is C++ at the moment, which leads to clang warnings with C99 code. Of cause the proper fix would be to pass the right options according to the file type, but since proper C support is obviously not high on the priority list, this would be a good workaround.

      Attachments

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

        Activity

          People

            kosjar Nikolai Kosjar
            eszlari Peter Eszlari
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes