summaryrefslogtreecommitdiffstats
path: root/lldb/source/Plugins/ExpressionParser/Go/GoUserExpression.cpp
diff options
context:
space:
mode:
authorEd Maste <emaste@freebsd.org>2016-07-19 15:28:02 +0000
committerEd Maste <emaste@freebsd.org>2016-07-19 15:28:02 +0000
commit75500e72bb9db4451e4ecd19f4d47cfa6f394239 (patch)
tree78eaf17f283b1daff95ca33baf937e51ac518216 /lldb/source/Plugins/ExpressionParser/Go/GoUserExpression.cpp
parent83cc0622ec53fe0c2fed6aa56566411a44935314 (diff)
downloadbcm5719-llvm-75500e72bb9db4451e4ecd19f4d47cfa6f394239.tar.gz
bcm5719-llvm-75500e72bb9db4451e4ecd19f4d47cfa6f394239.zip
Typo corrections identified by codespell
Submitted by giffunip@yahoo.com; I fixed a couple of nearby errors and incorrect changes in the patch. llvm.org/pr27634 llvm-svn: 275983
Diffstat (limited to 'lldb/source/Plugins/ExpressionParser/Go/GoUserExpression.cpp')
-rw-r--r--lldb/source/Plugins/ExpressionParser/Go/GoUserExpression.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/lldb/source/Plugins/ExpressionParser/Go/GoUserExpression.cpp b/lldb/source/Plugins/ExpressionParser/Go/GoUserExpression.cpp
index f69c3e23457..5ec8662172c 100644
--- a/lldb/source/Plugins/ExpressionParser/Go/GoUserExpression.cpp
+++ b/lldb/source/Plugins/ExpressionParser/Go/GoUserExpression.cpp
@@ -413,7 +413,7 @@ GoUserExpression::GoInterpreter::VisitIdent(const GoASTIdent *e)
type.append("float");
break;
default:
- m_error.SetErrorString("Invaild register encoding");
+ m_error.SetErrorString("Invalid register encoding");
return nullptr;
}
switch (reg->byte_size)
@@ -431,7 +431,7 @@ GoUserExpression::GoInterpreter::VisitIdent(const GoASTIdent *e)
type.append("8");
break;
default:
- m_error.SetErrorString("Invaild register size");
+ m_error.SetErrorString("Invalid register size");
return nullptr;
}
ValueObjectSP regVal =
@@ -443,7 +443,7 @@ GoUserExpression::GoInterpreter::VisitIdent(const GoASTIdent *e)
return regVal;
}
}
- m_error.SetErrorString("Invaild register name");
+ m_error.SetErrorString("Invalid register name");
return nullptr;
}
VariableListSP var_list_sp(m_frame->GetInScopeVariableList(false));
OpenPOWER on IntegriCloud