Skip to content
Commit 26210db6 authored by Richard Smith's avatar Richard Smith
Browse files

[modules] Follow the C++ standard's rule for linkage of enumerators: they have

the linkage of the enumeration. For enumerators of unnamed enumerations, extend
the -Wmodules-ambiguous-internal-linkage extension to allow selecting an
arbitrary enumerator (but only if they all have the same value, otherwise it's
ambiguous).

llvm-svn: 253010
parent 4f823667
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment