projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cbd56db
)
unbreak the CBE on treeadd an many others.
author
Chris Lattner
<sabre@nondot.org>
Thu, 21 Aug 2008 05:51:43 +0000
(
05:51
+0000)
committer
Chris Lattner
<sabre@nondot.org>
Thu, 21 Aug 2008 05:51:43 +0000
(
05:51
+0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@55112
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Target/CBackend/CBackend.cpp
patch
|
blob
|
history
diff --git
a/lib/Target/CBackend/CBackend.cpp
b/lib/Target/CBackend/CBackend.cpp
index f3de1906cd5f9ac0faa22292b128341ca2f695b0..456bda34e733b8aee7d44631282bc67c3105dfb0 100644
(file)
--- a/
lib/Target/CBackend/CBackend.cpp
+++ b/
lib/Target/CBackend/CBackend.cpp
@@
-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) {