Add swig docstrings for SBBlock.h.

llvm-svn: 134451
This commit is contained in:
Johnny Chen 2011-07-05 23:54:12 +00:00
parent b7a773626f
commit 491c3d72ac
1 changed files with 38 additions and 0 deletions

View File

@ -37,30 +37,68 @@ public:
operator = (const lldb::SBBlock &rhs);
#endif
#ifdef SWIG
%feature("docstring",
"Does this block represent an inlined function?"
) IsInlined;
#endif
bool
IsInlined () const;
bool
IsValid () const;
#ifdef SWIG
%feature("autodoc",
"Get the function name if this block represents an inlined function;\n"
"otherwise, return None."
) GetInlinedName;
#endif
const char *
GetInlinedName () const;
#ifdef SWIG
%feature("docstring",
"Get the call site file if this block represents an inlined function;\n"
"otherwise, return an invalid file spec."
) GetInlinedCallSiteFile;
#endif
lldb::SBFileSpec
GetInlinedCallSiteFile () const;
#ifdef SWIG
%feature("docstring",
"Get the call site line if this block represents an inlined function;\n"
"otherwise, return 0."
) GetInlinedCallSiteLine;
#endif
uint32_t
GetInlinedCallSiteLine () const;
#ifdef SWIG
%feature("docstring",
"Get the call site column if this block represents an inlined function;\n"
"otherwise, return 0."
) GetInlinedCallSiteColumn;
#endif
uint32_t
GetInlinedCallSiteColumn () const;
#ifdef SWIG
%feature("docstring", "Get the parent block.") GetParent;
#endif
lldb::SBBlock
GetParent ();
#ifdef SWIG
%feature("docstring", "Get the sibling block for this block.") GetSibling;
#endif
lldb::SBBlock
GetSibling ();
#ifdef SWIG
%feature("docstring", "Get the first child block.") GetFirstChild;
#endif
lldb::SBBlock
GetFirstChild ();