-
Bug
-
Resolution: Fixed
-
P3: Somewhat important
-
Qt Creator 4.7.0, Qt Creator 4.8.0-beta1, Qt Creator 13.0.0-beta1
-
-
248d44c98 (master)
Steps:
- create a C project
- create file.h, in which you define a C struct, without typedef and a function prototype which has this c struct passed as pointer
- create corresponding file.c
- go to the header, and right click to add your function in file.c
- you'll see that it is missing "struct" keyword.
- is duplicated by
-
QTCREATORBUG-21092 Add Function Definition leaves out "struct" for C files
-
- Closed
-
| For Gerrit Dashboard: QTCREATORBUG-20838 | ||||||
|---|---|---|---|---|---|---|
| # | Subject | Branch | Project | Status | CR | V |
| 688277,3 | CppEditor: Add "struct" when spelling out struct types in C files | master | qt-creator/qt-creator | Status: MERGED | +2 | +1 |