[libc-commits] [libc] [libc][NFC] clean up printf_core and scanf_core (PR #74535)
via libc-commits
libc-commits at lists.llvm.org
Tue Dec 5 15:28:20 PST 2023
michaelrj-google wrote:
I don't know if we have an official ruling in our style guide. My opinion is that `int` is good for situations where I don't really care how wide the integer is (e.g. a loop counter). I use `int32_t` when I actually care about the exact width. I also never use `long` if I don't have to, since it's sometimes the same as `int` and sometimes the same as `long long`.
https://github.com/llvm/llvm-project/pull/74535
More information about the libc-commits
mailing list