[Lldb-commits] [lldb] r215367 - Fix some typos:
Sylvestre Ledru
sylvestre at debian.org
Mon Aug 11 11:06:29 PDT 2014
Author: sylvestre
Date: Mon Aug 11 13:06:28 2014
New Revision: 215367
URL: http://llvm.org/viewvc/llvm-project?rev=215367&view=rev
Log:
Fix some typos:
* transfered => transferred
* unkown => unknown
* sucessfully => successfully
Modified:
lldb/trunk/examples/summaries/cocoa/NSBundle.py
lldb/trunk/include/lldb/API/SBStream.h
lldb/trunk/include/lldb/Core/ArchSpec.h
lldb/trunk/include/lldb/Utility/CleanUp.h
lldb/trunk/scripts/Python/interface/SBStream.i
lldb/trunk/source/Commands/CommandObjectFrame.cpp
lldb/trunk/source/Expression/Materializer.cpp
lldb/trunk/source/Target/Process.cpp
lldb/trunk/tools/lldb-mi/MICmnResources.cpp
lldb/trunk/tools/lldb-mi/MIUtilFileStd.cpp
lldb/trunk/www/cpp_reference/html/SBStream_8h_source.html
lldb/trunk/www/python_reference/_lldb'-module.html
lldb/trunk/www/python_reference/lldb-pysrc.html
lldb/trunk/www/python_reference/lldb.SBStream-class.html
Modified: lldb/trunk/examples/summaries/cocoa/NSBundle.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/examples/summaries/cocoa/NSBundle.py?rev=215367&r1=215366&r2=215367&view=diff
==============================================================================
--- lldb/trunk/examples/summaries/cocoa/NSBundle.py (original)
+++ lldb/trunk/examples/summaries/cocoa/NSBundle.py Mon Aug 11 13:06:28 2014
@@ -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)
Modified: lldb/trunk/include/lldb/API/SBStream.h
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/include/lldb/API/SBStream.h?rev=215367&r1=215366&r2=215367&view=diff
==============================================================================
--- lldb/trunk/include/lldb/API/SBStream.h (original)
+++ lldb/trunk/include/lldb/API/SBStream.h Mon Aug 11 13:06:28 2014
@@ -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 ();
Modified: lldb/trunk/include/lldb/Core/ArchSpec.h
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/include/lldb/Core/ArchSpec.h?rev=215367&r1=215366&r2=215367&view=diff
==============================================================================
--- lldb/trunk/include/lldb/Core/ArchSpec.h (original)
+++ lldb/trunk/include/lldb/Core/ArchSpec.h Mon Aug 11 13:06:28 2014
@@ -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,
Modified: lldb/trunk/include/lldb/Utility/CleanUp.h
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/include/lldb/Utility/CleanUp.h?rev=215367&r1=215366&r2=215367&view=diff
==============================================================================
--- lldb/trunk/include/lldb/Utility/CleanUp.h (original)
+++ lldb/trunk/include/lldb/Utility/CleanUp.h Mon Aug 11 13:06:28 2014
@@ -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 ()
Modified: lldb/trunk/scripts/Python/interface/SBStream.i
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/scripts/Python/interface/SBStream.i?rev=215367&r1=215366&r2=215367&view=diff
==============================================================================
--- lldb/trunk/scripts/Python/interface/SBStream.i (original)
+++ lldb/trunk/scripts/Python/interface/SBStream.i Mon Aug 11 13:06:28 2014
@@ -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;
Modified: lldb/trunk/source/Commands/CommandObjectFrame.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Commands/CommandObjectFrame.cpp?rev=215367&r1=215366&r2=215367&view=diff
==============================================================================
--- lldb/trunk/source/Commands/CommandObjectFrame.cpp (original)
+++ lldb/trunk/source/Commands/CommandObjectFrame.cpp Mon Aug 11 13:06:28 2014
@@ -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.
Modified: lldb/trunk/source/Expression/Materializer.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Expression/Materializer.cpp?rev=215367&r1=215366&r2=215367&view=diff
==============================================================================
--- lldb/trunk/source/Expression/Materializer.cpp (original)
+++ lldb/trunk/source/Expression/Materializer.cpp Mon Aug 11 13:06:28 2014
@@ -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.
Modified: lldb/trunk/source/Target/Process.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Target/Process.cpp?rev=215367&r1=215366&r2=215367&view=diff
==============================================================================
--- lldb/trunk/source/Target/Process.cpp (original)
+++ lldb/trunk/source/Target/Process.cpp Mon Aug 11 13:06:28 2014
@@ -1857,7 +1857,7 @@ Process::CreateBreakpointSite (const Bre
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 Bre
load_addr,
owner->GetBreakpoint().GetID(),
owner->GetID(),
- error.AsCString() ? error.AsCString() : "unkown error");
+ error.AsCString() ? error.AsCString() : "unknown error");
}
}
}
Modified: lldb/trunk/tools/lldb-mi/MICmnResources.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/tools/lldb-mi/MICmnResources.cpp?rev=215367&r1=215366&r2=215367&view=diff
==============================================================================
--- lldb/trunk/tools/lldb-mi/MICmnResources.cpp (original)
+++ lldb/trunk/tools/lldb-mi/MICmnResources.cpp Mon Aug 11 13:06:28 2014
@@ -192,7 +192,7 @@ const CMICmnResources::SRsrcTextData CMI
{ 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>" },
Modified: lldb/trunk/tools/lldb-mi/MIUtilFileStd.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/tools/lldb-mi/MIUtilFileStd.cpp?rev=215367&r1=215366&r2=215367&view=diff
==============================================================================
--- lldb/trunk/tools/lldb-mi/MIUtilFileStd.cpp (original)
+++ lldb/trunk/tools/lldb-mi/MIUtilFileStd.cpp Mon Aug 11 13:06:28 2014
@@ -141,7 +141,7 @@ bool CMIUtilFileStd::Write( const CMIUti
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
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;
Modified: lldb/trunk/www/cpp_reference/html/SBStream_8h_source.html
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/www/cpp_reference/html/SBStream_8h_source.html?rev=215367&r1=215366&r2=215367&view=diff
==============================================================================
--- lldb/trunk/www/cpp_reference/html/SBStream_8h_source.html (original)
+++ lldb/trunk/www/cpp_reference/html/SBStream_8h_source.html Mon Aug 11 13:06:28 2014
@@ -84,7 +84,7 @@
<div class="line"><a name="l00051"></a><span class="lineno"> 51</span> <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> </div>
<div class="line"><a name="l00053"></a><span class="lineno"> 53</span> <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> <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> <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> <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> <span class="keywordtype">void</span></div>
<div class="line"><a name="l00057"></a><span class="lineno"> 57</span> <a class="code" href="classlldb_1_1SBStream.html#a8d58b63ad3b3eafd9aca767149ce44f8">Clear</a> ();</div>
Modified: lldb/trunk/www/python_reference/_lldb'-module.html
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/www/python_reference/_lldb%27-module.html?rev=215367&r1=215366&r2=215367&view=diff
==============================================================================
--- lldb/trunk/www/python_reference/_lldb'-module.html (original)
+++ lldb/trunk/www/python_reference/_lldb'-module.html Mon Aug 11 13:06:28 2014
@@ -25494,7 +25494,7 @@ SBSourceManager_DisplaySourceLinesWithLi
<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">
Modified: lldb/trunk/www/python_reference/lldb-pysrc.html
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/www/python_reference/lldb-pysrc.html?rev=215367&r1=215366&r2=215367&view=diff
==============================================================================
--- lldb/trunk/www/python_reference/lldb-pysrc.html (original)
+++ lldb/trunk/www/python_reference/lldb-pysrc.html Mon Aug 11 13:06:28 2014
@@ -29867,7 +29867,7 @@ lldb.SBWatchpoint.IsValid" class="py-nam
<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>
Modified: lldb/trunk/www/python_reference/lldb.SBStream-class.html
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/www/python_reference/lldb.SBStream-class.html?rev=215367&r1=215366&r2=215367&view=diff
==============================================================================
--- lldb/trunk/www/python_reference/lldb.SBStream-class.html (original)
+++ lldb/trunk/www/python_reference/lldb.SBStream-class.html Mon Aug 11 13:06:28 2014
@@ -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>
More information about the lldb-commits
mailing list