[patch] Don't let a friend declaration kill the definition of an inline function

Hi,

the attached patch fixes http://llvm.org/pr8789

The chromium clang waterfall is currently red because of this issue.

Thanks,
Nico

clang.patch (1.5 KB)