[PATCH] D41740: [clang-tidy] Adding a new bugprone check for streaming objects of type int8_t or uint8_t
Barry Revzin via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Fri Jan 5 10:10:53 PST 2018
BRevzin marked an inline comment as done.
BRevzin added a comment.
In https://reviews.llvm.org/D41740#968134, @JonasToth wrote:
> Could you please add a test case with a template that reduces the type to int8 or uint8?
I don't actually know how to do that. I tried a few things, but getting the type of the expression through a template gets me directly to `unsigned char`, not to `uint8_t`.
More information about the cfe-commits