summaryrefslogtreecommitdiffstats
path: root/lldb/tools/lldb-mi/MICmnLLDBDebugSessionInfo.cpp
diff options
context:
space:
mode:
authorBruce Mitchener <bruce.mitchener@gmail.com>2015-07-03 07:28:11 +0000
committerBruce Mitchener <bruce.mitchener@gmail.com>2015-07-03 07:28:11 +0000
commit68dc553fda5237032dfddfb70d057cdbcd4d57af (patch)
treee97820b5528fe26c8896da0a960bdb9986169fd9 /lldb/tools/lldb-mi/MICmnLLDBDebugSessionInfo.cpp
parentd30f5ffddc26bea206399ef1c2050c4f0a272917 (diff)
downloadbcm5719-llvm-68dc553fda5237032dfddfb70d057cdbcd4d57af.tar.gz
bcm5719-llvm-68dc553fda5237032dfddfb70d057cdbcd4d57af.zip
Fix type signature for CMIUtilString::IsAllValidAlphaAndNumeric.
This should take a "const char*" not a "char &". Summary: Fix type signature for CMIUtilString::IsAllValidAlphaAndNumeric. This passes the MI tests on Mac OS X. Reviewers: ki.stfu, abidh, domipheus Subscribers: lldb-commits-list Differential Revision: http://reviews.llvm.org/D10906 llvm-svn: 241322
Diffstat (limited to 'lldb/tools/lldb-mi/MICmnLLDBDebugSessionInfo.cpp')
-rw-r--r--lldb/tools/lldb-mi/MICmnLLDBDebugSessionInfo.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/tools/lldb-mi/MICmnLLDBDebugSessionInfo.cpp b/lldb/tools/lldb-mi/MICmnLLDBDebugSessionInfo.cpp
index 89f0d133906..cdf2a032ac6 100644
--- a/lldb/tools/lldb-mi/MICmnLLDBDebugSessionInfo.cpp
+++ b/lldb/tools/lldb-mi/MICmnLLDBDebugSessionInfo.cpp
@@ -383,7 +383,7 @@ CMICmnLLDBDebugSessionInfo::MIResponseFormThreadInfo(const SMICmdData &vCmdData,
const MIchar *pThreadName = rThread.GetName();
const MIuint len = (pThreadName != nullptr) ? CMIUtilString(pThreadName).length() : 0;
const bool bHaveName = ((pThreadName != nullptr) && (len > 0) && (len < 32) &&
- CMIUtilString::IsAllValidAlphaAndNumeric(*pThreadName)); // 32 is arbitary number
+ CMIUtilString::IsAllValidAlphaAndNumeric(pThreadName)); // 32 is arbitary number
const MIchar *pThrdFmt = bHaveName ? "%s" : "Thread %d";
CMIUtilString strThread;
if (bHaveName)
OpenPOWER on IntegriCloud