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

Follow Symbol has strange behavior with an overloaded function

    XMLWordPrintable

Details

    • 151899b1b8a046d9c3c31d229519a2f430f1e514

    Description

      struct Foo
      {
      protected:
          void foo(int); // 1
          void foo() {} // 2
      };
      
      void Foo::foo(int) {} // 3
      • F2 on [2] jumps to [1] (wrong)
      • F2 on [1] jumps to [3] (expected)
      • F2 on [3] jumps to [1] (expected)

      If the declaration is in the header and the definition in the cpp file, F2 (and even Shift-F2) on [1] jumps to [2].

      Attachments

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

        Activity

          People

            orgads Orgad Shaneh
            orgads Orgad Shaneh
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes