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

[modules] When determining whether a name from a module replaces a name we

already have, check whether the name from the module is actually newer than the
existing declaration. If it isn't, we might (say) replace a visible declaration
with an injected friend, and thus make it invisible (or lose a default argument
or an array bound).

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