Details
-
Bug
-
Resolution: Done
-
P3: Somewhat important
-
Qt Creator 4.4.0-beta1
Description
enum EnumType { EnumValue }; EnumType v = EnumType::EnumValue; // Fine EnumType v2 = EnumType::EnumValue; // Fine struct X { enum EnumType { EnumValue }; EnumType v = EnumType::EnumValue; // Ops, "EnumValue" has type color EnumType v2 = EnumValue; // Ops, "EnumValue" has type color };
Same problem with Qt Creator build against current llvm/clang trunk.
Attachments
Issue Links
- is duplicated by
-
QTCREATORBUG-18687 Clang: Local use selections fails for initializer in class scope
- Closed
- links to
For Gerrit Dashboard: QTCREATORBUG-18535 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
226504,5 | Clang: Require LLVM/Clang >= 6.0.0 | 4.7 | qt-creator/qt-creator | Status: MERGED | -2 | 0 |