[all-commits] [llvm/llvm-project] 88622a: [libc++][format] Implements formatter thread::id.

Mark de Wever via All-commits all-commits at lists.llvm.org
Sat Apr 8 07:39:52 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 88622aabf10764cc32d546f448076d25b13e94cd
      https://github.com/llvm/llvm-project/commit/88622aabf10764cc32d546f448076d25b13e94cd
  Author: Mark de Wever <koraq at xs4all.nl>
  Date:   2023-04-08 (Sat, 08 Apr 2023)

  Changed paths:
    M libcxx/docs/FeatureTestMacroTable.rst
    M libcxx/docs/ReleaseNotes.rst
    M libcxx/docs/Status/Cxx2b.rst
    M libcxx/docs/Status/Cxx2bPapers.csv
    M libcxx/docs/Status/FormatPaper.csv
    M libcxx/include/__format/parser_std_format_spec.h
    M libcxx/include/__threading_support
    M libcxx/include/thread
    M libcxx/include/version
    M libcxx/test/libcxx/transitive_includes/cxx03.csv
    M libcxx/test/libcxx/transitive_includes/cxx11.csv
    M libcxx/test/libcxx/transitive_includes/cxx14.csv
    M libcxx/test/libcxx/transitive_includes/cxx17.csv
    M libcxx/test/libcxx/transitive_includes/cxx20.csv
    M libcxx/test/libcxx/transitive_includes/cxx2b.csv
    M libcxx/test/std/language.support/support.limits/support.limits.general/thread.version.compile.pass.cpp
    M libcxx/test/std/language.support/support.limits/support.limits.general/version.version.compile.pass.cpp
    A libcxx/test/std/thread/thread.threads/thread.thread.class/thread.thread.id/format.functions.format.pass.cpp
    A libcxx/test/std/thread/thread.threads/thread.thread.class/thread.thread.id/format.functions.tests.h
    A libcxx/test/std/thread/thread.threads/thread.thread.class/thread.thread.id/format.functions.vformat.pass.cpp
    A libcxx/test/std/thread/thread.threads/thread.thread.class/thread.thread.id/format.pass.cpp
    A libcxx/test/std/thread/thread.threads/thread.thread.class/thread.thread.id/parse.pass.cpp
    M libcxx/test/std/thread/thread.threads/thread.thread.class/thread.thread.id/stream.pass.cpp
    M libcxx/test/std/utilities/format/format.formattable/concept.formattable.compile.pass.cpp
    M libcxx/utils/generate_feature_test_macro_components.py

  Log Message:
  -----------
  [libc++][format] Implements formatter thread::id.

Since stacktrace header is WIP and it's not sure that will be done
before LLVM17 update the documentation. When the header is implemented
implementing the formatter is trivial, so that can be done quickly
afterwards.

Implements parts of:
 - P2693R1 Formatting thread::id and stacktrace

Reviewed By: #libc, ldionne

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




More information about the All-commits mailing list