[PATCH] D64696: Adds a warning when an inline Doxygen comment has no argument

Mark de Wever via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Jul 23 11:32:13 PDT 2019


Mordante marked 2 inline comments as done.
Mordante added a comment.

All inline commands defined in include/clang/AST/CommentCommands.td require an argument. The escape commands, like \&, are handled in the switch starting at lib/AST/CommentLexer.cpp:366. They are stored as Text and not as an InlineCommand.

If you want I can add an extra field in the Command class in include/clang/AST/CommentCommands.td. Something like `bit IsEmptyInlineCommandAllowed = 0;`.


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

https://reviews.llvm.org/D64696





More information about the cfe-commits mailing list