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

[clangd] code model lacks context for unity build sources

    XMLWordPrintable

Details

    • 78f89fc77 (master)

    Description

      there is a small issue in the clangd code model when using cmake's unity builds: if a source file is opened in qtc which is part of a unity build, this source file is not parsed in the context of the corresponding cmake target. the "C++ Code Model Inspector" has a "Project Parts" entry. this entry is empty when i enable unity builds.

      the expected behaviour would be to parse these sources in the context of the corresponding cmake target

      Attachments

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

        Activity

          People

            cadam Cristian Adam
            timblechmann tim blechmann
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes