Mercurial > hg > CbC > CbC_llvm
comparison libcxx/include/iostream @ 236:c4bab56944e8 llvm-original
LLVM 16
author | kono |
---|---|
date | Wed, 09 Nov 2022 17:45:10 +0900 |
parents | 79ff65ed7e25 |
children | 1f2b6ac9f198 |
comparison
equal
deleted
inserted
replaced
232:70dce7da266c | 236:c4bab56944e8 |
---|---|
1 // -*- C++ -*- | 1 // -*- C++ -*- |
2 //===--------------------------- iostream ---------------------------------===// | 2 //===----------------------------------------------------------------------===// |
3 // | 3 // |
4 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. | 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. | 5 // See https://llvm.org/LICENSE.txt for license information. |
6 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception | 6 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception |
7 // | 7 // |
31 | 31 |
32 } // std | 32 } // std |
33 | 33 |
34 */ | 34 */ |
35 | 35 |
36 #include <__assert> // all public C++ headers provide the assertion handler | |
36 #include <__config> | 37 #include <__config> |
38 #include <version> | |
39 | |
40 // standard-mandated includes | |
41 | |
42 // [iostream.syn] | |
37 #include <ios> | 43 #include <ios> |
38 #include <istream> | 44 #include <istream> |
39 #include <ostream> | 45 #include <ostream> |
40 #include <streambuf> | 46 #include <streambuf> |
41 | 47 |
42 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) | 48 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) |
43 #pragma GCC system_header | 49 # pragma GCC system_header |
44 #endif | 50 #endif |
45 | 51 |
46 _LIBCPP_BEGIN_NAMESPACE_STD | 52 _LIBCPP_BEGIN_NAMESPACE_STD |
47 | 53 |
48 #ifndef _LIBCPP_HAS_NO_STDIN | |
49 extern _LIBCPP_FUNC_VIS istream cin; | 54 extern _LIBCPP_FUNC_VIS istream cin; |
55 extern _LIBCPP_FUNC_VIS ostream cout; | |
56 extern _LIBCPP_FUNC_VIS ostream cerr; | |
57 extern _LIBCPP_FUNC_VIS ostream clog; | |
58 | |
59 #ifndef _LIBCPP_HAS_NO_WIDE_CHARACTERS | |
50 extern _LIBCPP_FUNC_VIS wistream wcin; | 60 extern _LIBCPP_FUNC_VIS wistream wcin; |
61 extern _LIBCPP_FUNC_VIS wostream wcout; | |
62 extern _LIBCPP_FUNC_VIS wostream wcerr; | |
63 extern _LIBCPP_FUNC_VIS wostream wclog; | |
51 #endif | 64 #endif |
52 #ifndef _LIBCPP_HAS_NO_STDOUT | |
53 extern _LIBCPP_FUNC_VIS ostream cout; | |
54 extern _LIBCPP_FUNC_VIS wostream wcout; | |
55 #endif | |
56 extern _LIBCPP_FUNC_VIS ostream cerr; | |
57 extern _LIBCPP_FUNC_VIS wostream wcerr; | |
58 extern _LIBCPP_FUNC_VIS ostream clog; | |
59 extern _LIBCPP_FUNC_VIS wostream wclog; | |
60 | 65 |
61 _LIBCPP_END_NAMESPACE_STD | 66 _LIBCPP_END_NAMESPACE_STD |
62 | 67 |
63 #endif // _LIBCPP_IOSTREAM | 68 #endif // _LIBCPP_IOSTREAM |