projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
29d62be
)
Fix typo.
author
David Greene
<greened@obbligato.org>
Tue, 4 Sep 2007 17:00:44 +0000
(17:00 +0000)
committer
David Greene
<greened@obbligato.org>
Tue, 4 Sep 2007 17:00:44 +0000
(17:00 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@41702
91177308
-0d34-0410-b5e6-
96231b3b80d8
tools/llvm2cpp/CppWriter.cpp
patch
|
blob
|
history
diff --git
a/tools/llvm2cpp/CppWriter.cpp
b/tools/llvm2cpp/CppWriter.cpp
index a481372cc3acf0f8eb65d227b1f27d812531cbf8..077333956a42940be27209a0445c696bbabcedc0 100644
(file)
--- a/
tools/llvm2cpp/CppWriter.cpp
+++ b/
tools/llvm2cpp/CppWriter.cpp
@@
-788,7
+788,7
@@
void CppWriter::printConstant(const Constant *CV) {
<< " = ConstantExpr::getGetElementPtr("
<< getCppName(CE->getOperand(0)) << ", "
<< constName << "_indices.begin(), "
- << constName << "_indices.end()
,
"
+ << constName << "_indices.end()"
<< " );";
} else if (CE->isCast()) {
printConstant(CE->getOperand(0));