[Lldb-commits] [PATCH] D112222: [LLDB] libcxx summary formatters for std::string_view
Ben Jackson via Phabricator via lldb-commits
lldb-commits at lists.llvm.org
Thu Oct 21 11:46:41 PDT 2021
puremourning added a comment.
Thanks for the review!
================
Comment at: lldb/test/API/functionalities/data-formatter/data-formatter-stl/libcxx/string_view/TestDataFormatterLibcxxStringView.py:62
+ ns = self.namespace
+ self.expect(
+ "frame variable",
----------------
jingham wrote:
> We have lldbtest.expect_var_path for doing this sort of test. It makes these tests easier to read and less likely to be fooled by accidental matches.
Done. There's s slight difference in this API - the null pointer summary returns "" via this api rather than the output which returns "nullptr", so I've inlaced both in the test.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D112222/new/
https://reviews.llvm.org/D112222
More information about the lldb-commits
mailing list