]> granicus.if.org Git - clang/commit
StmtPrinter: Write large char values using \u or \U.
authorJordan Rose <jordan_rose@apple.com>
Fri, 8 Feb 2013 22:30:27 +0000 (22:30 +0000)
committerJordan Rose <jordan_rose@apple.com>
Fri, 8 Feb 2013 22:30:27 +0000 (22:30 +0000)
commit6d4f73498cf014b002e72368f1c80b6b0a0785f0
treea5d04d8202976d9b8fd38ce9c665adb6326ed34d
parent9893902eceba7f01dd1521349d33866f77254d78
StmtPrinter: Write large char values using \u or \U.

This may not always be valid, but we were previously just
emitting them raw.

While here, s/isprint/isPrintable/ (using the new CharInfo).

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@174766 91177308-0d34-0410-b5e6-96231b3b80d8
lib/AST/StmtPrinter.cpp
test/Misc/integer-literal-printing.cpp