[modules] Don't diagnose "redefinition" of a friend with a pending definition
authorRichard Smith <richard-llvm@metafoo.co.uk>
Thu, 1 Mar 2018 22:20:13 +0000 (22:20 +0000)
committerRichard Smith <richard-llvm@metafoo.co.uk>
Thu, 1 Mar 2018 22:20:13 +0000 (22:20 +0000)
commit05ce1d3944394be8bba20d50c8da77ff3a1b657e
tree9bef8c8995d1b7bdfd3f99adef830e82b5248373
parenteedfbc4ab7df2b9ddeb0674e8ef75c3cac550384
[modules] Don't diagnose "redefinition" of a friend with a pending definition
if the other definition is a merged copy of the same function.

llvm-svn: 326496
clang/lib/Sema/SemaDecl.cpp
clang/test/Modules/friend-definition.cpp [new file with mode: 0644]