summaryrefslogtreecommitdiffstats
path: root/lldb/tools/lldb-mi/MICmdArgValFile.cpp
diff options
context:
space:
mode:
authorBruce Mitchener <bruce.mitchener@gmail.com>2015-07-03 13:45:34 +0000
committerBruce Mitchener <bruce.mitchener@gmail.com>2015-07-03 13:45:34 +0000
commit3b25b479bf8156ad340bec1e7ee287791bda240e (patch)
treefb94565838c794fe9e501a09c63f35b3b6289259 /lldb/tools/lldb-mi/MICmdArgValFile.cpp
parent34375d5a4b69c532eb75f1be5fe164b41ae98633 (diff)
downloadbcm5719-llvm-3b25b479bf8156ad340bec1e7ee287791bda240e.tar.gz
bcm5719-llvm-3b25b479bf8156ad340bec1e7ee287791bda240e.zip
Remove typedefs for MIchar, MIschar, MIuchar.
Summary: This is a start on bringing lldb-mi more in line with the typical LLDB coding style. This just removes the usage of the typedefs and doesn't yet clean up any logic or other issues. (This is to keep the review simple.) Reviewers: abidh, ki.stfu, domipheus Subscribers: lldb-commits Differential Revision: http://reviews.llvm.org/D10917 llvm-svn: 241349
Diffstat (limited to 'lldb/tools/lldb-mi/MICmdArgValFile.cpp')
-rw-r--r--lldb/tools/lldb-mi/MICmdArgValFile.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/lldb/tools/lldb-mi/MICmdArgValFile.cpp b/lldb/tools/lldb-mi/MICmdArgValFile.cpp
index b34c75ea818..7e40c17aef1 100644
--- a/lldb/tools/lldb-mi/MICmdArgValFile.cpp
+++ b/lldb/tools/lldb-mi/MICmdArgValFile.cpp
@@ -121,7 +121,7 @@ CMICmdArgValFile::GetFileNamePath(const CMIUtilString &vrTxt) const
CMIUtilString fileNamePath(vrTxt);
// Look for a space in the path
- const MIchar cSpace = ' ';
+ const char cSpace = ' ';
const MIint nPos = fileNamePath.find(cSpace);
if (nPos != (MIint)std::string::npos)
fileNamePath = CMIUtilString::Format("\"%s\"", fileNamePath.c_str());
@@ -182,10 +182,10 @@ bool
CMICmdArgValFile::IsValidChars(const CMIUtilString &vrText) const
{
static CMIUtilString s_strSpecialCharacters(".'\"`@#$%^&*()_+-={}[]| ");
- const MIchar *pPtr = const_cast<MIchar *>(vrText.c_str());
+ const char *pPtr = const_cast<char *>(vrText.c_str());
for (MIuint i = 0; i < vrText.length(); i++, pPtr++)
{
- const MIchar c = *pPtr;
+ const char c = *pPtr;
if (::isalnum((int)c) == 0)
{
if (s_strSpecialCharacters.find(c) == CMIUtilString::npos)
OpenPOWER on IntegriCloud