unbreak the CBE on treeadd an many others.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@55112 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner 2008-08-21 05:51:43 +00:00
parent cbd56db62b
commit 1f0f37a742

View File

@ -773,9 +773,9 @@ void CWriter::printConstantArray(ConstantArray *CPA, bool Static) {
if (isprint(C) && (!LastWasHex || !isxdigit(C))) {
LastWasHex = false;
if (C == '"' || C == '\\')
Out << "\\" << C;
Out << "\\" << (char)C;
else
Out << C;
Out << (char)C;
} else {
LastWasHex = false;
switch (C) {