Comment parsing: Treat \ref as inline command
authorAaron Puchert <aaron.puchert@sap.com>
Thu, 5 Mar 2020 18:24:28 +0000 (19:24 +0100)
committerAaron Puchert <aaron.puchert@sap.com>
Thu, 5 Mar 2020 18:44:34 +0000 (19:44 +0100)
commitf23df1b2a323094e5a6869ef085f100fd065bc0d
treeac458f30a356906dd9d4abdaa0b1c4de9b69eb3e
parent85c0b34fc5a5e19dee4b5055eaafbb1c2589c233
Comment parsing: Treat \ref as inline command

Summary:
It's basically Doxygen's version of a link and can happen anywhere
inside of a paragraph. Fixes a bogus warning about empty paragraphs when
a parameter description starts with a link.

Reviewers: gribozavr2

Reviewed By: gribozavr2

Differential Revision: https://reviews.llvm.org/D75632
clang/include/clang/AST/CommentCommands.td
clang/test/Sema/warn-documentation.cpp