aboutsummaryrefslogtreecommitdiffstats
path: root/tools
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
commit6238f49fe4c29a19589519583a0358a3c9a2056c (patch)
treecb8a38d2fb69ca847c876f53046e4632f1c0caac /tools
parent12ca0efdc01e0270f149a377b696f45b0e0e976e (diff)
downloadexternal_llvm-6238f49fe4c29a19589519583a0358a3c9a2056c.zip
external_llvm-6238f49fe4c29a19589519583a0358a3c9a2056c.tar.gz
external_llvm-6238f49fe4c29a19589519583a0358a3c9a2056c.tar.bz2
Fix typo.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@41702 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools')
-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 a481372..0773339 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));