summaryrefslogtreecommitdiffstats
path: root/llvm/utils/TableGen/TGSourceMgr.cpp
diff options
context:
space:
mode:
authorJim Grosbach <grosbach@apple.com>2009-03-26 16:17:51 +0000
committerJim Grosbach <grosbach@apple.com>2009-03-26 16:17:51 +0000
commit975c1cb41a92884c587db3c5c4282870a6b5377d (patch)
tree51604704d74447cb608155079e19b37e2e569381 /llvm/utils/TableGen/TGSourceMgr.cpp
parentdd76524d76b75140c5685bcf57c34aa04eb4d9a3 (diff)
downloadbcm5719-llvm-975c1cb41a92884c587db3c5c4282870a6b5377d.tar.gz
bcm5719-llvm-975c1cb41a92884c587db3c5c4282870a6b5377d.zip
fix a few spelling errors and typos
llvm-svn: 67758
Diffstat (limited to 'llvm/utils/TableGen/TGSourceMgr.cpp')
-rw-r--r--llvm/utils/TableGen/TGSourceMgr.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/utils/TableGen/TGSourceMgr.cpp b/llvm/utils/TableGen/TGSourceMgr.cpp
index e4d1c40dc6c..42bc75246c9 100644
--- a/llvm/utils/TableGen/TGSourceMgr.cpp
+++ b/llvm/utils/TableGen/TGSourceMgr.cpp
@@ -98,7 +98,7 @@ void TGSourceMgr::PrintError(TGLoc ErrorLoc, const std::string &Msg) const {
++LineEnd;
// Print out the line.
OS << std::string(LineStart, LineEnd) << "\n";
- // Print out spaces before the carat.
+ // Print out spaces before the caret.
for (const char *Pos = LineStart; Pos != ErrorLoc.getPointer(); ++Pos)
OS << (*Pos == '\t' ? '\t' : ' ');
OS << "^\n";
OpenPOWER on IntegriCloud