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

Allow clang model to use compile_commands.json

    XMLWordPrintable

Details

    Description

      It would be potentially useful if the clang code model could use a compile_commands.json to drive the clang tool, particularly for custom Makefile projects where the compile commands are not trivially available to Qt Creator and could vary significantly per translation unit.

       

      For background my forum and mailing list posts;

      forum post

      mailing list post

       

      Attachments

        1. project_with_c_as_c++_build.tar
          10 kB
        2. project_with_c_as_c++.tar
          20 kB
        3. project.tar
          10 kB
        4. project2.tar
          20 kB
        5. Screenshot from 2018-10-17 12-02-37.png
          Screenshot from 2018-10-17 12-02-37.png
          50 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            yvvan Ivan Donchevskii
            bbennetts bbennetts
            Votes:
            5 Vote for this issue
            Watchers:
            9 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes