There is a regression from https://reviews.llvm.org/D68467. Unlike class
forward declarations, function ducomentation is written in the declaration in
headers, the function definition doesn't contain any documentation, cases like:
foo.h
// this is foo.
void foo();
foo.cc
void foo() {}we should still show documentation from the foo declaration.
NIT: || Kind == Union
I guess it's not very common, though