summaryrefslogtreecommitdiffstats
path: root/llvm/utils/TableGen/TGSourceMgr.cpp
diff options
context:
space:
mode:
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