[PATCH] D125429: Comment parsing: Allow inline commands to have 0 or more than 1 argument
Dmitri Gribenko via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Thu May 12 04:22:14 PDT 2022
gribozavr2 accepted this revision.
gribozavr2 added inline comments.
This revision is now accepted and ready to land.
================
Comment at: clang/include/clang/AST/CommentCommands.td:93
+def N : InlineCommand<"n", 0>;
+
----------------
Could you add a test that shows that the text after \n is not treated as the argument?
You could verify the comment AST like here: llvm-project/clang/test/AST/ast-dump-comment.cpp
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D125429/new/
https://reviews.llvm.org/D125429
More information about the cfe-commits
mailing list