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

Find Usages doesn't consider template instantiations

    XMLWordPrintable

Details

    Description

      struct Foo
      {
          static void foo() {}
      };
      
      template<class T>
      void doFoo()
      {
          T::foo();
      }
      
      int main()
      {
          doFoo<Foo>();
          return 0;
      }

      Find Usages on foo() should find the usages in doFoo().

      In case there is also a struct Bar with foo() which doFoo is instantiated with, both should be found on every foo lookup.

      Attachments

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

        Activity

          People

            kandeler Christian Kandeler
            orgads Orgad Shaneh
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes