<div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Feb 22, 2016 at 4:19 PM, Aaron Ballman <span dir="ltr"><<a href="mailto:aaron@aaronballman.com" target="_blank" class="cremed">aaron@aaronballman.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On Mon, Feb 22, 2016 at 4:13 PM, Samuel Benzaquen via cfe-commits<br>
<<a href="mailto:cfe-commits@lists.llvm.org" class="cremed">cfe-commits@lists.llvm.org</a>> wrote:<br>
> Author: sbenza<br>
> Date: Mon Feb 22 15:13:02 2016<br>
> New Revision: 261574<br>
><br>
> URL: <a href="http://llvm.org/viewvc/llvm-project?rev=261574&view=rev" rel="noreferrer" target="_blank" class="cremed">http://llvm.org/viewvc/llvm-project?rev=261574&view=rev</a><br>
> Log:<br>
> [ASTMatchers] Add matcher hasAnyName.<br>
><br>
> Summary: Add matcher hasAnyName as an optimization over anyOf(hasName(),...)<br>
<br>
Does this mean we can get a clang-tidy check to convert<br>
anyOf(hasName(), ...) into hasAnyName()? ;-)<br>
<br>
~Aaron<br></blockquote><div><br></div><div>I would be simple, but I don't think it the cost/benefit is there. =)<br></div><div>I changed all the checks manually in 5 minutes.</div><div>I'll be sending that change soon.</div></div></div></div>