The google-runtime-int check currently fires on calls like:
printf("%lu", (unsigned long)foo);
However, the style guide says:
Where possible, avoid passing arguments of types specified by
bitwidth typedefs to printf-based APIs.
http://google.github.io/styleguide/cppguide.html#64-bit_Portability
This diff relaxes the check to not fire on parameters to functions
with the __format__ attribute. (I didn't specifically check
for __printf__ since there are a few variations.)
Test Plan: New tests added. Ran tests with:
% make -j16 check-clang-tools