[PATCH] D55561: Stop stripping comments from AST matcher example code
Aaron Ballman via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Tue Dec 11 09:19:13 PST 2018
aaron.ballman created this revision.
aaron.ballman added reviewers: JonasToth, klimek.
The AST matcher documentation dumping script was being a bit over-zealous about stripping comment markers, which ended up causing comments in example code to stop being comments. This patch fixes that by only stripping comments at the start of a line, rather than removing any forward slash (which also impacts prose text).
As a drive-by, this fixes a broken doxygen comment marker as well.
https://reviews.llvm.org/D55561
Files:
docs/LibASTMatchersReference.html
docs/tools/dump_ast_matchers.py
include/clang/ASTMatchers/ASTMatchers.h
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D55561.177730.patch
Type: text/x-patch
Size: 13978 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20181211/4a19334b/attachment-0001.bin>
More information about the cfe-commits
mailing list