commit | e8292b10a61adc03a8c0a3be47d3e39e0aa29b64 | [log] [tgz] |
---|---|---|
author | Richard Smith <richard-llvm@metafoo.co.uk> | Tue Feb 10 03:28:10 2015 +0000 |
committer | Richard Smith <richard-llvm@metafoo.co.uk> | Tue Feb 10 03:28:10 2015 +0000 |
tree | 223e8c3ae1aaa04b6f8c33b8d3940a1406a5533a | |
parent | c11b101fb64c621e6bc1a36904bc775ce6202beb [diff] |
[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