labath added a comment.

One could probably concoct an example (using macros, token pasting and such) 
where this would get it wrong, but that's probably not worth supporting.



================
Comment at: source/Expression/ExpressionSourceCode.cpp:193
+        var_name == ConstString(".block_descriptor") ||
+        !ExprBodyContainsVar(var_name.AsCString(), expr))
       continue;
----------------
`s/AsCString/GetStringRef` (saves a `strlen` operation).


https://reviews.llvm.org/D46551



_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to