fix a few spelling errors and typos
llvm-svn: 67758
diff --git a/llvm/utils/TableGen/TGSourceMgr.cpp b/llvm/utils/TableGen/TGSourceMgr.cpp
index e4d1c40..42bc752 100644
--- a/llvm/utils/TableGen/TGSourceMgr.cpp
+++ b/llvm/utils/TableGen/TGSourceMgr.cpp
@@ -98,7 +98,7 @@
++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";