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