[all-commits] [llvm/llvm-project] 63ae50: [libc++][test] Don't include `test_format_context....

A. Jiang via All-commits all-commits at lists.llvm.org
Mon Mar 11 07:55:39 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 63ae5099b7339e87e6ce67fc7da63d26b8e7cb27
      https://github.com/llvm/llvm-project/commit/63ae5099b7339e87e6ce67fc7da63d26b8e7cb27
  Author: A. Jiang <de34 at live.cn>
  Date:   2024-03-11 (Mon, 11 Mar 2024)

  Changed paths:
    M libcxx/test/std/containers/container.adaptors/container.adaptors.format/parse.pass.cpp
    M libcxx/test/std/containers/sequences/vector.bool/vector.bool.fmt/parse.pass.cpp
    M libcxx/test/std/thread/thread.threads/thread.thread.class/thread.thread.id/parse.pass.cpp
    M libcxx/test/std/utilities/format/format.formatter/format.formatter.spec/formatter.bool.pass.cpp
    M libcxx/test/std/utilities/format/format.formatter/format.formatter.spec/formatter.c_string.pass.cpp
    M libcxx/test/std/utilities/format/format.formatter/format.formatter.spec/formatter.char.pass.cpp
    M libcxx/test/std/utilities/format/format.formatter/format.formatter.spec/formatter.char_array.pass.cpp
    M libcxx/test/std/utilities/format/format.formatter/format.formatter.spec/formatter.floating_point.pass.cpp
    M libcxx/test/std/utilities/format/format.formatter/format.formatter.spec/formatter.handle.pass.cpp
    M libcxx/test/std/utilities/format/format.formatter/format.formatter.spec/formatter.pointer.pass.cpp
    M libcxx/test/std/utilities/format/format.formatter/format.formatter.spec/formatter.signed_integral.pass.cpp
    M libcxx/test/std/utilities/format/format.formatter/format.formatter.spec/formatter.string.pass.cpp
    M libcxx/test/std/utilities/format/format.formatter/format.formatter.spec/formatter.unsigned_integral.pass.cpp
    M libcxx/test/std/utilities/format/format.range/format.range.fmtdef/parse.pass.cpp
    M libcxx/test/std/utilities/format/format.range/format.range.fmtmap/parse.pass.cpp
    M libcxx/test/std/utilities/format/format.range/format.range.fmtset/parse.pass.cpp
    M libcxx/test/std/utilities/format/format.range/format.range.fmtstr/parse.pass.cpp
    M libcxx/test/std/utilities/format/format.range/format.range.formatter/parse.pass.cpp
    M libcxx/test/std/utilities/format/format.tuple/parse.pass.cpp

  Log Message:
  -----------
  [libc++][test] Don't include `test_format_context.h` in `parse.pass.cpp` (#83734)

The `parse.pass.cpp` tests doen't need to call
`test_format_context_create` to create a `basic_format_context`, so they
shouldn't include `test_format_context.h`.

The `to_address` mechanism works around the iterator debugging
mechanisms of MSVC STL. Related to
[LWG3989](https://cplusplus.github.io/LWG/issue3989).

Discovered when implementing `formatter<tuple>` in MSVC STL. With the
inclusion removed, `std/utilities/format/format.tuple/parse.pass.cpp`
when using enhanced MSVC STL (and `/utf-8` option for MSVC).



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