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

Clang: Local use selections fails for initializer in class scope

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P3: Somewhat important P3: Somewhat important
    • None
    • Qt Creator 4.4.0-rc1
    • C/C++/Obj-C++ Support

      struct Foo {};
      struct FooClient { FooClient(const Foo &) {} };
      
      void c()
      {
          Foo foo;
          FooClient fooClient{foo}; // OK - cursor on "foo" will highlight the one from above, too
      }
      
      struct SomeClass
      {
          Foo foo;
          FooClient fooClient{foo}; // Ops - cursor on "foo" will *not* highlight the one above
      };
      

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

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes