Closed Bug 466522 Opened 16 years ago Closed 16 years ago

dehydra: .name of bitfield types is confusing

Categories

(Developer Infrastructure :: Source Code Analysis, defect)

x86
Linux
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: benjamin, Unassigned)

References

Details

In dehydra, the type object representing a bitfield `unsigned int:31` is confusing:

{
  name: 'unsigned int',
  bitfieldBits: 31
  ...
}

In most (all?) other cases, the .name of a type is unique within the translation unit... I think that the representation should be

{
  name: 'unsigned int:31',
  bitfieldBits: 31,
  ...
  subtypeOf: {
    name: 'unsigned int',
    ...
  }
}
that's a reasonable change
Blocks: 466700
Pushed as http://hg.mozilla.org/users/tglek_mozilla.com/dehydra-gcc/rev/dc058760e58c
Status: NEW → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
Product: Core → Firefox Build System
Product: Firefox Build System → Developer Infrastructure
You need to log in before you can comment on or make changes to this bug.