[all-commits] [llvm/llvm-project] a3f17b: [libc++] Implement P2467R1: Support exclusive mode...

Twice via All-commits all-commits at lists.llvm.org
Fri Nov 17 14:27:49 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a3f17ba3febbd546f2342ffc780ac93b694fdc8d
      https://github.com/llvm/llvm-project/commit/a3f17ba3febbd546f2342ffc780ac93b694fdc8d
  Author: PragmaTwice <twice.mliu at gmail.com>
  Date:   2023-11-17 (Fri, 17 Nov 2023)

  Changed paths:
    M libcxx/docs/FeatureTestMacroTable.rst
    M libcxx/docs/ReleaseNotes/18.rst
    M libcxx/docs/Status/Cxx23Papers.csv
    M libcxx/include/fstream
    M libcxx/include/ios
    M libcxx/include/version
    M libcxx/test/std/input.output/file.streams/fstreams/filebuf.members/open_pointer.pass.cpp
    M libcxx/test/std/input.output/file.streams/fstreams/fstream.cons/pointer.pass.cpp
    M libcxx/test/std/input.output/file.streams/fstreams/fstream.members/open_pointer.pass.cpp
    M libcxx/test/std/input.output/file.streams/fstreams/ofstream.cons/pointer.pass.cpp
    M libcxx/test/std/input.output/file.streams/fstreams/ofstream.members/open_pointer.pass.cpp
    A libcxx/test/std/language.support/support.limits/support.limits.general/ios.version.compile.pass.cpp
    M libcxx/test/std/language.support/support.limits/support.limits.general/version.version.compile.pass.cpp
    M libcxx/utils/generate_feature_test_macro_components.py

  Log Message:
  -----------
  [libc++] Implement P2467R1: Support exclusive mode for fstreams

This patch brings std::ios_base::noreplace from P2467R1 to libc++.
This requires compiling the shared library in C++23 mode since otherwise
fstream::open(...) doesn't know about the new flag.

Differential Revision: https://reviews.llvm.org/D137640
Co-authored-by: Louis Dionne <ldionne.2 at gmail.com>




More information about the All-commits mailing list