[Modules] Handle ObjC/C ODR-like semantics for EnumConstantDecl
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
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@331232
91177308-0d34-0410-b5e6-
96231b3b80d8