documentation parsing: patch to make @class work for
class templates; and similarly, @function  works for
function templates. // rdar://14124702