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

Allow switching between build-in and Clang Code Model per project

    Details

    • Type: Suggestion
    • Status: Reported
    • Priority: Not Evaluated
    • Resolution: Unresolved
    • Affects Version/s: Qt Creator 4.8.0-beta2
    • Fix Version/s: None
    • Component/s: C/C++/Obj-C++ Support
    • Labels:
      None
    • Platform/s:
      All

      Description

      I have some legacy microcontroller projects that use proprietary compiler extensions like @far or @inline as function modifiers.

      I can work with them really good with the build-in code model, like I have done for years.

      Last year I started working with the Clang Code Model, which works quite well if it understands the whole source code. The proprietary extensions make the Clang Code Model quite useless: Semantic highlighting, Find Usages, Goto Definition work very restricted, if at all.

      It would really help me, if I could just switch back to the build-in code model for these projects, as I could work quite good with it. I know similar requests from the forum, but for now the only way is to turn off Clang completely.

        Attachments

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

          Activity

            People

            • Assignee:
              kosjar Nikolai Kosjar
              Reporter:
              aha_1980 André Hartmann
            • Votes:
              5 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

              • Created:
                Updated:

                Gerrit Reviews

                There are no open Gerrit changes