[Lldb-commits] [PATCH] D16900: Take 2: Use an artifical namespace so that member vars do not hide local vars.

Siva Chandra via lldb-commits lldb-commits at lists.llvm.org
Thu Feb 4 13:32:13 PST 2016


sivachandra added inline comments.

================
Comment at: source/Expression/ExpressionSourceCode.cpp:188
@@ +187,3 @@
+        ConstString var_name = var_sp->GetName();
+        if (var_name == ConstString("this") || var_name == ConstString(".block_descriptor"))
+            continue;
----------------
This line is the only one difference between the previous version and this. An additional check for a var with name ".block_descriptor" has been added.


http://reviews.llvm.org/D16900





More information about the lldb-commits mailing list