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

        For Gerrit Dashboard: QTCREATORBUG-26822
        # Subject Branch Project Status CR V

        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