Details
-
Type:
Bug
-
Status: Closed
-
Priority:
P3: Somewhat important
-
Resolution: Done
-
Affects Version/s: Qt Creator 4.15.0-beta1
-
Fix Version/s: Qt Creator 4.15.0-beta1
-
Component/s: C/C++/Obj-C++ Support
-
Labels:None
-
Platform/s:
-
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.