OSDN Git Service
(root)
/
android-x86
/
external-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d94aa40
)
do not sign extend characters input to isprint. This improves
author
Chris Lattner
<sabre@nondot.org>
Thu, 22 Jan 2009 23:38:45 +0000
(23:38 +0000)
committer
Chris Lattner
<sabre@nondot.org>
Thu, 22 Jan 2009 23:38:45 +0000
(23:38 +0000)
compatibility with VC++. Patch by Max Burke!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@62813
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/CodeGen/AsmPrinter/AsmPrinter.cpp
patch
|
blob
|
history
diff --git
a/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
b/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
index
5085fd4
..
50cd24b
100644
(file)
--- a/
lib/CodeGen/AsmPrinter/AsmPrinter.cpp
+++ b/
lib/CodeGen/AsmPrinter/AsmPrinter.cpp
@@
-681,7
+681,7
@@
static void printStringChar(raw_ostream &O, char C) {
O << "\\\"";
} else if (C == '\\') {
O << "\\\\";
- } else if (isprint(C)) {
+ } else if (isprint(
(unsigned char)
C)) {
O << C;
} else {
switch(C) {