Added documentation for many of our python properties and also made the property help show up by declaring the properties correctly. We previosly declared properties into a local "x" variable, what I didn't realize is that the help will use this as the property name for the help output.


git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@159468 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/scripts/Python/interface/SBBlock.i b/scripts/Python/interface/SBBlock.i
index fbab974..4898ffb 100644
--- a/scripts/Python/interface/SBBlock.i
+++ b/scripts/Python/interface/SBBlock.i
@@ -147,31 +147,31 @@
             return declaration(self.GetInlinedCallSiteFile(), self.GetInlinedCallSiteLine(), self.GetInlinedCallSiteColumn())
 
         __swig_getmethods__["parent"] = GetParent
-        if _newclass: x = property(GetParent, None)
+        if _newclass: parent = property(GetParent, None, doc='''A read only property that returns the same result as GetParent().''')
 
         __swig_getmethods__["first_child"] = GetFirstChild
-        if _newclass: x = property(GetFirstChild, None)
+        if _newclass: first_child = property(GetFirstChild, None, doc='''A read only property that returns the same result as GetFirstChild().''')
         
         __swig_getmethods__["call_site"] = get_call_site
-        if _newclass: x = property(get_call_site, None)
+        if _newclass: call_site = property(get_call_site, None, doc='''A read only property that returns a lldb.declaration object that contains the inlined call site file, line and column.''')
         
         __swig_getmethods__["sibling"] = GetSibling
-        if _newclass: x = property(GetSibling, None)
+        if _newclass: sibling = property(GetSibling, None, doc='''A read only property that returns the same result as GetSibling().''')
 
         __swig_getmethods__["name"] = GetInlinedName
-        if _newclass: x = property(GetInlinedName, None)
+        if _newclass: name = property(GetInlinedName, None, doc='''A read only property that returns the same result as GetInlinedName().''')
 
         __swig_getmethods__["inlined_block"] = GetContainingInlinedBlock
-        if _newclass: x = property(GetContainingInlinedBlock, None)
+        if _newclass: inlined_block = property(GetContainingInlinedBlock, None, doc='''A read only property that returns the same result as GetContainingInlinedBlock().''')
 
         __swig_getmethods__["range"] = get_ranges_access_object
-        if _newclass: x = property(get_ranges_access_object, None)
+        if _newclass: range = property(get_ranges_access_object, None, doc='''A read only property that allows item access to the address ranges for a block by integer (range = block.range[0]) and by lldb.SBAdddress (find the range that contains the specified lldb.SBAddress like "pc_range = lldb.frame.block.range[frame.addr]").''')
 
         __swig_getmethods__["ranges"] = get_ranges_array
-        if _newclass: x = property(get_ranges_array, None)
+        if _newclass: ranges = property(get_ranges_array, None, doc='''A read only property that returns a list() object that contains all of the address ranges for the block.''')
 
         __swig_getmethods__["num_ranges"] = GetNumRanges
-        if _newclass: x = property(GetNumRanges, None)
+        if _newclass: num_ranges = property(GetNumRanges, None, doc='''A read only property that returns the same result as GetNumRanges().''')
     %}
 
 };