<div dir="ltr"><div>I don't feel that it would be intuitive. I can see the logic behind the behavior you're describing, but I still feel that an assertion would be the way to go.</div><div>(But of course this is very subjective.)</div>
</div><div class="gmail_extra"><br><br><div class="gmail_quote">2013/5/21 Vane, Edwin <span dir="ltr"><<a href="mailto:edwin.vane@intel.com" target="_blank">edwin.vane@intel.com</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="im"><br>
> -----Original Message-----<br>
> From: Gábor Kozár [mailto:<a href="mailto:kozargabor@gmail.com">kozargabor@gmail.com</a>]<br>
> Sent: Tuesday, May 21, 2013 1:35 PM<br>
> To: Vane, Edwin<br>
> Cc: Clang Dev List (<a href="mailto:cfe-dev@cs.uiuc.edu">cfe-dev@cs.uiuc.edu</a>)<br>
> Subject: Re: [cfe-dev] RFC: What does this matcher mean to you?<br>
><br>
> I would expect it the equalsBoundNode("declType") to either:<br>
><br>
> - raise an error (assertion failure or exception) or<br>
> - check all nodes bound to "declType", and return true if any of them is equal<br>
<br>
</div>An assertion instead of just not matching anything?<br>
<br>
</blockquote></div><br></div>