[Lldb-commits] [lldb] r134451 - /lldb/trunk/include/lldb/API/SBBlock.h

Johnny Chen johnny.chen at apple.com
Tue Jul 5 16:54:12 PDT 2011


Author: johnny
Date: Tue Jul  5 18:54:12 2011
New Revision: 134451

URL: http://llvm.org/viewvc/llvm-project?rev=134451&view=rev
Log:
Add swig docstrings for SBBlock.h.

Modified:
    lldb/trunk/include/lldb/API/SBBlock.h

Modified: lldb/trunk/include/lldb/API/SBBlock.h
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/include/lldb/API/SBBlock.h?rev=134451&r1=134450&r2=134451&view=diff
==============================================================================
--- lldb/trunk/include/lldb/API/SBBlock.h (original)
+++ lldb/trunk/include/lldb/API/SBBlock.h Tue Jul  5 18:54:12 2011
@@ -37,30 +37,68 @@
     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 ();
 





More information about the lldb-commits mailing list