Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Include <cmeow> instead of <meow.h> #1405

Merged
merged 9 commits into from
Nov 6, 2020
2 changes: 1 addition & 1 deletion stl/inc/__msvc_system_error_abi.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
#define __MSVC_SYSTEM_ERROR_ABI_HPP
#include <yvals_core.h>
#if _STL_COMPILER_PREPROCESSOR
#include <stddef.h>
#include <cstddef>

#pragma pack(push, _CRT_PACKING)
#pragma warning(push, _STL_WARNING_LEVEL)
Expand Down
6 changes: 3 additions & 3 deletions stl/inc/atomic
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@
#error <atomic> is not supported when compiling with /clr:pure.
#endif // _M_CEE_PURE

#include <stddef.h> // for size_t
#include <stdint.h>
#include <string.h>
#include <cstddef>
#include <cstdint>
#include <cstring>
#include <xatomic.h>
#if _HAS_CXX20
#include <xatomic_wait.h>
Expand Down
2 changes: 1 addition & 1 deletion stl/inc/barrier
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
#else // ^^^ !_HAS_CXX20 / _HAS_CXX20 vvv

#include <atomic>
#include <limits.h>
#include <climits>
#include <type_traits>
#include <xmemory>

Expand Down
4 changes: 2 additions & 2 deletions stl/inc/charconv
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@
#if !_HAS_CXX17
#pragma message("The contents of <charconv> are available only with C++17 or later.")
#else // ^^^ !_HAS_CXX17 / _HAS_CXX17 vvv
#include <float.h>
#include <cfloat>
#include <cstring>
#include <intrin0.h>
#include <string.h>
#include <xbit_ops.h>
#include <xcharconv.h>
#include <xcharconv_ryu.h>
Expand Down
2 changes: 1 addition & 1 deletion stl/inc/chrono
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@
#define _CHRONO_
#include <yvals_core.h>
#if _STL_COMPILER_PREPROCESSOR
#include <ctime>
#include <limits>
#include <ratio>
#include <time.h>
#include <utility>
#include <xtimec.h>

Expand Down
2 changes: 1 addition & 1 deletion stl/inc/experimental/coroutine
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
#if _HAS_EXCEPTIONS
#include <exception>
#endif
#include <stdint.h>
#include <cstdint>
#include <type_traits>

#pragma pack(push, _CRT_PACKING)
Expand Down
2 changes: 1 addition & 1 deletion stl/inc/experimental/resumable
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@
#if _HAS_EXCEPTIONS
#include <exception>
#endif
#include <cstdint>
#include <experimental/coroutine>
#include <stdint.h>
#include <type_traits>

#pragma pack(push, _CRT_PACKING)
Expand Down
2 changes: 1 addition & 1 deletion stl/inc/latch
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
#else // ^^^ !_HAS_CXX20 / _HAS_CXX20 vvv

#include <atomic>
#include <limits.h>
#include <climits>

#pragma pack(push, _CRT_PACKING)
#pragma warning(push, _STL_WARNING_LEVEL)
Expand Down
2 changes: 1 addition & 1 deletion stl/inc/mutex
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
#endif // _M_CEE_PURE

#include <chrono>
#include <stdlib.h>
#include <cstdlib>
#include <system_error>
#include <thread>
#include <utility>
Expand Down
2 changes: 1 addition & 1 deletion stl/inc/random
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@
#if _STL_COMPILER_PREPROCESSOR
#include <algorithm>
#include <cmath>
#include <cstdint>
#include <iosfwd>
#include <stdint.h>
#include <vector>
#include <xbit_ops.h>
#include <xstring>
Expand Down
2 changes: 1 addition & 1 deletion stl/inc/ratio
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
#define _RATIO_
#include <yvals_core.h>
#if _STL_COMPILER_PREPROCESSOR
#include <stdint.h>
#include <cstdint>
#include <type_traits>

#pragma pack(push, _CRT_PACKING)
Expand Down
2 changes: 1 addition & 1 deletion stl/inc/semaphore
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@

#include <atomic>
#include <chrono>
#include <limits.h>
#include <climits>

#pragma pack(push, _CRT_PACKING)
#pragma warning(push, _STL_WARNING_LEVEL)
Expand Down
3 changes: 0 additions & 3 deletions stl/inc/xatomic.h
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,6 @@

#include <intrin0.h>
#include <type_traits>
#if defined(_WIN64) && (_MSC_FULL_VER <= 192829213) // TRANSITION
#include <intrin.h> // Visual Studio 2019 to define 128-bit CAS in <intrin0.h>
#endif // defined(_WIN64) && (_MSC_FULL_VER <= 192829213), TRANSITION

#pragma pack(push, _CRT_PACKING)
#pragma warning(push, _STL_WARNING_LEVEL)
Expand Down
2 changes: 1 addition & 1 deletion stl/inc/xatomic_wait.h
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
#include <yvals.h>
#if _STL_COMPILER_PREPROCESSOR

#include <stdlib.h>
#include <cstdlib>
#include <xatomic.h>

#pragma pack(push, _CRT_PACKING)
Expand Down
2 changes: 1 addition & 1 deletion stl/inc/xcharconv.h
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
#include <yvals_core.h>
#if _STL_COMPILER_PREPROCESSOR

#include <stdint.h>
#include <cstdint>
#include <type_traits>
#include <xerrc.h>

Expand Down
2 changes: 1 addition & 1 deletion stl/inc/xcharconv_ryu.h
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
#include <yvals_core.h>
#if _STL_COMPILER_PREPROCESSOR

#include <string.h>
#include <cstring>
#include <xcharconv.h>
#include <xcharconv_ryu_tables.h>

Expand Down
2 changes: 1 addition & 1 deletion stl/inc/xcharconv_ryu_tables.h
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
#include <yvals_core.h>
#if _STL_COMPILER_PREPROCESSOR

#include <stdint.h>
#include <cstdint>

#if !_HAS_CXX17
#error The contents of <charconv> are only available with C++17. (Also, you should not include this internal header.)
Expand Down
2 changes: 1 addition & 1 deletion stl/inc/xfilesystem_abi.h
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
#include <yvals_core.h>
#if _STL_COMPILER_PREPROCESSOR

#include <stdint.h>
#include <cstdint>
#include <type_traits>

#pragma pack(push, _CRT_PACKING)
Expand Down
8 changes: 4 additions & 4 deletions stl/inc/xlocinfo.h
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@
#include <yvals.h>
#if _STL_COMPILER_PREPROCESSOR

#include <ctype.h>
#include <locale.h>
#include <stdio.h> // TRANSITION, VSO-661721
#include <wchar.h>
#include <cctype>
#include <clocale>
#include <cstdio> // TRANSITION, VSO-661721
#include <cwchar>

#pragma pack(push, _CRT_PACKING)
#pragma warning(push, _STL_WARNING_LEVEL)
Expand Down
2 changes: 1 addition & 1 deletion stl/inc/xthreads.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
#define _THR_XTHREADS_H
#include <yvals_core.h>
#if _STL_COMPILER_PREPROCESSOR
#include <limits.h>
#include <climits>
#include <xtimec.h>

#pragma pack(push, _CRT_PACKING)
Expand Down
2 changes: 1 addition & 1 deletion stl/inc/xtimec.h
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
#include <yvals.h>
#if _STL_COMPILER_PREPROCESSOR

#include <time.h>
#include <ctime>

#pragma pack(push, _CRT_PACKING)
#pragma warning(push, _STL_WARNING_LEVEL)
Expand Down