Docstringify some comments in the swig interface files

Without these, the comments don't end up in the generated python code.

llvm-svn: 358055
This commit is contained in:
Pavel Labath
2019-04-10 07:55:04 +00:00
parent b3be23d334
commit f5f45f21d8
3 changed files with 8 additions and 4 deletions

View File

@@ -26,6 +26,7 @@ public:
void
Clear();
%feature("docstring", "
//------------------------------------------------------------------
/// Get const accessor for the module file.
///
@@ -36,12 +37,14 @@ public:
/// @return
/// A const reference to the file specification object.
//------------------------------------------------------------------
") GetFileSpec;
lldb::SBFileSpec
GetFileSpec ();
void
SetFileSpec (const lldb::SBFileSpec &fspec);
%feature("docstring", "
//------------------------------------------------------------------
/// Get accessor for the module platform file.
///
@@ -57,6 +60,7 @@ public:
/// @return
/// A const reference to the file specification object.
//------------------------------------------------------------------
") GetPlatformFileSpec;
lldb::SBFileSpec
GetPlatformFileSpec ();

View File

@@ -34,9 +34,6 @@ def get_stopped_threads(process, reason):
class SBProcess
{
public:
//------------------------------------------------------------------
/// Broadcaster event bits definitions.
//------------------------------------------------------------------
enum
{
eBroadcastBitStateChanged = (1 << 0),

View File

@@ -48,11 +48,14 @@ public:
lldb::StopReason
GetStopReason();
%feature("docstring", "
/// Get the number of words associated with the stop reason.
/// See also GetStopReasonDataAtIndex().
") GetStopReasonDataCount;
size_t
GetStopReasonDataCount();
%feature("docstring", "
//--------------------------------------------------------------------------
/// Get information associated with a stop reason.
///
@@ -71,6 +74,7 @@ public:
/// eStopReasonExec 0
/// eStopReasonPlanComplete 0
//--------------------------------------------------------------------------
") GetStopReasonDataAtIndex;
uint64_t
GetStopReasonDataAtIndex(uint32_t idx);
@@ -94,7 +98,6 @@ public:
explicit operator bool() const;
// This section allows an SBThreadPlan to push another of the common types of plans...
SBThreadPlan
QueueThreadPlanForStepOverRange (SBAddress &start_address,
lldb::addr_t range_size);