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

improve handling of typedef'd anonymous structs

    XMLWordPrintable

    Details

    • Type: Suggestion
    • Status: Reported
    • Priority: Not Evaluated
    • Resolution: Unresolved
    • Affects Version/s: Qt Creator 6.0.0-rc1
    • Fix Version/s: None
    • Component/s: C/C++/Obj-C++ Support
    • Labels:
      None

      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

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

              Dates

              Created:
              Updated:

                Gerrit Reviews

                There are no open Gerrit changes