Details
-
Bug
-
Resolution: Done
-
P3: Somewhat important
-
Qt Creator 2.3.0-beta
-
None
-
80a3caa39626f3d57079e300008afda4a897dd6d
Description
Consider the following example taken from QTCREATORBUG-1175. The values lalala, lululu and lilili are not colored in purple, and are not shown in autocomplete.
Moving the enum declaration outside the function resolves this.
int main(int argc, char* argv[]) { enum Status { lalala, lululu, lilili }; Status status = lalala; printf("%d", status); }
Attachments
Issue Links
- relates to
-
QTCREATORBUG-3620 C++: Parsing of classes nested in functions is broken
- Closed
For Gerrit Dashboard: QTCREATORBUG-5456 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
76170,2 | CppTools: Add tests for nested enums | master | qt-creator/qt-creator | Status: MERGED | +2 | 0 |