Support for ObjC/C ODR-like semantics with structural equivalence checking was added back in r306918. There enums are handled and also checked for structural equivalence. However, at use time of EnumConstantDecl, support was missing for preventing ambiguous name lookup.
Add the missing bits for properly merging EnumConstantDecl.
rdar://problem/38374569
I think this comment would benefit from more rewriting, since we've basically decided that we do want to apply the ODR merging rule to C.