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

clangd fails to have a file in 2 contexts

    XMLWordPrintable

Details

    • Bug
    • Resolution: Incomplete
    • Not Evaluated
    • None
    • Qt Creator 6.0.0-beta2
    • C/C++/Obj-C++ Support
    • 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

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: