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

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

XMLWordPrintable

    • macOS
    • 99185d04e (16.0)

      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

        1. Archive.zip
          2 kB
        2. header.png
          header.png
          294 kB
        3. source.png
          source.png
          262 kB
        For Gerrit Dashboard: QTCREATORBUG-32282
        # Subject Branch Project Status CR V

            cadam Cristian Adam
            timblechmann tim blechmann
            Votes:
            1 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes