[Lldb-commits] [PATCH] D159127: [lldb][libc++] Adds chrono data formatters.
Dave Lee via Phabricator via lldb-commits
lldb-commits at lists.llvm.org
Tue Aug 29 13:34:08 PDT 2023
kastiglione added a comment.
Thanks for doing this!
Question to all: Should the summary string include the unit? lldb doesn't always show the type, so it could help comprehension if the unit is included. For example `60s` instead of `60`.
================
Comment at: lldb/source/Plugins/Language/CPlusPlus/CPlusPlusLanguage.cpp:986-993
+ "^std::__[[:alnum:]]+::chrono::"
+ "(((nano)|(micro)|(milli)|())seconds)|"
+ "(minutes)|"
+ "(hours)|"
+ "(days)|"
+ "(weeks)|"
+ "(months)|"
----------------
there's some regex grouping that doesn't seem to be needed.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D159127/new/
https://reviews.llvm.org/D159127
More information about the lldb-commits
mailing list