This patch addresses PR13128, which points out that the scoped enum
constant name lookup still causes errors when conflicting with the
class name.  Due to it being a scoped enum, the name is looked up in
scope, and so the class name doesn't provide a conflict with the
following example:

class C {
  enum class E { C };
};

~Aaron

Attachment: scopedenum.patch
Description: Binary data

_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to