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

improve handling of typedef'd anonymous structs

    XMLWordPrintable

Details

    • 0fab5956ea (qt-creator/qt-creator/master) 0fab5956ea (qt-creator/qt-creator/9.0)

    Description

      suppose this code:

      typedef struct {
      	int len;
      } s_t;
      

      then finding usages of the len member produces somewhat unhelpful search identifiers like "Anonymous:113::len". that pattern is technically correct, but we could do much better: the declaration is uniquely typedef'd in place, so we could use that as the identifier instead.

      Attachments

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

        Activity

          People

            kandeler Christian Kandeler
            buddenha Oswald Buddenhagen
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes