[PATCH] clang-tidy docs

Manuel Klimek klimek at google.com
Fri Jul 24 05:32:44 PDT 2015


Seems like we need different instructions for different shells then :(
The problem is that otherwise the -*... can be subject to shell expansion
if it happens to match some files.


On Thu, Jul 23, 2015 at 7:49 PM Aaron Ballman <aaron at aaronballman.com>
wrote:

> 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 --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20150724/3ff4cb69/attachment.html>


More information about the cfe-commits mailing list