[all-commits] [llvm/llvm-project] 577c1e: [formatters] Add a libstdcpp formatter for forward...

Danil Stefaniuc via All-commits all-commits at lists.llvm.org
Tue Nov 9 21:33:24 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 577c1eecf8c4b078eecb57e1c5b8d86adfc3c08a
      https://github.com/llvm/llvm-project/commit/577c1eecf8c4b078eecb57e1c5b8d86adfc3c08a
  Author: Danil Stefaniuc <danilashtefan at gmail.com>
  Date:   2021-11-09 (Tue, 09 Nov 2021)

  Changed paths:
    M lldb/examples/synthetic/gnu_libstdcpp.py
    M lldb/source/Plugins/Language/CPlusPlus/CPlusPlusLanguage.cpp
    A lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/forward_list/Makefile
    A lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/forward_list/TestDataFormatterGenericForwardList.py
    A lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/forward_list/main.cpp
    R lldb/test/API/functionalities/data-formatter/data-formatter-stl/libcxx/forward_list/Makefile
    R lldb/test/API/functionalities/data-formatter/data-formatter-stl/libcxx/forward_list/TestDataFormatterLibcxxForwardList.py
    R lldb/test/API/functionalities/data-formatter/data-formatter-stl/libcxx/forward_list/main.cpp

  Log Message:
  -----------
  [formatters] Add a libstdcpp formatter for forward_list and refactor list formatter

This diff adds a data formatter for libstdcpp's forward_list. Besides, it refactors the existing code by extracting the common functionality between libstdcpp forward_list and list formatters into the AbstractListSynthProvider class.

Reviewed By: wallace

Differential Revision: https://reviews.llvm.org/D113362




More information about the All-commits mailing list