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

clangd fails to have a file in 2 contexts

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Not Evaluated
    • Resolution: Incomplete
    • Affects Version/s: Qt Creator 6.0.0-beta2
    • Fix Version/s: None
    • Component/s: C/C++/Obj-C++ Support
    • Labels:
    • Platform/s:
      Windows

      Description

      I have a file in 2 products with different defines, I can choose the 2 contexts in the Creator, with the clang code model everything is fine. clangd always shows me the #ifdef from the first context, it seems it was not informed about the context change or can't handle one file with different #ifdef paths.

        Attachments

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

          Activity

            People

            Assignee:
            kandeler Christian Kandeler
            Reporter:
            hazardy Björn
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes