<div dir="ltr">Here's the Differential in phabricator: <a href="http://llvm-reviews.chandlerc.com/D2865">http://llvm-reviews.chandlerc.com/D2865</a> I hope you don't mind that I've added you both (Manuel and Dimitri) as reviewers. <br>
</div><div class="gmail_extra"><br><br><div class="gmail_quote">2014-02-24 10:03 GMT+01:00 Konrad Kleine <span dir="ltr"><<a href="mailto:konrad.wilhelm.kleine@gmail.com" target="_blank">konrad.wilhelm.kleine@gmail.com</a>></span>:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>Hi Manuel,<br><br>you're right. A method cannot be pure without being virtual. I think it is safe to remove the Node.isVirtual() call and change the matcher to "isPure". I'll try create a phabricator diff for this.<br>

<br></div>Thank you so far for the review.<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">2014-02-23 20:43 GMT+01:00 Manuel Klimek <span dir="ltr"><<a href="mailto:klimek@google.com" target="_blank">klimek@google.com</a>></span>:<div>
<div class="h5"><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Can a method be pure without being virtual?</div><div><div><div class="gmail_extra">
<br><br><div class="gmail_quote">On Fri, Feb 21, 2014 at 5:30 PM, Dmitri Gribenko <span dir="ltr"><<a href="mailto:gribozavr@gmail.com" target="_blank">gribozavr@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div>On Fri, Feb 21, 2014 at 4:24 PM, Konrad Kleine<br>
<<a href="mailto:konrad.wilhelm.kleine@gmail.com" target="_blank">konrad.wilhelm.kleine@gmail.com</a>> wrote:<br>
> Hi,<br>
><br>
> I've added a new CXXMethodDecl matcher: isPureVirtual().<br>
<br>
</div>+ Manuel<br>
<span><font color="#888888"><br>
--<br>
main(i,j){for(i=2;;i++){for(j=2;j<i;j++){if(!(i%j)){j=0;break;}}if<br>
(j){printf("%d\n",i);}}} /*Dmitri Gribenko <<a href="mailto:gribozavr@gmail.com" target="_blank">gribozavr@gmail.com</a>>*/<br>
</font></span></blockquote></div><br></div>
</div></div></blockquote></div></div></div><br></div>
</blockquote></div><br></div>