[all-commits] [llvm/llvm-project] fd997d: [lldb][test] Combine libstdc++ and libc++ tuple te...

Michael Buch via All-commits all-commits at lists.llvm.org
Tue Jul 8 01:01:33 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: fd997d86f060c8110a6b5151e8f21c4e4e17ba4a
      https://github.com/llvm/llvm-project/commit/fd997d86f060c8110a6b5151e8f21c4e4e17ba4a
  Author: Michael Buch <michaelbuch12 at gmail.com>
  Date:   2025-07-08 (Tue, 08 Jul 2025)

  Changed paths:
    M lldb/source/Plugins/Language/CPlusPlus/CPlusPlusLanguage.cpp
    A lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/tuple/Makefile
    A lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/tuple/TestDataFormatterStdTuple.py
    A lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/tuple/main.cpp
    R lldb/test/API/functionalities/data-formatter/data-formatter-stl/libcxx/tuple/Makefile
    R lldb/test/API/functionalities/data-formatter/data-formatter-stl/libcxx/tuple/TestDataFormatterLibcxxTuple.py
    R lldb/test/API/functionalities/data-formatter/data-formatter-stl/libcxx/tuple/main.cpp
    R lldb/test/API/functionalities/data-formatter/data-formatter-stl/libstdcpp/tuple/Makefile
    R lldb/test/API/functionalities/data-formatter/data-formatter-stl/libstdcpp/tuple/TestDataFormatterStdTuple.py
    R lldb/test/API/functionalities/data-formatter/data-formatter-stl/libstdcpp/tuple/main.cpp

  Log Message:
  -----------
  [lldb][test] Combine libstdc++ and libc++ tuple tests into generic test (#147139)

This combines the libc++ and libstdc++ test cases. The main difference
was that the libstdcpp tests had some tuple indexing tests that libc++
didn't have.

The libstdc++ formatter didn't support size summaries for std::tuple. So
I added a `ContainerSizeSummaryProvider` for it (like we do for libc++).
Additionally, the synthetic frontend would only apply to non-empty
tuples, so I adjusted the regex to match empty ones too. We do this for
libc++ already.

Split out from https://github.com/llvm/llvm-project/pull/146740



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list