aboutsummaryrefslogtreecommitdiff
path: root/tools/llvm2cpp
diff options
context:
space:
mode:
authorDavid Greene <greened@obbligato.org>2007-09-04 17:00:44 +0000
committerDavid Greene <greened@obbligato.org>2007-09-04 17:00:44 +0000
commitf0e856077c7307679ece7fa5f6dee6ce12e03ec2 (patch)
treecb8a38d2fb69ca847c876f53046e4632f1c0caac /tools/llvm2cpp
parent29d62bebd91fbd8a79996c3983dcd567c30c112c (diff)
Fix typo.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@41702 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/llvm2cpp')
-rw-r--r--tools/llvm2cpp/CppWriter.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/llvm2cpp/CppWriter.cpp b/tools/llvm2cpp/CppWriter.cpp
index a481372cc3..077333956a 100644
--- 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));