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

Find usages classifies bitfield declaration as write access

    XMLWordPrintable

    Details

    • Platform/s:
      All
    • Commits:
      a995a4633fe3162d8756e50134e7ec2c53afc763 (qt-creator/qt-creator/4.15)

      Description

      For the following snippet:

      typedef struct {
      	int bar: 1;
      } Foo;
      
      int main()
      {
      	Foo foo;
      	foo.bar = 1;
      	return foo.bar;
      } 

      the declaration `int bar: 1;` is classified as write access, while it should be declaration or other.

        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:
            aha_1980 André Hartmann
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes