Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-955 Fix template expansion
  3. QTCREATORBUG-1912

List of function signatures is duplicated for templates.

    XMLWordPrintable

Details

    Description

      Creator lists both the signature as it is written in the declaration AND also the instantiated version.
      Example:
      You have:
      QMap<int, int> map;
      Now type "map.find(". There are two possible signatures, but Creator lists four: One set where the argument is "const Key &" (taken verbatim from the declaration) and one set where it's "const int &" (i.e. with the generic type already replaced with the concrete one).

      I don't see why the first one would be needed when Creator has already deduced the correct type.

      Attachments

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

        Activity

          People

            erikv Erik Verbruggen
            kandeler Christian Kandeler
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes