[PATCH] D155610: [Clang][ExprConstant] Print integer instead of character on static assertion failure
Takuya Shimizu via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Thu Aug 3 03:06:11 PDT 2023
hazohelet updated this revision to Diff 546782.
hazohelet added a comment.
Address comments from Corentin
- Use default `pushEscapedString` escaping (`<U+0001>`) instead of UCN representation `\u0001`
- Convert multi-byte characters (`wchar_t`, `char16_t`, `char32_t`) to UTF-8 and prints them.
- Added `CharToString` utility function
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D155610/new/
https://reviews.llvm.org/D155610
Files:
clang/docs/ReleaseNotes.rst
clang/lib/Sema/SemaDeclCXX.cpp
clang/test/Lexer/cxx1z-trigraphs.cpp
clang/test/SemaCXX/static-assert-cxx26.cpp
clang/test/SemaCXX/static-assert.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D155610.546782.patch
Type: text/x-patch
Size: 9459 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20230803/75a559b0/attachment.bin>
More information about the cfe-commits
mailing list