<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><div><blockquote type="cite"><div><br><br>On May 8, 2013, at 5:37 AM, Dmitri Gribenko <<a href="mailto:gribozavr@gmail.com">gribozavr@gmail.com</a>> wrote:<br><br><blockquote type="cite">On Wed, May 8, 2013 at 9:43 AM, Seth Fowler <<a href="mailto:mark.seth.fowler@gmail.com">mark.seth.fowler@gmail.com</a>> wrote:<br><blockquote type="cite">One problem I've encountered is that there doesn't seem to be any way to determine if a method declaration is pure virtual (other than perhaps dropping to the token level). This information is readily available in the clang AST so it seems a shame not to expose it to libclang. Here's a patch to do just that.<br></blockquote><br>Hi Seth,<br><br>Please add a test.  You are already extending c-index-test to print<br>the relevant information.  Just add the relevant test cases (member<br>function, member function template) in a separate class in<br>test/Index/overrides.cpp.<br><br>Dmitri<br><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">gribozavr@gmail.com</a>>*/<br></blockquote><br></div></blockquote></div><br></div></body></html>