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

No highlighting and completion for anonymous unions

    XMLWordPrintable

Details

    • 376f77952e9c579043a26fcd6be33baed9fd1610

    Description

      struct Foo
      {
          union
          {
              unsigned char All;
              struct
              {
                  unsigned A : 1;
                  unsigned B : 1;
                  unsigned C : 1;
              } Bits;
          };
      
          void func()
          {
              Bits.A = 1; // Not highlighted
          }
      };

      Attachments

        Issue Links

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

          Activity

            People

              kosjar Nikolai Kosjar
              orgads Orgad Shaneh
              Votes:
              1 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes