[cfe-dev] python bindings
Dmitri Gribenko
gribozavr at gmail.com
Fri Feb 22 12:08:48 PST 2013
On Fri, Feb 22, 2013 at 10:00 PM, Sam Price <thesamprice at gmail.com> wrote:
> Little lost on how to add the unit tests for this feature.
> I opened up tools/c-index-test.c
> and looked for some similar examples
>
> clang_getArraySize
>
> clang_getArrayElementType
>
> However I didn't see these calls in the c-index-test.c file.
Unfortunately, it looks like there are no tests for these :(
Patches welcome!
> Am I looking at the right place? Can you provide me with an comparable unit
> test to mimic?
Please take a look at the PrintType() function. Just print one more
chunk of information there.
Dmitri
--
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>*/
More information about the cfe-dev
mailing list