https://bugs.kde.org/show_bug.cgi?id=409041

Aaron Puchert <aaronpuch...@alice-dsl.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
     Ever confirmed|0                           |1
                 CC|                            |aaronpuch...@alice-dsl.net
             Status|REPORTED                    |CONFIRMED

--- Comment #2 from Aaron Puchert <aaronpuch...@alice-dsl.net> ---
I can reproduce this. When I hover over either of the bitmask members, it also
highlights the bitmask in u.bitmask. The tool tips show no "Container:",
probably because these are unnamed structs/unions. When I give them names,
everything is fine. So I assume something is wrong with our handling of unnamed
structs, probably because they seem to be represented by empty strings.

For example, `typedef struct {} tp;` is

|-RecordDecl 0x101d5e8 <<stdin>:1:9, col:17> col:9 struct definition
`-TypedefDecl 0x107a5f8 <col:1, col:19> col:19 tp 'struct tp':'tp'
  `-ElaboratedType 0x107a5a0 'struct tp' sugar
    `-RecordType 0x101d660 'tp'
      `-Record 0x101d5e8 ''

while `typedef struct X {} tp;` is

|-RecordDecl 0x109b5e8 <<stdin>:1:9, col:19> col:16 struct X definition
`-TypedefDecl 0x10f85b8 <col:1, col:21> col:21 tp 'struct X':'struct X'
  `-ElaboratedType 0x10f8560 'struct X' sugar
    `-RecordType 0x109b660 'struct X'
      `-Record 0x109b5e8 'X'

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to