[Lldb-commits] [lldb] 4926a5e - [lldb] Clarify docstring for SBBlock::IsInlined, NFC

Vedant Kumar via lldb-commits lldb-commits at lists.llvm.org
Thu Sep 17 16:56:40 PDT 2020


Author: Vedant Kumar
Date: 2020-09-17T16:54:58-07:00
New Revision: 4926a5ee63017396e1c55b1505f9fd2bed858218

URL: https://github.com/llvm/llvm-project/commit/4926a5ee63017396e1c55b1505f9fd2bed858218
DIFF: https://github.com/llvm/llvm-project/commit/4926a5ee63017396e1c55b1505f9fd2bed858218.diff

LOG: [lldb] Clarify docstring for SBBlock::IsInlined, NFC

Previously, there was a little ambiguity about whether IsInlined should
return true for an inlined lexical block, since technically the lexical
block would not represent an inlined function (it'd just be contained
within one).

Edit suggested by Jim Ingham.

Added: 
    

Modified: 
    lldb/bindings/interface/SBBlock.i

Removed: 
    


################################################################################
diff  --git a/lldb/bindings/interface/SBBlock.i b/lldb/bindings/interface/SBBlock.i
index 812b41fe5c3e..3972b939b18b 100644
--- a/lldb/bindings/interface/SBBlock.i
+++ b/lldb/bindings/interface/SBBlock.i
@@ -22,7 +22,7 @@ public:
     ~SBBlock ();
 
     %feature("docstring",
-    "Does this block represent an inlined function?"
+    "Is this block contained within an inlined function?"
     ) IsInlined;
     bool
     IsInlined () const;


        


More information about the lldb-commits mailing list