-
Bug
-
Resolution: Done
-
P3: Somewhat important
-
Qt Creator 4.15.0-beta1
-
None
-
-
a995a4633fe3162d8756e50134e7ec2c53afc763 (qt-creator/qt-creator/4.15)
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.
| For Gerrit Dashboard: QTCREATORBUG-25390 | ||||||
|---|---|---|---|---|---|---|
| # | Subject | Branch | Project | Status | CR | V |
| 336468,2 | CPlusPlus: Do not mis-classify bitfield declarations as initializations | 4.15 | qt-creator/qt-creator | Status: MERGED | +2 | 0 |