[PATCH] D130894: [clang] Print more information about failed static assertions
Timm Bäder via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Wed Aug 3 21:58:03 PDT 2022
tbaeder marked 4 inline comments as done.
tbaeder added a comment.
> +1 to the suggestion to use quotes for a bit of visual distinction between the diagnostic message and the code embedded within it.
One problem is that both the integer value `0` and the character constant `'0'` are printed as `'0'` (same for all other single-digit numbers). gcc's output doesn't have that problem because it prints chars as integers, but I don't really like that.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D130894/new/
https://reviews.llvm.org/D130894
More information about the cfe-commits
mailing list