Fix some typos:

* transfered => transferred
* unkown => unknown
* sucessfully => successfully

llvm-svn: 215367
This commit is contained in:
Sylvestre Ledru 2014-08-11 18:06:28 +00:00
parent 469de19a09
commit f6102892ef
14 changed files with 17 additions and 17 deletions

View File

@ -54,7 +54,7 @@ class NSBundleKnown_SummaryProvider:
self.sys_params.types_cache.NSString)
my_string = text.GetSummary()
if (my_string == None) or (my_string == ''):
statistics.metric_hit('unknown_class',str(self.valobj.GetName()) + " triggered unkown pointer location")
statistics.metric_hit('unknown_class',str(self.valobj.GetName()) + " triggered unknown pointer location")
return NSBundleUnknown_SummaryProvider(self.valobj, self.sys_params).url_text()
else:
statistics.metric_hit('code_notrun',self.valobj)

View File

@ -51,7 +51,7 @@ public:
RedirectToFileDescriptor (int fd, bool transfer_fh_ownership);
// If the stream is redirected to a file, forget about the file and if
// ownership of the file was transfered to this object, close the file.
// ownership of the file was transferred to this object, close the file.
// If the stream is backed by a local cache, clear this cache.
void
Clear ();

View File

@ -312,7 +312,7 @@ public:
///
/// @param[in] cpu The required CPU type.
///
/// @return True if the object and CPU type were sucessfully set.
/// @return True if the object and CPU type were successfully set.
//------------------------------------------------------------------
bool
SetArchitecture (ArchitectureType arch_type,

View File

@ -163,7 +163,7 @@ public:
//----------------------------------------------------------------------
// Cancels the cleanup that would have been called on "m_current_value"
// if it was valid. This function can be used to release the value
// contained in this object so ownership can be transfered to the caller.
// contained in this object so ownership can be transferred to the caller.
//----------------------------------------------------------------------
value_type
release ()
@ -296,7 +296,7 @@ public:
//----------------------------------------------------------------------
// Cancels the cleanup that would have been called on "m_current_value"
// if it was valid. This function can be used to release the value
// contained in this object so ownership can be transfered to the caller.
// contained in this object so ownership can be transferred to the caller.
//----------------------------------------------------------------------
value_type
release ()

View File

@ -89,7 +89,7 @@ public:
%feature("docstring", "
//--------------------------------------------------------------------------
/// If the stream is redirected to a file, forget about the file and if
/// ownership of the file was transfered to this object, close the file.
/// ownership of the file was transferred to this object, close the file.
/// If the stream is backed by a local cache, clear this cache.
//--------------------------------------------------------------------------
") Clear;

View File

@ -471,7 +471,7 @@ protected:
if (regex.GetErrorAsCString(regex_error, sizeof(regex_error)))
result.GetErrorStream().Printf ("error: %s\n", regex_error);
else
result.GetErrorStream().Printf ("error: unkown regex error when compiling '%s'\n", name_cstr);
result.GetErrorStream().Printf ("error: unknown regex error when compiling '%s'\n", name_cstr);
}
}
else // No regex, either exact variable names or variable expressions.

View File

@ -95,7 +95,7 @@ public:
}
if (log)
log->Printf("Allocated %s (0x%" PRIx64 ") sucessfully", m_persistent_variable_sp->GetName().GetCString(), mem);
log->Printf("Allocated %s (0x%" PRIx64 ") successfully", m_persistent_variable_sp->GetName().GetCString(), mem);
// Put the location of the spare memory into the live data of the ValueObject.

View File

@ -1857,7 +1857,7 @@ Process::CreateBreakpointSite (const BreakpointLocationSP &owner, bool use_hardw
symbol->GetAddress().GetLoadAddress(&m_target),
owner->GetBreakpoint().GetID(),
owner->GetID(),
error.AsCString() ? error.AsCString() : "unkown error");
error.AsCString() ? error.AsCString() : "unknown error");
return LLDB_INVALID_BREAK_ID;
}
Address resolved_address(load_addr);
@ -1905,7 +1905,7 @@ Process::CreateBreakpointSite (const BreakpointLocationSP &owner, bool use_hardw
load_addr,
owner->GetBreakpoint().GetID(),
owner->GetID(),
error.AsCString() ? error.AsCString() : "unkown error");
error.AsCString() ? error.AsCString() : "unknown error");
}
}
}

View File

@ -192,7 +192,7 @@ const CMICmnResources::SRsrcTextData CMICmnResources::ms_pResourceId2TextData[]
{ IDS_WORD_NOT, "not" },
{ IDS_WORD_INVALIDEMPTY, "<empty>" },
{ IDS_WORD_INVALIDNULLPTR, "<NULL ptr>" },
{ IDS_WORD_UNKNOWNBRKTS, "<unkown>" },
{ IDS_WORD_UNKNOWNBRKTS, "<unknown>" },
{ IDS_WORD_NOT_IMPLEMENTED, "Not implemented" },
{ IDS_WORD_NOT_IMPLEMENTED_BRKTS, "<not implemented>" },
{ IDS_WORD_UNKNOWNTYPE_BRKTS, "<unknowntype>" },

View File

@ -141,7 +141,7 @@ bool CMIUtilFileStd::Write( const CMIUtilString & vData )
return MIstatus::success;
}
// Not all of the data has been transfered
// Not all of the data has been transferred
m_bFileError = true;
SetErrorDescriptionn( MIRSRC( IDE_UTIL_FILE_ERR_WRITING_FILE ), m_fileNamePath.c_str() );
return MIstatus::failure;
@ -178,7 +178,7 @@ bool CMIUtilFileStd::Write( const MIchar * vpData, const MIuint vCharCnt )
return MIstatus::success;
}
// Not all of the data has been transfered
// Not all of the data has been transferred
m_bFileError = true;
SetErrorDescriptionn( MIRSRC( IDE_UTIL_FILE_ERR_WRITING_FILE ), m_fileNamePath.c_str() );
return MIstatus::failure;

View File

@ -84,7 +84,7 @@
<div class="line"><a name="l00051"></a><span class="lineno"> 51</span>&#160; <a class="code" href="classlldb_1_1SBStream.html#ad524e1f4253477786ea11a9724d06c28">RedirectToFileDescriptor</a> (<span class="keywordtype">int</span> fd, <span class="keywordtype">bool</span> transfer_fh_ownership);</div>
<div class="line"><a name="l00052"></a><span class="lineno"> 52</span>&#160;</div>
<div class="line"><a name="l00053"></a><span class="lineno"> 53</span>&#160; <span class="comment">// If the stream is redirected to a file, forget about the file and if</span></div>
<div class="line"><a name="l00054"></a><span class="lineno"> 54</span>&#160; <span class="comment">// ownership of the file was transfered to this object, close the file.</span></div>
<div class="line"><a name="l00054"></a><span class="lineno"> 54</span>&#160; <span class="comment">// ownership of the file was transferred to this object, close the file.</span></div>
<div class="line"><a name="l00055"></a><span class="lineno"> 55</span>&#160; <span class="comment">// If the stream is backed by a local cache, clear this cache.</span></div>
<div class="line"><a name="l00056"></a><span class="lineno"> 56</span>&#160; <span class="keywordtype">void</span></div>
<div class="line"><a name="l00057"></a><span class="lineno"> 57</span>&#160; <a class="code" href="classlldb_1_1SBStream.html#a8d58b63ad3b3eafd9aca767149ce44f8">Clear</a> ();</div>

View File

@ -25494,7 +25494,7 @@ SBSourceManager_DisplaySourceLinesWithLineNumbers(SBSourceManager self, SBFileSp
<p>//--------------------------------------------------------------------------
/// If the stream is redirected to a file, forget about the file and if
/// ownership of the file was transfered to this object, close the file.
/// ownership of the file was transferred to this object, close the file.
/// If the stream is backed by a local cache, clear this cache.
//--------------------------------------------------------------------------</p>
<dl class="fields">

View File

@ -29867,7 +29867,7 @@ lldb.SBWatchpoint.IsValid" class="py-name" href="#" onclick="return doclink('lin
<a name="L6235"></a><tt class="py-lineno"> 6235</tt> <tt class="py-line"><tt class="py-docstring"> Clear(SBStream self)</tt> </tt>
<a name="L6236"></a><tt class="py-lineno"> 6236</tt> <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L6237"></a><tt class="py-lineno"> 6237</tt> <tt class="py-line"><tt class="py-docstring"> If the stream is redirected to a file, forget about the file and if</tt> </tt>
<a name="L6238"></a><tt class="py-lineno"> 6238</tt> <tt class="py-line"><tt class="py-docstring"> ownership of the file was transfered to this object, close the file.</tt> </tt>
<a name="L6238"></a><tt class="py-lineno"> 6238</tt> <tt class="py-line"><tt class="py-docstring"> ownership of the file was transferred to this object, close the file.</tt> </tt>
<a name="L6239"></a><tt class="py-lineno"> 6239</tt> <tt class="py-line"><tt class="py-docstring"> If the stream is backed by a local cache, clear this cache.</tt> </tt>
<a name="L6240"></a><tt class="py-lineno"> 6240</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt>
<a name="L6241"></a><tt class="py-lineno"> 6241</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-name">_lldb</tt><tt class="py-op">.</tt><tt id="link-4139" class="py-name" targets="Function _lldb'.SBStream_Clear()=_lldb%27-module.html#SBStream_Clear"><a title="_lldb'.SBStream_Clear" class="py-name" href="#" onclick="return doclink('link-4139', 'SBStream_Clear', 'link-4139');">SBStream_Clear</a></tt><tt class="py-op">(</tt><tt class="py-name">self</tt><tt class="py-op">)</tt> </tt>

View File

@ -651,7 +651,7 @@
<p>Clear(SBStream self)</p>
<p>If the stream is redirected to a file, forget about the file and if
ownership of the file was transfered to this object, close the file. If
ownership of the file was transferred to this object, close the file. If
the stream is backed by a local cache, clear this cache.</p>
<dl class="fields">
</dl>