Signed-off-by: Luís Ferreira <contact@lsferreira.net>
This patch refactors C/C++ formatters to avoid repetitive code by using templates.
Paths
| Differential D112658
[lldb] Refactor C/C++ string and char summary providers ClosedPublic Authored by ljmf00 on Oct 27 2021, 1:24 PM.
Details Summary Signed-off-by: Luís Ferreira <contact@lsferreira.net> This patch refactors C/C++ formatters to avoid repetitive code by using templates.
Diff Detail
Event TimelineComment Actions Thanks for doing this. Just a couple of small remarks.
Comment Actions
Can you re-review?
Comment Actions Looks good. Do you have commit access, or should I check this in for you (I can also fix up the formatting in that case)?
This revision is now accepted and ready to land.Oct 29 2021, 12:07 AM Closed by commit rG5e316012d0ac: [lldb] Refactor C/C++ string and char summary providers (authored by ljmf00, committed by labath). · Explain WhyOct 29 2021, 2:22 AM This revision was automatically updated to reflect the committed changes. Comment Actions
Raphael tells me you don't, so I've committed this as rG5e31601.
Revision Contents
Diff 383267 lldb/source/Plugins/Language/CPlusPlus/CxxStringTypes.cpp
|
This isn't the right formatting (brackets don't get their own line, and the first line is too long). Could you run the patch through clang-format please?