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

Clang: Unresolved type is highlighted as local variable

    XMLWordPrintable

Details

    Description

      Tho visualize the issue better, local variables are orange - see attached screenshot.

      class Foo{};
      int main()
      {
          Foo foo; // OK, "Foo" highlighted as type, "foo" as local variable
          Ops ops; // Ops, "Ops" and "ops" highlighted as local variable
      }
      

      Attachments

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

        Activity

          People

            kosjar Nikolai Kosjar
            kosjar Nikolai Kosjar
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes