[Lldb-commits] [lldb] r358967 - modify-python-lldb: Remove \a-removing code
Pavel Labath via lldb-commits
lldb-commits at lists.llvm.org
Tue Apr 23 03:04:23 PDT 2019
Author: labath
Date: Tue Apr 23 03:04:22 2019
New Revision: 358967
URL: http://llvm.org/viewvc/llvm-project?rev=358967&view=rev
Log:
modify-python-lldb: Remove \a-removing code
instead, remove \a directly from the interface files.
Modified:
lldb/trunk/scripts/Python/modify-python-lldb.py
lldb/trunk/scripts/interface/SBCompileUnit.i
lldb/trunk/scripts/interface/SBModule.i
lldb/trunk/scripts/interface/SBTarget.i
lldb/trunk/scripts/interface/SBValue.i
Modified: lldb/trunk/scripts/Python/modify-python-lldb.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/scripts/Python/modify-python-lldb.py?rev=358967&r1=358966&r2=358967&view=diff
==============================================================================
--- lldb/trunk/scripts/Python/modify-python-lldb.py (original)
+++ lldb/trunk/scripts/Python/modify-python-lldb.py Tue Apr 23 03:04:22 2019
@@ -121,10 +121,6 @@ for line in content.splitlines():
state |= CLEANUP_DOCSTRING
if (state & CLEANUP_DOCSTRING):
- # Remove the '\a ' and '\b 'substrings.
- line = line.replace('\a ', '')
- line = line.replace('\b ', '')
-
line = char_to_str_xform(line)
# Note that the transition out of CLEANUP_DOCSTRING is handled at the
Modified: lldb/trunk/scripts/interface/SBCompileUnit.i
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/scripts/interface/SBCompileUnit.i?rev=358967&r1=358966&r2=358967&view=diff
==============================================================================
--- lldb/trunk/scripts/interface/SBCompileUnit.i (original)
+++ lldb/trunk/scripts/interface/SBCompileUnit.i Tue Apr 23 03:04:22 2019
@@ -88,7 +88,7 @@ public:
FindSupportFileIndex (uint32_t start_idx, const SBFileSpec &sb_file, bool full);
%feature("docstring", "
- Get all types matching \a type_mask from debug info in this
+ Get all types matching type_mask from debug info in this
compile unit.
@param[in] type_mask
@@ -100,7 +100,7 @@ public:
unit.
@return
- A list of types in this compile unit that match \a type_mask") GetTypes;
+ A list of types in this compile unit that match type_mask") GetTypes;
lldb::SBTypeList
GetTypes (uint32_t type_mask = lldb::eTypeClassAny);
Modified: lldb/trunk/scripts/interface/SBModule.i
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/scripts/interface/SBModule.i?rev=358967&r1=358966&r2=358967&view=diff
==============================================================================
--- lldb/trunk/scripts/interface/SBModule.i (original)
+++ lldb/trunk/scripts/interface/SBModule.i Tue Apr 23 03:04:22 2019
@@ -270,7 +270,7 @@ public:
GetBasicType(lldb::BasicType type);
%feature("docstring", "
- Get all types matching \a type_mask from debug info in this
+ Get all types matching type_mask from debug info in this
module.
@param[in] type_mask
@@ -281,7 +281,7 @@ public:
all types found in the debug information for this module.
@return
- A list of types in this module that match \a type_mask") GetTypes;
+ A list of types in this module that match type_mask") GetTypes;
lldb::SBTypeList
GetTypes (uint32_t type_mask = lldb::eTypeClassAny);
@@ -296,7 +296,7 @@ public:
for.
@param[in] max_matches
- Allow the number of matches to be limited to \a max_matches.
+ Allow the number of matches to be limited to max_matches.
@return
A list of matched variables in an SBValueList.") FindGlobalVariables;
Modified: lldb/trunk/scripts/interface/SBTarget.i
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/scripts/interface/SBTarget.i?rev=358967&r1=358966&r2=358967&view=diff
==============================================================================
--- lldb/trunk/scripts/interface/SBTarget.i (original)
+++ lldb/trunk/scripts/interface/SBTarget.i Tue Apr 23 03:04:22 2019
@@ -130,14 +130,14 @@ public:
Launch a new process by spawning a new process using the
target object's executable module's file as the file to launch.
- Arguments are given in \a argv, and the environment variables
- are in \a envp. Standard input and output files can be
- optionally re-directed to \a stdin_path, \a stdout_path, and
- \a stderr_path.
+ Arguments are given in argv, and the environment variables
+ are in envp. Standard input and output files can be
+ optionally re-directed to stdin_path, stdout_path, and
+ stderr_path.
@param[in] listener
An optional listener that will receive all process events.
- If \a listener is valid then \a listener will listen to all
+ If listener is valid then listener will listen to all
process events. If not valid, then this target's debugger
(SBTarget::GetDebugger()) will listen to all process events.
@@ -278,7 +278,7 @@ public:
@param[in] listener
An optional listener that will receive all process events.
- If \a listener is valid then \a listener will listen to all
+ If listener is valid then listener will listen to all
process events. If not valid, then this target's debugger
(SBTarget::GetDebugger()) will listen to all process events.
@@ -300,7 +300,7 @@ public:
@param[in] listener
An optional listener that will receive all process events.
- If \a listener is valid then \a listener will listen to all
+ If listener is valid then listener will listen to all
process events. If not valid, then this target's debugger
(SBTarget::GetDebugger()) will listen to all process events.
@@ -326,7 +326,7 @@ public:
@param[in] listener
An optional listener that will receive all process events.
- If \a listener is valid then \a listener will listen to all
+ If listener is valid then listener will listen to all
process events. If not valid, then this target's debugger
(SBTarget::GetDebugger()) will listen to all process events.
@@ -484,7 +484,7 @@ public:
for.
@param[in] max_matches
- Allow the number of matches to be limited to \a max_matches.
+ Allow the number of matches to be limited to max_matches.
@return
A list of matched variables in an SBValueList.") FindGlobalVariables;
@@ -834,7 +834,7 @@ public:
Only write breakpoints from this list.
@param[in] append
- If \btrue, append the breakpoints in bkpt_list to the others
+ If true, append the breakpoints in bkpt_list to the others
serialized in dest_file. If dest_file doesn't exist, then a new
file will be created and the breakpoints in bkpt_list written to it.
Modified: lldb/trunk/scripts/interface/SBValue.i
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/scripts/interface/SBValue.i?rev=358967&r1=358966&r2=358967&view=diff
==============================================================================
--- lldb/trunk/scripts/interface/SBValue.i (original)
+++ lldb/trunk/scripts/interface/SBValue.i Tue Apr 23 03:04:22 2019
@@ -204,8 +204,8 @@ public:
Pointers differ depending on what they point to. If the pointer
points to a simple type, the child at index zero
- is the only child value available, unless \a synthetic_allowed
- is \b true, in which case the pointer will be used as an array
+ is the only child value available, unless synthetic_allowed
+ is true, in which case the pointer will be used as an array
and can create 'synthetic' child values using positive or
negative indexes. If the pointer points to an aggregate type
(an array, class, union, struct), then the pointee is
@@ -223,7 +223,7 @@ public:
Arrays have a preset number of children that can be accessed by
index and will returns invalid child values for indexes that are
- out of bounds unless the \a synthetic_allowed is \b true. In this
+ out of bounds unless the synthetic_allowed is true. In this
case the array can create 'synthetic' child values for indexes
that aren't in the array bounds using positive or negative
indexes.
@@ -237,7 +237,7 @@ public:
type of the child value.
@param[in] synthetic_allowed
- If \b true, then allow child values to be created by index
+ If true, then allow child values to be created by index
for pointers and arrays for indexes that normally wouldn't
be allowed.
More information about the lldb-commits
mailing list