[PATCH] Added CXXMethodDecl matcher isPureVirtual()

Manuel Klimek klimek at google.com
Sun Feb 23 11:43:21 PST 2014


Can a method be pure without being virtual?


On Fri, Feb 21, 2014 at 5:30 PM, Dmitri Gribenko <gribozavr at gmail.com>wrote:

> On Fri, Feb 21, 2014 at 4:24 PM, Konrad Kleine
> <konrad.wilhelm.kleine at gmail.com> wrote:
> > Hi,
> >
> > I've added a new CXXMethodDecl matcher: isPureVirtual().
>
> + Manuel
>
> --
> main(i,j){for(i=2;;i++){for(j=2;j<i;j++){if(!(i%j)){j=0;break;}}if
> (j){printf("%d\n",i);}}} /*Dmitri Gribenko <gribozavr at gmail.com>*/
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20140223/8e34c4d6/attachment.html>


More information about the cfe-commits mailing list