[PATCH] clang-tidy docs

Aaron Ballman aaron at aaronballman.com
Thu Jul 23 10:49:22 PDT 2015


This patch addresses two issues (I can split the patch if it is desired):

1) The docs have some non-ASCII characters in them that aren't really required.
2) The docs suggest setting the checks using single quotes, which does
not work (at least, on Windows).

When you specify checks like -checks='-*,misc-some-check', the single
quotes are not stripped by the option parser. When converting the
flags into globs to pass along to regex, the single quotes remain as
part of the regular expression, and do not match appropriately. When
the single quotes are left off, the globs are correctly generated.

~Aaron
-------------- next part --------------
A non-text attachment was scrubbed...
Name: clang-tidy.rst.patch
Type: application/octet-stream
Size: 3343 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20150723/c7087278/attachment.obj>


More information about the cfe-commits mailing list