Revert r237339 as sanitizer-ppc64-linux1 does not like it.
authorYaron Keren <yaron.keren@gmail.com>
Thu, 14 May 2015 06:53:31 +0000 (06:53 +0000)
committerYaron Keren <yaron.keren@gmail.com>
Thu, 14 May 2015 06:53:31 +0000 (06:53 +0000)
commit129dfbff4aeea59f4c3f8679579b68586236f3bc
treed1e439a9c9fb2632ea3a2c353dc729562853f7bb
parent1a9ca774b687ebae352d8795e5a3603605408580
Revert r237339 as sanitizer-ppc64-linux1 does not like it.
Complains:

/home/buildbots/sanitizerslave1/sanitizer-ppc64-1/build/llvm/tools/clang/tools/c-index-test/c-index-test.c:829:30: error: format specifies type 'long' but the argument has type 'long long' [-Werror,-Wformat]
                     I, TAK, clang_Cursor_getTemplateArgumentValue(Cursor, I));
                             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

I'm not sure now how this should be fixed. %lld is non-standard
and not accepted by mingw on Windows while PRId64 is bad for this bot.

Is long long longer than 64 bits here? if not, why is PRId64
incompatible with it? something seems wrong.

Probably all the datatypes should be replaced to unsigned or uint64_t
depending upin requirements instead of the non standard long long.

llvm-svn: 237346
clang/tools/c-index-test/c-index-test.c