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

[clangd] no parse context for objective-cpp files when OBJCXX enabled

    XMLWordPrintable

Details

    • macOS
    • 99185d04e (16.0)

    Description

      when opening an objective-cpp file in a project that has OBJCXX enabled as a first-class cmake language, a header is shown: "Warning: This file is not part of any project [...]"

      if objcxx however is not enabled as language, the file is properly parsed.

      observations:

      • if objcxx is enabled, the c++ code model inspector in the attached project only has a C++ context
      • if objcxx is not enabled, the c++ code model inspector shows two parse contexts (C++ and Obj-C+, where Obj-C+ self-identifies as CXX17 with ObjectiveC language extensions

      Attachments

        1. Archive.zip
          2 kB
        2. header.png
          header.png
          294 kB
        3. source.png
          source.png
          262 kB

        Issue Links

          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:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes