[clang] [lld] [llvm] [flang] [libcxx] [libc++][streams] P1759R6: Native handles and file streams (PR #76632)

2023-12-31 Thread Hristo Hristov via cfe-commits
@@ -0,0 +1,36 @@ +//===--===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier:

[clang] [lld] [llvm] [flang] [libcxx] [libc++][streams] P1759R6: Native handles and file streams (PR #76632)

2023-12-31 Thread Hristo Hristov via cfe-commits
@@ -208,8 +215,34 @@ _LIBCPP_PUSH_MACROS #if !defined(_LIBCPP_HAS_NO_FILESYSTEM) +# if defined(_LIBCPP_WIN32API) +#define WIN32_LEAN_AND_MEAN +#define NOMINMAX +#include +#include +# endif + +// # include + _LIBCPP_BEGIN_NAMESPACE_STD +# if

[clang] [lld] [llvm] [flang] [libcxx] [libc++][streams] P1759R6: Native handles and file streams (PR #76632)

2023-12-31 Thread Hristo Hristov via cfe-commits
https://github.com/H-G-Hristov updated https://github.com/llvm/llvm-project/pull/76632 >From 1165b11477ab59122a4db35221fcefe3c9505387 Mon Sep 17 00:00:00 2001 From: Zingam Date: Sat, 30 Dec 2023 17:34:56 +0200 Subject: [PATCH 1/7] [libc++][streams] P1759R6: Native handles and file streams