aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Format/WhitespaceManager.cpp
diff options
context:
space:
mode:
authorTakuya Shimizu <shimizu2486@gmail.com>2023-10-04 14:09:06 +0900
committerTakuya Shimizu <shimizu2486@gmail.com>2023-10-04 14:09:06 +0900
commit2176c5e510e3bfcbc75afb13e78d287141f239a7 (patch)
tree0c118b2217f0e8c240d373ddd44e5ac3a355d8ea /clang/lib/Format/WhitespaceManager.cpp
parent8641cdf397d86f33ac45e4c691ca4f843c359370 (diff)
downloadllvm-2176c5e510e3bfcbc75afb13e78d287141f239a7.zip
llvm-2176c5e510e3bfcbc75afb13e78d287141f239a7.tar.gz
llvm-2176c5e510e3bfcbc75afb13e78d287141f239a7.tar.bz2
[Clang][Sema] Fix display of characters on static assertion failure
This patch fixes the display of characters appearing in LHS or RHS of == expression in notes to static assertion failure. This applies C-style escape if the printed character is a special character. This also adds a numerical value displayed next to the character representation. This also tries to print multi-byte characters if the user-provided expression is multi-byte char type. Reviewed By: cor3ntin Differential Revision: https://reviews.llvm.org/D155610
Diffstat (limited to 'clang/lib/Format/WhitespaceManager.cpp')
0 files changed, 0 insertions, 0 deletions