For tag typedefs like this one:
/*! @class Foo */ typedef class { } Foo;
clang with -Wdocumentation gives:
warning: '@class' command should not be used in a comment attached to a non-struct declaration [-Wdocumentation]
while doxygen seems fine with it.
There's @typedef command in doxygen but from the description its semantics seem different.
http://www.doxygen.nl/manual/commands.html#cmdtypedef
@struct and @class seem appropriate.
http://www.doxygen.nl/manual/commands.html#cmdstruct
rdar://problem/58960486
nit: dyn_cast_or_null on the next line and delete this?