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

Compilation database (compile_commands.json) does not contains c++ modules' information

XMLWordPrintable

    • All

      The generated compilation database file lacks of `@.o.modmap` flag in case of using modules. Reproducible example can be taken directly from similar CMake bug (already fixed):

      https://gitlab.kitware.com/cmake/cmake/-/issues/24626

      It is reproducible with CMake 3.28.rc1 which has now official modules support and doesn't require additional EXPERIMENTAL flags enabled. For similar reason clangd can't parse files properly and complains about "Module xxx not found`.

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

            cadam Cristian Adam
            jaskmar Mariusz Jaskółka
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:

                There are no open Gerrit changes