[PATCH] D98665: Correct Doxygen syntax for inline code

Aaron Puchert via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Mar 16 07:15:33 PDT 2021


aaronpuchert added a comment.

In D98665#2628851 <https://reviews.llvm.org/D98665#2628851>, @aaron.ballman wrote:

> LGTM! I wonder if this is something our `-Wdocumentation` should warn about?

Interestingly we warn about the opposite problem:

  /// @endcode
  int x;

produces "warning: '@endcode' command does not terminate a verbatim text block [-Wdocumentation]".

Maybe we're deliberately not doing this because it would be too annoying, not sure. Maybe @gribozavr2 knows that.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D98665/new/

https://reviews.llvm.org/D98665



More information about the cfe-commits mailing list