[LLD] [COFF] Handle undefined weak symbols in LTO (#70430)
[llvm-project.git] / libcxx / modules / std / fstream.inc
blobb0017949af5403dc566930e3e44bb3ee300ef654
1 // -*- C++ -*-
2 //===----------------------------------------------------------------------===//
3 //
4 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
5 // See https://llvm.org/LICENSE.txt for license information.
6 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //
8 //===----------------------------------------------------------------------===//
10 export namespace std {
11 #ifndef _LIBCPP_HAS_NO_LOCALIZATION
12   using std::basic_filebuf;
14 #  ifndef _LIBCPP_HAS_NO_FILESYSTEM
15   using std::swap;
16 #  endif
18   using std::filebuf;
19 #  ifndef _LIBCPP_HAS_NO_WIDE_CHARACTERS
20   using std::wfilebuf;
21 #  endif
23   using std::basic_ifstream;
25   using std::ifstream;
26 #  ifndef _LIBCPP_HAS_NO_WIDE_CHARACTERS
27   using std::wifstream;
28 #  endif
30   using std::basic_ofstream;
32   using std::ofstream;
33 #  ifndef _LIBCPP_HAS_NO_WIDE_CHARACTERS
34   using std::wofstream;
35 #  endif
37   using std::basic_fstream;
39   using std::fstream;
40 #  ifndef _LIBCPP_HAS_NO_WIDE_CHARACTERS
41   using std::wfstream;
42 #  endif
43 #endif // _LIBCPP_HAS_NO_LOCALIZATION
44 } // namespace std