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

Clangd reports wrong semantic issues under Android/iOS " .. is a protected member of ... "

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P2: Important P2: Important
    • None
    • Qt Creator 7.0.0, Qt Creator 7.0.1
    • C/C++/Obj-C++ Support
    • Target: iOS, Android
      Host: Windows, macOS
    • macOS, Windows

      Semantic issues like below screenshot appears when
      target OS is iOS or Android and host OS is Windows or macOS

      In case of screenshot,
      CNvHttpRequestManager is a friend class of class CNvHttpRequest and has the right to access CNvHttpRequest's protected members.

      This does not occur when the target is Windows or macOS.

        1. qtcbug27457-clangd-warning.png
          122 kB
          Nahomi Gröhn
        2. main.cpp
          0.3 kB
          Christian Kandeler
        3. error1.png
          135 kB
          liang jian
        4. error2.png
          107 kB
          liang jian
        5. error3.png
          43 kB
          liang jian
        6. error4.png
          32 kB
          liang jian
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            kandeler Christian Kandeler
            nagrohn Nahomi Gröhn (Inactive)
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes