diff --git a/.clang-format b/.clang-format index 7fa76c2d2d5..a5878f28342 100644 --- a/.clang-format +++ b/.clang-format @@ -116,6 +116,10 @@ IncludeCategories: Priority: 3 - Regex: '^$' Priority: 4 + - Regex: '^<__.*\.hpp>$' + Priority: 2 + - Regex: '\.hpp[>"]$' + Priority: 5 - Regex: '.*' Priority: 2 diff --git a/stl/src/StlCompareStringA.cpp b/stl/src/StlCompareStringA.cpp index cd41b792389..70aad1a6442 100644 --- a/stl/src/StlCompareStringA.cpp +++ b/stl/src/StlCompareStringA.cpp @@ -1,13 +1,14 @@ // Copyright (c) Microsoft Corporation. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception -#include "awint.h" #include #include #include #include +#include "awint.hpp" + // int __cdecl __crtCompareStringA - Get type information about an ANSI string. // diff --git a/stl/src/StlCompareStringW.cpp b/stl/src/StlCompareStringW.cpp index f9926a3a35e..05d24f2c172 100644 --- a/stl/src/StlCompareStringW.cpp +++ b/stl/src/StlCompareStringW.cpp @@ -1,13 +1,14 @@ // Copyright (c) Microsoft Corporation. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception -#include "awint.h" #include #include #include #include +#include "awint.hpp" + // int __cdecl __crtCompareStringW - Get type information about a wide string. // // Purpose: diff --git a/stl/src/StlLCMapStringA.cpp b/stl/src/StlLCMapStringA.cpp index 9049c096d32..4b89ba36fb5 100644 --- a/stl/src/StlLCMapStringA.cpp +++ b/stl/src/StlLCMapStringA.cpp @@ -1,10 +1,11 @@ // Copyright (c) Microsoft Corporation. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception -#include "awint.h" #include #include +#include "awint.hpp" + // int __cdecl __crtLCMapStringA - Get type information about an ANSI string. // // Purpose: diff --git a/stl/src/StlLCMapStringW.cpp b/stl/src/StlLCMapStringW.cpp index 719ece8283f..33899e40319 100644 --- a/stl/src/StlLCMapStringW.cpp +++ b/stl/src/StlLCMapStringW.cpp @@ -1,10 +1,11 @@ // Copyright (c) Microsoft Corporation. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception -#include "awint.h" #include #include +#include "awint.hpp" + // int __cdecl __crtLCMapStringW - Get type information about a wide string. // // Purpose: diff --git a/stl/src/_tolower.cpp b/stl/src/_tolower.cpp index 288a04fca5b..28e1e1fa698 100644 --- a/stl/src/_tolower.cpp +++ b/stl/src/_tolower.cpp @@ -5,7 +5,6 @@ #include -#include "awint.h" #include #include #include @@ -13,6 +12,8 @@ #include #include +#include "awint.hpp" + // remove macro definitions of _tolower() and tolower() #undef _tolower #undef tolower diff --git a/stl/src/_toupper.cpp b/stl/src/_toupper.cpp index 4134b4bff0b..2f776e8baed 100644 --- a/stl/src/_toupper.cpp +++ b/stl/src/_toupper.cpp @@ -5,12 +5,13 @@ #include -#include "awint.h" #include #include #include #include +#include "awint.hpp" + // remove macro definitions of _toupper() and toupper() #undef _toupper #undef toupper diff --git a/stl/src/awint.h b/stl/src/awint.hpp similarity index 100% rename from stl/src/awint.h rename to stl/src/awint.hpp diff --git a/stl/src/cond.cpp b/stl/src/cond.cpp index 8b36adf95d8..49f79e4633e 100644 --- a/stl/src/cond.cpp +++ b/stl/src/cond.cpp @@ -3,7 +3,6 @@ // condition variable functions -#include "primitives.h" #include #include #include @@ -11,6 +10,8 @@ #include #include +#include "primitives.hpp" + struct _Cnd_internal_imp_t { // condition variable implementation for ConcRT std::aligned_storage_t diff --git a/stl/src/cthread.cpp b/stl/src/cthread.cpp index 1eb047608d6..f7277732120 100644 --- a/stl/src/cthread.cpp +++ b/stl/src/cthread.cpp @@ -3,7 +3,6 @@ // thread functions -#include "awint.h" #include #include #include @@ -13,6 +12,8 @@ #include +#include "awint.hpp" + namespace { using _Thrd_start_t = int (*)(void*); diff --git a/stl/src/dllmain.cpp b/stl/src/dllmain.cpp index 7feafc938d2..990edfbfe41 100644 --- a/stl/src/dllmain.cpp +++ b/stl/src/dllmain.cpp @@ -1,11 +1,12 @@ // Copyright (c) Microsoft Corporation. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception -#include "awint.h" #include #include +#include "awint.hpp" + #ifdef _CRT_APP // free static resource used by causality extern "C" void __cdecl __crtCleanupCausalityStaticFactories(); diff --git a/stl/src/filesys.cpp b/stl/src/filesys.cpp index 169acabd939..9b018700b29 100644 --- a/stl/src/filesys.cpp +++ b/stl/src/filesys.cpp @@ -8,7 +8,6 @@ #include -#include "awint.h" #include #include #include @@ -16,6 +15,8 @@ #include +#include "awint.hpp" + _FS_BEGIN static file_type _Map_mode(int _Mode) { // map Windows file attributes to file_status constexpr int _File_attribute_regular = diff --git a/stl/src/mutex.cpp b/stl/src/mutex.cpp index d0c7f8f1f50..72f32365ff0 100644 --- a/stl/src/mutex.cpp +++ b/stl/src/mutex.cpp @@ -3,7 +3,6 @@ // mutex functions -#include "primitives.h" #include #include #include @@ -11,6 +10,8 @@ #include #include +#include "primitives.hpp" + extern "C" _CRTIMP2_PURE void _Thrd_abort(const char* msg) { // abort on precondition failure fputs(msg, stderr); fputc('\n', stderr); diff --git a/stl/src/primitives.h b/stl/src/primitives.hpp similarity index 97% rename from stl/src/primitives.h rename to stl/src/primitives.hpp index d0d96efedd5..302d0daafd5 100644 --- a/stl/src/primitives.h +++ b/stl/src/primitives.hpp @@ -6,7 +6,6 @@ #pragma warning(disable : 4201) // nonstandard extension used: nameless struct/union #pragma warning(disable : 4324) // structure was padded due to alignment specifier -#include "awint.h" #include #include #include @@ -14,6 +13,8 @@ #include +#include "awint.hpp" + #ifdef _STL_CONCRT_SUPPORT #include #include diff --git a/stl/src/taskscheduler.cpp b/stl/src/taskscheduler.cpp index a873320a6a9..724bb60bfaa 100644 --- a/stl/src/taskscheduler.cpp +++ b/stl/src/taskscheduler.cpp @@ -1,7 +1,6 @@ // Copyright (c) Microsoft Corporation. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception -#include "awint.h" #include #include #include @@ -9,6 +8,8 @@ #include +#include "awint.hpp" + #pragma warning(disable : 4074) #pragma init_seg(compiler) diff --git a/stl/src/winapinls.cpp b/stl/src/winapinls.cpp index 5968a65af38..55badb6a18b 100644 --- a/stl/src/winapinls.cpp +++ b/stl/src/winapinls.cpp @@ -1,7 +1,7 @@ // Copyright (c) Microsoft Corporation. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception -#include "awint.h" +#include "awint.hpp" #if _STL_WIN32_WINNT < _WIN32_WINNT_VISTA diff --git a/stl/src/winapisupp.cpp b/stl/src/winapisupp.cpp index ac8c1581be6..202995a9e1f 100644 --- a/stl/src/winapisupp.cpp +++ b/stl/src/winapisupp.cpp @@ -5,7 +5,7 @@ // Prevent clang-format from reordering before #include #include -#include "awint.h" +#include "awint.hpp" #include #include // clang-format on @@ -415,51 +415,51 @@ extern "C" VOID __cdecl __crtInitializeConditionVariable(PCONDITION_VARIABLE con DYNAMICGETCACHEDFUNCTION( PFNINITIALIZECONDITIONVARIABLE, InitializeConditionVariable, pfInitializeConditionVariable); pfInitializeConditionVariable(pCond); - // Don't have fallbacks because the only caller (in primitives.h) will check the existence before calling + // Don't have fallbacks because the only caller (in primitives.hpp) will check the existence before calling } extern "C" VOID __cdecl __crtWakeConditionVariable(PCONDITION_VARIABLE const pCond) { DYNAMICGETCACHEDFUNCTION(PFNWAKECONDITIONVARIABLE, WakeConditionVariable, pfWakeConditionVariable); pfWakeConditionVariable(pCond); - // Don't have fallbacks because the only caller (in primitives.h) will check the existence before calling + // Don't have fallbacks because the only caller (in primitives.hpp) will check the existence before calling } extern "C" VOID __cdecl __crtWakeAllConditionVariable(PCONDITION_VARIABLE const pCond) { DYNAMICGETCACHEDFUNCTION(PFNWAKEALLCONDITIONVARIABLE, WakeAllConditionVariable, pfWakeAllConditionVariable); pfWakeAllConditionVariable(pCond); - // Don't have fallbacks because the only caller (in primitives.h) will check the existence before calling + // Don't have fallbacks because the only caller (in primitives.hpp) will check the existence before calling } extern "C" BOOL __cdecl __crtSleepConditionVariableCS( PCONDITION_VARIABLE const pCond, PCRITICAL_SECTION const pLock, DWORD const dwMs) { DYNAMICGETCACHEDFUNCTION(PFNSLEEPCONDITIONVARIABLECS, SleepConditionVariableCS, pfSleepConditionVariableCS); return pfSleepConditionVariableCS(pCond, pLock, dwMs); - // Don't have fallbacks because the only caller (in primitives.h) will check the existence before calling + // Don't have fallbacks because the only caller (in primitives.hpp) will check the existence before calling } extern "C" VOID __cdecl __crtInitializeSRWLock(PSRWLOCK const pLock) { DYNAMICGETCACHEDFUNCTION(PFNINITIALIZESRWLOCK, InitializeSRWLock, pfInitializeSRWLock); pfInitializeSRWLock(pLock); - // Don't have fallbacks because the only caller (in primitives.h) will check the existence before calling + // Don't have fallbacks because the only caller (in primitives.hpp) will check the existence before calling } extern "C" VOID __cdecl __crtAcquireSRWLockExclusive(PSRWLOCK const pLock) { DYNAMICGETCACHEDFUNCTION(PFNACQUIRESRWLOCKEXCLUSIVE, AcquireSRWLockExclusive, pfAcquireSRWLockExclusive); pfAcquireSRWLockExclusive(pLock); - // Don't have fallbacks because the only caller (in primitives.h) will check the existence before calling + // Don't have fallbacks because the only caller (in primitives.hpp) will check the existence before calling } extern "C" VOID __cdecl __crtReleaseSRWLockExclusive(PSRWLOCK const pLock) { DYNAMICGETCACHEDFUNCTION(PFNRELEASESRWLOCKEXCLUSIVE, ReleaseSRWLockExclusive, pfReleaseSRWLockExclusive); pfReleaseSRWLockExclusive(pLock); - // Don't have fallbacks because the only caller (in primitives.h) will check the existence before calling + // Don't have fallbacks because the only caller (in primitives.hpp) will check the existence before calling } extern "C" BOOL __cdecl __crtSleepConditionVariableSRW( PCONDITION_VARIABLE const pCond, PSRWLOCK const pLock, DWORD const dwMs, ULONG const flags) { DYNAMICGETCACHEDFUNCTION(PFNSLEEPCONDITIONVARIABLESRW, SleepConditionVariableSRW, pfSleepConditionVariableSRW); return pfSleepConditionVariableSRW(pCond, pLock, dwMs, flags); - // Don't have fallbacks because the only caller (in primitives.h) will check the existence before calling + // Don't have fallbacks because the only caller (in primitives.hpp) will check the existence before calling } extern "C" PTP_WORK __cdecl __crtCreateThreadpoolWork( @@ -494,7 +494,7 @@ extern "C" BOOL __cdecl __crtQueueUserWorkItem(LPTHREAD_START_ROUTINE, PVOID, UL extern "C" BOOLEAN __cdecl __crtTryAcquireSRWLockExclusive(PSRWLOCK const pLock) { DYNAMICGETCACHEDFUNCTION(PFNTRYACQUIRESRWLOCKEXCLUSIVE, TryAcquireSRWLockExclusive, pfTryAcquireSRWLockExclusive); return pfTryAcquireSRWLockExclusive(pLock); - // Don't have fallbacks because the only caller (in primitives.h) will check the existence before calling + // Don't have fallbacks because the only caller (in primitives.hpp) will check the existence before calling } #endif // _STL_WIN32_WINNT < _WIN32_WINNT_WIN7 diff --git a/stl/src/xalloc.cpp b/stl/src/xalloc.cpp index ea34ff6d079..78bc3c5b157 100644 --- a/stl/src/xalloc.cpp +++ b/stl/src/xalloc.cpp @@ -3,11 +3,12 @@ // TRANSITION, ABI: The functions in this file are preserved for binary compatibility -#include "awint.h" #include #include +#include "awint.hpp" + namespace stdext { namespace threads { diff --git a/stl/src/xcosh.cpp b/stl/src/xcosh.cpp index 821a0c90213..22448633e39 100644 --- a/stl/src/xcosh.cpp +++ b/stl/src/xcosh.cpp @@ -3,7 +3,7 @@ // _Cosh function -#include "xmath.h" +#include "xmath.hpp" _EXTERN_C_UNLESS_PURE diff --git a/stl/src/xdateord.cpp b/stl/src/xdateord.cpp index 1ddf5d945c5..bcd1951dbfb 100644 --- a/stl/src/xdateord.cpp +++ b/stl/src/xdateord.cpp @@ -3,9 +3,10 @@ // look up date ordering -#include "awint.h" #include +#include "awint.hpp" + _EXTERN_C_UNLESS_PURE int __CLRCALL_PURE_OR_CDECL _Getdateorder() { // return date order for current locale diff --git a/stl/src/xdint.cpp b/stl/src/xdint.cpp index 4436e099b32..69a8af833e8 100644 --- a/stl/src/xdint.cpp +++ b/stl/src/xdint.cpp @@ -3,7 +3,7 @@ // _Dint function -- IEEE 754 version -#include "xmath.h" +#include "xmath.hpp" _EXTERN_C_UNLESS_PURE diff --git a/stl/src/xdnorm.cpp b/stl/src/xdnorm.cpp index e5fdf36aa6e..e9a8587dde9 100644 --- a/stl/src/xdnorm.cpp +++ b/stl/src/xdnorm.cpp @@ -3,7 +3,7 @@ // _Dnorm function -- IEEE 754 version -#include "xmath.h" +#include "xmath.hpp" _EXTERN_C_UNLESS_PURE diff --git a/stl/src/xdscale.cpp b/stl/src/xdscale.cpp index b0139f5650d..9fa38e77c20 100644 --- a/stl/src/xdscale.cpp +++ b/stl/src/xdscale.cpp @@ -3,7 +3,7 @@ // _Dscale function -- IEEE 754 version -#include "xmath.h" +#include "xmath.hpp" _EXTERN_C_UNLESS_PURE diff --git a/stl/src/xdtento.cpp b/stl/src/xdtento.cpp index 5e9ef592386..e2942977ec7 100644 --- a/stl/src/xdtento.cpp +++ b/stl/src/xdtento.cpp @@ -3,5 +3,5 @@ // _Dtento function -- IEEE 754 version -#include "xxdftype.h" -#include "xxxdtent.h" +#include "xxdftype.hpp" +#include "xxxdtent.hpp" diff --git a/stl/src/xdtest.cpp b/stl/src/xdtest.cpp index 458148f8201..0f680beb896 100644 --- a/stl/src/xdtest.cpp +++ b/stl/src/xdtest.cpp @@ -3,7 +3,7 @@ // _Dtest function -- IEEE 754 version -#include "xmath.h" +#include "xmath.hpp" _EXTERN_C_UNLESS_PURE diff --git a/stl/src/xdunscal.cpp b/stl/src/xdunscal.cpp index 6211469b611..f2581633f5b 100644 --- a/stl/src/xdunscal.cpp +++ b/stl/src/xdunscal.cpp @@ -3,7 +3,7 @@ // _Dunscale function -- IEEE 754 version -#include "xmath.h" +#include "xmath.hpp" _EXTERN_C_UNLESS_PURE diff --git a/stl/src/xexp.cpp b/stl/src/xexp.cpp index 50bba451336..8ae1e7bf3fe 100644 --- a/stl/src/xexp.cpp +++ b/stl/src/xexp.cpp @@ -3,7 +3,7 @@ // _Exp function -#include "xmath.h" +#include "xmath.hpp" _EXTERN_C_UNLESS_PURE diff --git a/stl/src/xfcosh.cpp b/stl/src/xfcosh.cpp index 43ddd1731ea..1cc24bedaab 100644 --- a/stl/src/xfcosh.cpp +++ b/stl/src/xfcosh.cpp @@ -3,7 +3,7 @@ // _FCosh function -#include "xmath.h" +#include "xmath.hpp" _EXTERN_C_UNLESS_PURE diff --git a/stl/src/xfdint.cpp b/stl/src/xfdint.cpp index d72f9c83a84..3f59537660c 100644 --- a/stl/src/xfdint.cpp +++ b/stl/src/xfdint.cpp @@ -3,7 +3,7 @@ // _FDint function -- IEEE 754 version -#include "xmath.h" +#include "xmath.hpp" _EXTERN_C_UNLESS_PURE diff --git a/stl/src/xfdnorm.cpp b/stl/src/xfdnorm.cpp index 21b9d9bc244..752acfb0a73 100644 --- a/stl/src/xfdnorm.cpp +++ b/stl/src/xfdnorm.cpp @@ -3,7 +3,7 @@ // _FDnorm function -- IEEE 754 version -#include "xmath.h" +#include "xmath.hpp" _EXTERN_C_UNLESS_PURE diff --git a/stl/src/xfdscale.cpp b/stl/src/xfdscale.cpp index 499bef9a166..29c9ff26446 100644 --- a/stl/src/xfdscale.cpp +++ b/stl/src/xfdscale.cpp @@ -3,7 +3,7 @@ // _FDscale function -- IEEE 754 version -#include "xmath.h" +#include "xmath.hpp" _EXTERN_C_UNLESS_PURE diff --git a/stl/src/xfdtento.cpp b/stl/src/xfdtento.cpp index 63cbacfe9cc..3a6d54cb600 100644 --- a/stl/src/xfdtento.cpp +++ b/stl/src/xfdtento.cpp @@ -3,5 +3,5 @@ // _FDtento function -- IEEE 754 version -#include "xxfftype.h" -#include "xxxdtent.h" +#include "xxfftype.hpp" +#include "xxxdtent.hpp" diff --git a/stl/src/xfdtest.cpp b/stl/src/xfdtest.cpp index 7053ecc316c..af2e5c5cc76 100644 --- a/stl/src/xfdtest.cpp +++ b/stl/src/xfdtest.cpp @@ -3,7 +3,7 @@ // _FDtest function -- IEEE 754 version -#include "xmath.h" +#include "xmath.hpp" _EXTERN_C_UNLESS_PURE diff --git a/stl/src/xfdunsca.cpp b/stl/src/xfdunsca.cpp index 228f383b1bc..30489ae137f 100644 --- a/stl/src/xfdunsca.cpp +++ b/stl/src/xfdunsca.cpp @@ -3,7 +3,7 @@ // _FDunscale function -- IEEE 754 version -#include "xmath.h" +#include "xmath.hpp" _EXTERN_C_UNLESS_PURE diff --git a/stl/src/xfexp.cpp b/stl/src/xfexp.cpp index d81ba8ceb89..bd344ecfb07 100644 --- a/stl/src/xfexp.cpp +++ b/stl/src/xfexp.cpp @@ -3,7 +3,7 @@ // _FExp function -#include "xmath.h" +#include "xmath.hpp" _EXTERN_C_UNLESS_PURE diff --git a/stl/src/xfprec.cpp b/stl/src/xfprec.cpp index 0606988c7b2..31ca4b8aad1 100644 --- a/stl/src/xfprec.cpp +++ b/stl/src/xfprec.cpp @@ -3,6 +3,6 @@ // _FXp* functions -#include "xmath.h" -#include "xxfftype.h" -#include "xxxprec.h" +#include "xmath.hpp" +#include "xxfftype.hpp" +#include "xxxprec.hpp" diff --git a/stl/src/xfsinh.cpp b/stl/src/xfsinh.cpp index eb9d584b96d..763ff1feb2a 100644 --- a/stl/src/xfsinh.cpp +++ b/stl/src/xfsinh.cpp @@ -3,7 +3,7 @@ // _FSinh function -#include "xmath.h" +#include "xmath.hpp" _EXTERN_C_UNLESS_PURE diff --git a/stl/src/xfvalues.cpp b/stl/src/xfvalues.cpp index 6b13c6388a9..5822c050fae 100644 --- a/stl/src/xfvalues.cpp +++ b/stl/src/xfvalues.cpp @@ -9,7 +9,7 @@ #endif #endif -#include "xmath.h" +#include "xmath.hpp" // macros #define NBITS (16 + _FOFF) diff --git a/stl/src/xgetwctype.cpp b/stl/src/xgetwctype.cpp index f3b6b4f722b..d12dc2f3b07 100644 --- a/stl/src/xgetwctype.cpp +++ b/stl/src/xgetwctype.cpp @@ -5,10 +5,11 @@ #include -#include "awint.h" #include #include +#include "awint.hpp" + _EXTERN_C_UNLESS_PURE _CRTIMP2_PURE short __CLRCALL_PURE_OR_CDECL _Getwctype(wchar_t _Ch, diff --git a/stl/src/xlcosh.cpp b/stl/src/xlcosh.cpp index 124e1d06525..4bc577658be 100644 --- a/stl/src/xlcosh.cpp +++ b/stl/src/xlcosh.cpp @@ -3,7 +3,7 @@ // _LCosh function -#include "xmath.h" +#include "xmath.hpp" _EXTERN_C_UNLESS_PURE diff --git a/stl/src/xldint.cpp b/stl/src/xldint.cpp index 2efcb9edbd6..6139497a449 100644 --- a/stl/src/xldint.cpp +++ b/stl/src/xldint.cpp @@ -3,7 +3,7 @@ // _LDint function -- IEEE 754 version -#include "xmath.h" +#include "xmath.hpp" _EXTERN_C_UNLESS_PURE diff --git a/stl/src/xldscale.cpp b/stl/src/xldscale.cpp index a109d28583a..541bf146be9 100644 --- a/stl/src/xldscale.cpp +++ b/stl/src/xldscale.cpp @@ -3,7 +3,7 @@ // _LDscale function -- IEEE 754 version -#include "xmath.h" +#include "xmath.hpp" _EXTERN_C_UNLESS_PURE diff --git a/stl/src/xldtento.cpp b/stl/src/xldtento.cpp index 0938fe65b36..ad2bfacffd1 100644 --- a/stl/src/xldtento.cpp +++ b/stl/src/xldtento.cpp @@ -3,5 +3,5 @@ // _LDtento function -- IEEE 754 version -#include "xxlftype.h" -#include "xxxdtent.h" +#include "xxlftype.hpp" +#include "xxxdtent.hpp" diff --git a/stl/src/xldtest.cpp b/stl/src/xldtest.cpp index 529cb535eb3..6fc5daf7827 100644 --- a/stl/src/xldtest.cpp +++ b/stl/src/xldtest.cpp @@ -3,7 +3,7 @@ // _LDtest function -- IEEE 754 version -#include "xmath.h" +#include "xmath.hpp" _EXTERN_C_UNLESS_PURE diff --git a/stl/src/xldunsca.cpp b/stl/src/xldunsca.cpp index 3f9308dd38a..19aed391e6b 100644 --- a/stl/src/xldunsca.cpp +++ b/stl/src/xldunsca.cpp @@ -3,7 +3,7 @@ // _LDunscale function -- IEEE 754 version -#include "xmath.h" +#include "xmath.hpp" _EXTERN_C_UNLESS_PURE diff --git a/stl/src/xlexp.cpp b/stl/src/xlexp.cpp index 213751cd026..46275afd763 100644 --- a/stl/src/xlexp.cpp +++ b/stl/src/xlexp.cpp @@ -3,7 +3,7 @@ // _LExp function -#include "xmath.h" +#include "xmath.hpp" _EXTERN_C_UNLESS_PURE diff --git a/stl/src/xlock.cpp b/stl/src/xlock.cpp index bbd37779368..1ffa80e9362 100644 --- a/stl/src/xlock.cpp +++ b/stl/src/xlock.cpp @@ -5,10 +5,11 @@ #include -#include "xmtx.h" #include #include +#include "xmtx.hpp" + _STD_BEGIN constexpr int _Max_lock = 8; // must be power of two diff --git a/stl/src/xlpoly.cpp b/stl/src/xlpoly.cpp index 7333d5b6675..43b4747c119 100644 --- a/stl/src/xlpoly.cpp +++ b/stl/src/xlpoly.cpp @@ -3,7 +3,7 @@ // _LPoly function -#include "xmath.h" +#include "xmath.hpp" _EXTERN_C_UNLESS_PURE diff --git a/stl/src/xlprec.cpp b/stl/src/xlprec.cpp index 896070f75cf..3061c43c846 100644 --- a/stl/src/xlprec.cpp +++ b/stl/src/xlprec.cpp @@ -3,6 +3,6 @@ // _LXp* functions -#include "xmath.h" -#include "xxlftype.h" -#include "xxxprec.h" +#include "xmath.hpp" +#include "xxlftype.hpp" +#include "xxxprec.hpp" diff --git a/stl/src/xlsinh.cpp b/stl/src/xlsinh.cpp index 27457e6fde8..2b53f056ee8 100644 --- a/stl/src/xlsinh.cpp +++ b/stl/src/xlsinh.cpp @@ -3,7 +3,7 @@ // _LSinh function -#include "xmath.h" +#include "xmath.hpp" _EXTERN_C_UNLESS_PURE diff --git a/stl/src/xlvalues.cpp b/stl/src/xlvalues.cpp index a53eb3df1eb..c2720fe8d16 100644 --- a/stl/src/xlvalues.cpp +++ b/stl/src/xlvalues.cpp @@ -9,7 +9,7 @@ #endif #endif -#include "xmath.h" +#include "xmath.hpp" // macros -- 64-bit #define NBITS (48 + _DOFF) diff --git a/stl/src/xmath.h b/stl/src/xmath.hpp similarity index 100% rename from stl/src/xmath.h rename to stl/src/xmath.hpp diff --git a/stl/src/xmtx.cpp b/stl/src/xmtx.cpp index 9a093edcbe4..3cdc59dc5ea 100644 --- a/stl/src/xmtx.cpp +++ b/stl/src/xmtx.cpp @@ -3,9 +3,9 @@ // mutex support -#include "xmtx.h" +#include "xmtx.hpp" -#include "awint.h" +#include "awint.hpp" _EXTERN_C_UNLESS_PURE diff --git a/stl/src/xmtx.h b/stl/src/xmtx.hpp similarity index 100% rename from stl/src/xmtx.h rename to stl/src/xmtx.hpp diff --git a/stl/src/xonce.cpp b/stl/src/xonce.cpp index a7cbfd974c2..ecec8cf53b3 100644 --- a/stl/src/xonce.cpp +++ b/stl/src/xonce.cpp @@ -3,9 +3,10 @@ // _Execute_once function -#include "awint.h" #include +#include "awint.hpp" + _STD_BEGIN // TRANSITION, ABI _CRTIMP2_PURE int __CLRCALL_PURE_OR_CDECL _Execute_once( diff --git a/stl/src/xpoly.cpp b/stl/src/xpoly.cpp index 3348f9026f9..763cf0526c5 100644 --- a/stl/src/xpoly.cpp +++ b/stl/src/xpoly.cpp @@ -3,7 +3,7 @@ // _Poly function -#include "xmath.h" +#include "xmath.hpp" _EXTERN_C_UNLESS_PURE diff --git a/stl/src/xprec.cpp b/stl/src/xprec.cpp index c25b8372894..4097ba6a9fa 100644 --- a/stl/src/xprec.cpp +++ b/stl/src/xprec.cpp @@ -3,6 +3,6 @@ // _Xp* functions -#include "xmath.h" -#include "xxdftype.h" -#include "xxxprec.h" +#include "xmath.hpp" +#include "xxdftype.hpp" +#include "xxxprec.hpp" diff --git a/stl/src/xsinh.cpp b/stl/src/xsinh.cpp index 91a70a7e74f..5f0e127b7d7 100644 --- a/stl/src/xsinh.cpp +++ b/stl/src/xsinh.cpp @@ -3,7 +3,7 @@ // _Sinh function -#include "xmath.h" +#include "xmath.hpp" _EXTERN_C_UNLESS_PURE diff --git a/stl/src/xstod.cpp b/stl/src/xstod.cpp index 1b96f33c00a..32237e76fb8 100644 --- a/stl/src/xstod.cpp +++ b/stl/src/xstod.cpp @@ -5,15 +5,16 @@ #include // include first, for native shared -#include "xmath.h" -#include "xxcctype.h" -#include "xxdftype.h" #include +#include "xmath.hpp" +#include "xxcctype.hpp" +#include "xxdftype.hpp" + _EXTERN_C_UNLESS_PURE _CRTIMP2_PURE FTYPE __CLRCALL_PURE_OR_CDECL _Stodx(const CTYPE* s, CTYPE** endptr, long pten, int* perr) -#include "xxstod.h" +#include "xxstod.hpp" _CRTIMP2_PURE FTYPE __CLRCALL_PURE_OR_CDECL _Stod(const CTYPE* s, CTYPE** endptr, long pten) { // convert string, discard error code diff --git a/stl/src/xstof.cpp b/stl/src/xstof.cpp index 237cda3d871..0c1b790cc76 100644 --- a/stl/src/xstof.cpp +++ b/stl/src/xstof.cpp @@ -5,15 +5,16 @@ #include // include first, for native shared -#include "xmath.h" -#include "xxcctype.h" -#include "xxfftype.h" #include +#include "xmath.hpp" +#include "xxcctype.hpp" +#include "xxfftype.hpp" + _EXTERN_C_UNLESS_PURE _CRTIMP2_PURE FTYPE __CLRCALL_PURE_OR_CDECL _Stofx(const CTYPE* s, CTYPE** endptr, long pten, int* perr) -#include "xxstod.h" +#include "xxstod.hpp" _CRTIMP2_PURE FTYPE __CLRCALL_PURE_OR_CDECL _Stof(const CTYPE* s, CTYPE** endptr, long pten) { // convert string, discard error code diff --git a/stl/src/xstoflt.cpp b/stl/src/xstoflt.cpp index 9ef65dfe932..3bdc27591c8 100644 --- a/stl/src/xstoflt.cpp +++ b/stl/src/xstoflt.cpp @@ -3,11 +3,12 @@ // _Stoflt function -#include "xmath.h" #include #include #include +#include "xmath.hpp" + _EXTERN_C_UNLESS_PURE constexpr int _Base = 10; // decimal diff --git a/stl/src/xstol.cpp b/stl/src/xstol.cpp index f1c5f244795..700fa84c5b6 100644 --- a/stl/src/xstol.cpp +++ b/stl/src/xstol.cpp @@ -5,12 +5,13 @@ #include -#include "xmath.h" #include #include #include #include +#include "xmath.hpp" + _EXTERN_C_UNLESS_PURE _CRTIMP2_PURE unsigned long __CLRCALL_PURE_OR_CDECL _Stoulx(const char*, char**, int, int*); diff --git a/stl/src/xstold.cpp b/stl/src/xstold.cpp index 6262b43fefc..55057b9f464 100644 --- a/stl/src/xstold.cpp +++ b/stl/src/xstold.cpp @@ -5,15 +5,16 @@ #include // include first, for native shared -#include "xmath.h" -#include "xxcctype.h" -#include "xxlftype.h" #include +#include "xmath.hpp" +#include "xxcctype.hpp" +#include "xxlftype.hpp" + _EXTERN_C_UNLESS_PURE _CRTIMP2_PURE FTYPE __CLRCALL_PURE_OR_CDECL _Stoldx(const CTYPE* s, CTYPE** endptr, long pten, int* perr) -#include "xxstod.h" +#include "xxstod.hpp" _CRTIMP2_PURE FTYPE __CLRCALL_PURE_OR_CDECL _Stold(const CTYPE* s, CTYPE** endptr, long pten) { // convert string, discard error code diff --git a/stl/src/xstoll.cpp b/stl/src/xstoll.cpp index df446e5adc0..fda3e0e9b3f 100644 --- a/stl/src/xstoll.cpp +++ b/stl/src/xstoll.cpp @@ -3,12 +3,13 @@ // _Stoll function -#include "xmath.h" #include #include #include #include +#include "xmath.hpp" + _EXTERN_C_UNLESS_PURE _CRTIMP2_PURE unsigned long long __CLRCALL_PURE_OR_CDECL _Stoullx(const char*, char**, int, int*); diff --git a/stl/src/xstopfx.cpp b/stl/src/xstopfx.cpp index ca5d62d1b7c..a33b5054d28 100644 --- a/stl/src/xstopfx.cpp +++ b/stl/src/xstopfx.cpp @@ -3,9 +3,10 @@ // _Stopfx function -#include "xmath.h" #include +#include "xmath.hpp" + _EXTERN_C_UNLESS_PURE int _Stopfx(const char** ps, char** endptr) { // parse prefix of floating-point field diff --git a/stl/src/xstoul.cpp b/stl/src/xstoul.cpp index 1824ef9a2b2..c6f56229410 100644 --- a/stl/src/xstoul.cpp +++ b/stl/src/xstoul.cpp @@ -3,7 +3,6 @@ // _Stoul function -#include "xmath.h" #include #include #include @@ -11,6 +10,8 @@ #include #include +#include "xmath.hpp" + _EXTERN_C_UNLESS_PURE // macros diff --git a/stl/src/xstoull.cpp b/stl/src/xstoull.cpp index 103cf8afe46..b33d0797eb6 100644 --- a/stl/src/xstoull.cpp +++ b/stl/src/xstoull.cpp @@ -3,7 +3,6 @@ // _Stoull function -#include "xmath.h" #include #include #include @@ -11,6 +10,8 @@ #include #include +#include "xmath.hpp" + _EXTERN_C_UNLESS_PURE constexpr int _Base_max = 36; // largest valid base diff --git a/stl/src/xstoxflt.cpp b/stl/src/xstoxflt.cpp index f679521d601..c60fb72d265 100644 --- a/stl/src/xstoxflt.cpp +++ b/stl/src/xstoxflt.cpp @@ -3,12 +3,13 @@ // _Stoxflt function -#include "xmath.h" #include #include #include #include +#include "xmath.hpp" + _EXTERN_C_UNLESS_PURE constexpr int _Base = 16; // hexadecimal diff --git a/stl/src/xstrcoll.cpp b/stl/src/xstrcoll.cpp index 236f56c9271..2def872bf86 100644 --- a/stl/src/xstrcoll.cpp +++ b/stl/src/xstrcoll.cpp @@ -3,7 +3,6 @@ // Compare two strings using the locale LC_COLLATE information. -#include "awint.h" #include #include #include @@ -12,6 +11,8 @@ #include #include // for _Collvec, _Strcoll +#include "awint.hpp" + _EXTERN_C_UNLESS_PURE // int _Strcoll() - Collate locale strings diff --git a/stl/src/xstrxfrm.cpp b/stl/src/xstrxfrm.cpp index e627e8ba1c6..3348cf0957c 100644 --- a/stl/src/xstrxfrm.cpp +++ b/stl/src/xstrxfrm.cpp @@ -3,7 +3,6 @@ // Transform a string using the locale information as set by LC_COLLATE. -#include "awint.h" #include #include #include @@ -13,6 +12,8 @@ #include +#include "awint.hpp" + _EXTERN_C_UNLESS_PURE // size_t _Strxfrm() - Transform a string using locale information diff --git a/stl/src/xtime.cpp b/stl/src/xtime.cpp index 015e259c766..5f1c7f1526f 100644 --- a/stl/src/xtime.cpp +++ b/stl/src/xtime.cpp @@ -3,12 +3,13 @@ // xtime functions -#include "awint.h" #include #include #include #include +#include "awint.hpp" + constexpr long _Nsec_per_sec = 1000000000L; constexpr long _Nsec_per_msec = 1000000L; constexpr int _Msec_per_sec = 1000; diff --git a/stl/src/xtowlower.cpp b/stl/src/xtowlower.cpp index b8e78f7a5d1..8467d22ccb6 100644 --- a/stl/src/xtowlower.cpp +++ b/stl/src/xtowlower.cpp @@ -3,10 +3,11 @@ // _Towlower -- convert wchar_t to lower case -#include "awint.h" #include #include +#include "awint.hpp" + _EXTERN_C_UNLESS_PURE _CRTIMP2_PURE wchar_t __CLRCALL_PURE_OR_CDECL _Towlower( diff --git a/stl/src/xtowupper.cpp b/stl/src/xtowupper.cpp index fc96b729d1f..ed9c28ef5ca 100644 --- a/stl/src/xtowupper.cpp +++ b/stl/src/xtowupper.cpp @@ -3,10 +3,11 @@ // _Towupper -- convert wchar_t to upper case -#include "awint.h" #include #include +#include "awint.hpp" + _EXTERN_C_UNLESS_PURE _CRTIMP2_PURE wchar_t __CLRCALL_PURE_OR_CDECL _Towupper( diff --git a/stl/src/xvalues.cpp b/stl/src/xvalues.cpp index ef6bd85beed..e48d493d42c 100644 --- a/stl/src/xvalues.cpp +++ b/stl/src/xvalues.cpp @@ -9,7 +9,7 @@ #endif #endif -#include "xmath.h" +#include "xmath.hpp" // macros #define NBITS (48 + _DOFF) diff --git a/stl/src/xwcscoll.cpp b/stl/src/xwcscoll.cpp index c718317ea1f..9bf62598030 100644 --- a/stl/src/xwcscoll.cpp +++ b/stl/src/xwcscoll.cpp @@ -3,13 +3,14 @@ // Compare two wchar_t strings using the locale LC_COLLATE information. -#include "awint.h" #include #include #include #include #include // for _Collvec, _Wcscoll +#include "awint.hpp" + _EXTERN_C_UNLESS_PURE // int _Wcscoll() - Collate wide-character locale strings diff --git a/stl/src/xwcsxfrm.cpp b/stl/src/xwcsxfrm.cpp index 6aedfece5d9..31fc90a6b28 100644 --- a/stl/src/xwcsxfrm.cpp +++ b/stl/src/xwcsxfrm.cpp @@ -3,7 +3,6 @@ // Transform a wide-character string using the locale information as set by LC_COLLATE. -#include "awint.h" #include #include #include @@ -11,6 +10,8 @@ #include #include // for _Collvec, _Wcsxfrm +#include "awint.hpp" + _EXTERN_C_UNLESS_PURE // size_t _Wcsxfrm() - Transform a string using locale information diff --git a/stl/src/xwstod.cpp b/stl/src/xwstod.cpp index 5cc1965f9b0..7332252de8f 100644 --- a/stl/src/xwstod.cpp +++ b/stl/src/xwstod.cpp @@ -3,16 +3,17 @@ // _WStod function -#include "xmath.h" -#include "xxdftype.h" -#include "xxwctype.h" #include #include +#include "xmath.hpp" +#include "xxdftype.hpp" +#include "xxwctype.hpp" + _EXTERN_C_UNLESS_PURE _CRTIMP2_PURE FTYPE __CLRCALL_PURE_OR_CDECL _WStodx(const CTYPE* s, CTYPE** endptr, long pten, int* perr) -#include "xxstod.h" +#include "xxstod.hpp" _CRTIMP2_PURE FTYPE __CLRCALL_PURE_OR_CDECL _WStod(const CTYPE* s, CTYPE** endptr, long pten) { // convert string, discard error code diff --git a/stl/src/xwstof.cpp b/stl/src/xwstof.cpp index 1bec69a22bf..aaaf3c28c46 100644 --- a/stl/src/xwstof.cpp +++ b/stl/src/xwstof.cpp @@ -3,15 +3,16 @@ // _WStof function -#include "xmath.h" -#include "xxfftype.h" -#include "xxwctype.h" #include +#include "xmath.hpp" +#include "xxfftype.hpp" +#include "xxwctype.hpp" + _EXTERN_C_UNLESS_PURE _CRTIMP2_PURE FTYPE __CLRCALL_PURE_OR_CDECL _WStofx(const CTYPE* s, CTYPE** endptr, long pten, int* perr) -#include "xxstod.h" +#include "xxstod.hpp" _CRTIMP2_PURE FTYPE __CLRCALL_PURE_OR_CDECL _WStof(const CTYPE* s, CTYPE** endptr, long pten) { // convert string, discard error code diff --git a/stl/src/xwstoflt.cpp b/stl/src/xwstoflt.cpp index 983723c4c4a..a24c70b6bfd 100644 --- a/stl/src/xwstoflt.cpp +++ b/stl/src/xwstoflt.cpp @@ -3,11 +3,12 @@ // _WStoflt function -#include "xmath.h" #include #include #include +#include "xmath.hpp" + _EXTERN_C_UNLESS_PURE constexpr int _Base = 10; // decimal diff --git a/stl/src/xwstold.cpp b/stl/src/xwstold.cpp index d39303dd21f..d8dcc0cdb51 100644 --- a/stl/src/xwstold.cpp +++ b/stl/src/xwstold.cpp @@ -3,15 +3,16 @@ // _WStold function -#include "xmath.h" -#include "xxlftype.h" -#include "xxwctype.h" #include +#include "xmath.hpp" +#include "xxlftype.hpp" +#include "xxwctype.hpp" + _EXTERN_C_UNLESS_PURE _CRTIMP2_PURE FTYPE __CLRCALL_PURE_OR_CDECL _WStoldx(const CTYPE* s, CTYPE** endptr, long pten, int* perr) -#include "xxstod.h" +#include "xxstod.hpp" _CRTIMP2_PURE FTYPE __CLRCALL_PURE_OR_CDECL _WStold(const CTYPE* s, CTYPE** endptr, long pten) { // convert string, discard error code diff --git a/stl/src/xwstopfx.cpp b/stl/src/xwstopfx.cpp index b758193629b..788efb4f0e5 100644 --- a/stl/src/xwstopfx.cpp +++ b/stl/src/xwstopfx.cpp @@ -3,9 +3,10 @@ // _WStopfx function -#include "xmath.h" #include +#include "xmath.hpp" + _EXTERN_C_UNLESS_PURE int _WStopfx(const wchar_t** ps, wchar_t** endptr) { // parse prefix of floating-point field diff --git a/stl/src/xwstoxfl.cpp b/stl/src/xwstoxfl.cpp index 4b5aceb4480..2415692cb28 100644 --- a/stl/src/xwstoxfl.cpp +++ b/stl/src/xwstoxfl.cpp @@ -3,12 +3,13 @@ // _WStoxflt function -#include "xmath.h" #include #include #include #include +#include "xmath.hpp" + _EXTERN_C_UNLESS_PURE constexpr int _Base = 16; // hexadecimal diff --git a/stl/src/xxcctype.h b/stl/src/xxcctype.hpp similarity index 100% rename from stl/src/xxcctype.h rename to stl/src/xxcctype.hpp diff --git a/stl/src/xxdftype.h b/stl/src/xxdftype.hpp similarity index 100% rename from stl/src/xxdftype.h rename to stl/src/xxdftype.hpp diff --git a/stl/src/xxfftype.h b/stl/src/xxfftype.hpp similarity index 100% rename from stl/src/xxfftype.h rename to stl/src/xxfftype.hpp diff --git a/stl/src/xxlftype.h b/stl/src/xxlftype.hpp similarity index 100% rename from stl/src/xxlftype.h rename to stl/src/xxlftype.hpp diff --git a/stl/src/xxstod.h b/stl/src/xxstod.hpp similarity index 100% rename from stl/src/xxstod.h rename to stl/src/xxstod.hpp diff --git a/stl/src/xxwctype.h b/stl/src/xxwctype.hpp similarity index 100% rename from stl/src/xxwctype.h rename to stl/src/xxwctype.hpp diff --git a/stl/src/xxxdtent.h b/stl/src/xxxdtent.hpp similarity index 95% rename from stl/src/xxxdtent.h rename to stl/src/xxxdtent.hpp index 9ba09af3f48..31ba1e2711d 100644 --- a/stl/src/xxxdtent.h +++ b/stl/src/xxxdtent.hpp @@ -3,7 +3,7 @@ // common _[FL]Dtento functionality -#include "xmath.h" +#include "xmath.hpp" #if !defined(MRTDLL) _EXTERN_C diff --git a/stl/src/xxxprec.h b/stl/src/xxxprec.hpp similarity index 96% rename from stl/src/xxxprec.h rename to stl/src/xxxprec.hpp index 72c7041e4f3..c52edb96417 100644 --- a/stl/src/xxxprec.h +++ b/stl/src/xxxprec.hpp @@ -3,8 +3,9 @@ // common extended precision functionality -#include "xmath.h" #include + +#include "xmath.hpp" #if !defined(MRTDLL) _EXTERN_C #endif // defined(MRTDLL) diff --git a/tests/std/include/instantiate_algorithms_nontrivial.hpp b/tests/std/include/instantiate_algorithms_nontrivial.hpp index 8c700cc7582..097fc1fb205 100644 --- a/tests/std/include/instantiate_algorithms_nontrivial.hpp +++ b/tests/std/include/instantiate_algorithms_nontrivial.hpp @@ -5,11 +5,12 @@ // This header contains all code for the instantiate_algorithms_nontrivial* test cases. // The instantiate_algorithm* tests take too long individually, so must be split into two parts. -#include -#include #include #include +#include +#include + #define STATIC_ASSERT(...) static_assert(__VA_ARGS__, #__VA_ARGS__) // This is a type whose constructors and destructor are all non-trivial, diff --git a/tests/std/include/instantiate_containers_iterators_common.hpp b/tests/std/include/instantiate_containers_iterators_common.hpp index edf4e75680d..218eb68f3c4 100644 --- a/tests/std/include/instantiate_containers_iterators_common.hpp +++ b/tests/std/include/instantiate_containers_iterators_common.hpp @@ -7,7 +7,6 @@ #include #include #include -#include #include #include #include @@ -15,6 +14,8 @@ #include #include +#include + // lets INSTANTIATE macro be used for types that aren't default constructible. // Doesn't actually instantiate the type if not default constructible, // but it will inspect the type, which is the true purpose. diff --git a/tests/std/include/test_death.hpp b/tests/std/include/test_death.hpp index d88e73fc951..801f813bcb1 100644 --- a/tests/std/include/test_death.hpp +++ b/tests/std/include/test_death.hpp @@ -7,9 +7,10 @@ #include #include #include -#include #include +#include + namespace std_testing { constexpr int internal_failure = 103; diff --git a/tests/std/include/test_thread_support.hpp b/tests/std/include/test_thread_support.hpp index d147ccf13f1..322612a93bf 100644 --- a/tests/std/include/test_thread_support.hpp +++ b/tests/std/include/test_thread_support.hpp @@ -10,7 +10,7 @@ #include #include #ifdef _MSC_EXTENSIONS -#include +#include #endif // _MSC_EXTENSIONS class one_shot { diff --git a/tests/std/include/test_windows.h b/tests/std/include/test_windows.hpp similarity index 100% rename from tests/std/include/test_windows.h rename to tests/std/include/test_windows.hpp diff --git a/tests/std/tests/Dev08_563686_ostream/test.cpp b/tests/std/tests/Dev08_563686_ostream/test.cpp index 0b855218743..ffaf75ef30e 100644 --- a/tests/std/tests/Dev08_563686_ostream/test.cpp +++ b/tests/std/tests/Dev08_563686_ostream/test.cpp @@ -28,7 +28,8 @@ #include #include #include -#include + +#include int main() { // Track CRT blocks diff --git a/tests/std/tests/Dev09_056375_locale_cleanup/test.cpp b/tests/std/tests/Dev09_056375_locale_cleanup/test.cpp index 160041f7466..d34c7618fef 100644 --- a/tests/std/tests/Dev09_056375_locale_cleanup/test.cpp +++ b/tests/std/tests/Dev09_056375_locale_cleanup/test.cpp @@ -4,7 +4,8 @@ #include #include #include -#include + +#include using namespace std; diff --git a/tests/std/tests/Dev09_056375_locale_cleanup/testdll.cpp b/tests/std/tests/Dev09_056375_locale_cleanup/testdll.cpp index 80b34748a72..93ecade7061 100644 --- a/tests/std/tests/Dev09_056375_locale_cleanup/testdll.cpp +++ b/tests/std/tests/Dev09_056375_locale_cleanup/testdll.cpp @@ -3,7 +3,8 @@ #include #include -#include + +#include using namespace std; diff --git a/tests/std/tests/Dev10_814245_regex_character_class_crash/test.cpp b/tests/std/tests/Dev10_814245_regex_character_class_crash/test.cpp index cf18b60dba5..6b3ca253a43 100644 --- a/tests/std/tests/Dev10_814245_regex_character_class_crash/test.cpp +++ b/tests/std/tests/Dev10_814245_regex_character_class_crash/test.cpp @@ -7,6 +7,7 @@ #include #include #include + #include using namespace std; diff --git a/tests/std/tests/Dev11_0493504_error_category_lifetime/test.cpp b/tests/std/tests/Dev11_0493504_error_category_lifetime/test.cpp index a21e6f23c8e..10891e785b1 100644 --- a/tests/std/tests/Dev11_0493504_error_category_lifetime/test.cpp +++ b/tests/std/tests/Dev11_0493504_error_category_lifetime/test.cpp @@ -3,14 +3,14 @@ #include #include -#include +#include +#include #ifndef _M_CEE #include #endif // _M_CEE -#include -#include +#include using namespace std; diff --git a/tests/std/tests/Dev11_0845312_comprehensive_floating_point/test.cpp b/tests/std/tests/Dev11_0845312_comprehensive_floating_point/test.cpp index 5606d2a94de..28c4a31b82c 100644 --- a/tests/std/tests/Dev11_0845312_comprehensive_floating_point/test.cpp +++ b/tests/std/tests/Dev11_0845312_comprehensive_floating_point/test.cpp @@ -9,7 +9,6 @@ #include #include -#include #include #include #include @@ -17,6 +16,8 @@ #include #include +#include + template static FloatingType parse_as(char const*); diff --git a/tests/std/tests/Dev11_1066931_filesystem_rename_noop/test.cpp b/tests/std/tests/Dev11_1066931_filesystem_rename_noop/test.cpp index 8d5ecaa4302..e4f6a4f33d0 100644 --- a/tests/std/tests/Dev11_1066931_filesystem_rename_noop/test.cpp +++ b/tests/std/tests/Dev11_1066931_filesystem_rename_noop/test.cpp @@ -12,6 +12,7 @@ #include #include #include + #include using namespace std; diff --git a/tests/std/tests/P0024R2_parallel_algorithms_adjacent_difference/test.cpp b/tests/std/tests/P0024R2_parallel_algorithms_adjacent_difference/test.cpp index 10bd8586113..ef17b13b40f 100644 --- a/tests/std/tests/P0024R2_parallel_algorithms_adjacent_difference/test.cpp +++ b/tests/std/tests/P0024R2_parallel_algorithms_adjacent_difference/test.cpp @@ -6,10 +6,11 @@ #include #include #include -#include #include #include +#include + using namespace std; using namespace std::execution; diff --git a/tests/std/tests/P0024R2_parallel_algorithms_adjacent_find/test.cpp b/tests/std/tests/P0024R2_parallel_algorithms_adjacent_find/test.cpp index 437d24ca4fc..56997566cdd 100644 --- a/tests/std/tests/P0024R2_parallel_algorithms_adjacent_find/test.cpp +++ b/tests/std/tests/P0024R2_parallel_algorithms_adjacent_find/test.cpp @@ -9,9 +9,10 @@ #include #include #include -#include #include +#include + using namespace std; using namespace std::execution; diff --git a/tests/std/tests/P0024R2_parallel_algorithms_all_of/test.cpp b/tests/std/tests/P0024R2_parallel_algorithms_all_of/test.cpp index dec31044999..fbf511c823b 100644 --- a/tests/std/tests/P0024R2_parallel_algorithms_all_of/test.cpp +++ b/tests/std/tests/P0024R2_parallel_algorithms_all_of/test.cpp @@ -4,9 +4,10 @@ #include #include #include -#include #include +#include + using namespace std; using namespace std::execution; diff --git a/tests/std/tests/P0024R2_parallel_algorithms_count/test.cpp b/tests/std/tests/P0024R2_parallel_algorithms_count/test.cpp index 80e231a5c3a..53e71465b97 100644 --- a/tests/std/tests/P0024R2_parallel_algorithms_count/test.cpp +++ b/tests/std/tests/P0024R2_parallel_algorithms_count/test.cpp @@ -7,10 +7,11 @@ #include #include #include -#include #include #include +#include + using namespace std; using namespace std::execution; diff --git a/tests/std/tests/P0024R2_parallel_algorithms_equal/test.cpp b/tests/std/tests/P0024R2_parallel_algorithms_equal/test.cpp index 51fb52a7c9e..9e1cadc49e3 100644 --- a/tests/std/tests/P0024R2_parallel_algorithms_equal/test.cpp +++ b/tests/std/tests/P0024R2_parallel_algorithms_equal/test.cpp @@ -7,9 +7,10 @@ #include #include #include -#include #include +#include + using namespace std; using namespace std::execution; diff --git a/tests/std/tests/P0024R2_parallel_algorithms_exclusive_scan/test.cpp b/tests/std/tests/P0024R2_parallel_algorithms_exclusive_scan/test.cpp index fdc38faec01..fb168c1e154 100644 --- a/tests/std/tests/P0024R2_parallel_algorithms_exclusive_scan/test.cpp +++ b/tests/std/tests/P0024R2_parallel_algorithms_exclusive_scan/test.cpp @@ -7,12 +7,13 @@ #include #include #include -#include #include #include #include #include +#include + using namespace std; using namespace std::execution; diff --git a/tests/std/tests/P0024R2_parallel_algorithms_find/test.cpp b/tests/std/tests/P0024R2_parallel_algorithms_find/test.cpp index 1275b9c31f7..97aa3f3e072 100644 --- a/tests/std/tests/P0024R2_parallel_algorithms_find/test.cpp +++ b/tests/std/tests/P0024R2_parallel_algorithms_find/test.cpp @@ -8,10 +8,11 @@ #include #include #include -#include #include #include +#include + using namespace std; using namespace std::execution; diff --git a/tests/std/tests/P0024R2_parallel_algorithms_find_end/test.cpp b/tests/std/tests/P0024R2_parallel_algorithms_find_end/test.cpp index 2b9ef3eff33..b3f4597ebbf 100644 --- a/tests/std/tests/P0024R2_parallel_algorithms_find_end/test.cpp +++ b/tests/std/tests/P0024R2_parallel_algorithms_find_end/test.cpp @@ -8,12 +8,13 @@ #include #include #include -#include #include #include #include #include +#include + using namespace std; using namespace std::execution; diff --git a/tests/std/tests/P0024R2_parallel_algorithms_find_first_of/test.cpp b/tests/std/tests/P0024R2_parallel_algorithms_find_first_of/test.cpp index 88e7e72edf1..0fdb729d2a6 100644 --- a/tests/std/tests/P0024R2_parallel_algorithms_find_first_of/test.cpp +++ b/tests/std/tests/P0024R2_parallel_algorithms_find_first_of/test.cpp @@ -7,11 +7,12 @@ #include #include #include -#include #include #include #include +#include + using namespace std; using namespace std::execution; diff --git a/tests/std/tests/P0024R2_parallel_algorithms_for_each/test.cpp b/tests/std/tests/P0024R2_parallel_algorithms_for_each/test.cpp index 351cb08af6e..bf168a6522d 100644 --- a/tests/std/tests/P0024R2_parallel_algorithms_for_each/test.cpp +++ b/tests/std/tests/P0024R2_parallel_algorithms_for_each/test.cpp @@ -8,9 +8,10 @@ #include #include #include -#include #include +#include + using namespace std; using namespace std::execution; diff --git a/tests/std/tests/P0024R2_parallel_algorithms_inclusive_scan/test.cpp b/tests/std/tests/P0024R2_parallel_algorithms_inclusive_scan/test.cpp index a21be994890..9e9c6276882 100644 --- a/tests/std/tests/P0024R2_parallel_algorithms_inclusive_scan/test.cpp +++ b/tests/std/tests/P0024R2_parallel_algorithms_inclusive_scan/test.cpp @@ -7,12 +7,13 @@ #include #include #include -#include #include #include #include #include +#include + using namespace std; using namespace std::execution; diff --git a/tests/std/tests/P0024R2_parallel_algorithms_is_heap/test.cpp b/tests/std/tests/P0024R2_parallel_algorithms_is_heap/test.cpp index e36b288fffd..32bd54167c7 100644 --- a/tests/std/tests/P0024R2_parallel_algorithms_is_heap/test.cpp +++ b/tests/std/tests/P0024R2_parallel_algorithms_is_heap/test.cpp @@ -6,9 +6,10 @@ #include #include #include -#include #include +#include + using namespace std; using namespace std::execution; diff --git a/tests/std/tests/P0024R2_parallel_algorithms_is_partitioned/test.cpp b/tests/std/tests/P0024R2_parallel_algorithms_is_partitioned/test.cpp index d7e5170cdb5..505091ef94f 100644 --- a/tests/std/tests/P0024R2_parallel_algorithms_is_partitioned/test.cpp +++ b/tests/std/tests/P0024R2_parallel_algorithms_is_partitioned/test.cpp @@ -7,9 +7,10 @@ #include #include #include -#include #include +#include + using namespace std; using namespace std::execution; diff --git a/tests/std/tests/P0024R2_parallel_algorithms_is_sorted/test.cpp b/tests/std/tests/P0024R2_parallel_algorithms_is_sorted/test.cpp index 589a886d335..284c910da3f 100644 --- a/tests/std/tests/P0024R2_parallel_algorithms_is_sorted/test.cpp +++ b/tests/std/tests/P0024R2_parallel_algorithms_is_sorted/test.cpp @@ -10,9 +10,10 @@ #include #include #include -#include #include +#include + using namespace std; using namespace std::execution; diff --git a/tests/std/tests/P0024R2_parallel_algorithms_mismatch/test.cpp b/tests/std/tests/P0024R2_parallel_algorithms_mismatch/test.cpp index f73c96511ad..0b2aac17820 100644 --- a/tests/std/tests/P0024R2_parallel_algorithms_mismatch/test.cpp +++ b/tests/std/tests/P0024R2_parallel_algorithms_mismatch/test.cpp @@ -7,10 +7,11 @@ #include #include #include -#include #include #include +#include + using namespace std; using namespace std::execution; diff --git a/tests/std/tests/P0024R2_parallel_algorithms_partition/test.cpp b/tests/std/tests/P0024R2_parallel_algorithms_partition/test.cpp index 7bb9a3ae40e..345f2c21715 100644 --- a/tests/std/tests/P0024R2_parallel_algorithms_partition/test.cpp +++ b/tests/std/tests/P0024R2_parallel_algorithms_partition/test.cpp @@ -9,11 +9,12 @@ #include #include #include -#include #include #include #include +#include + using namespace std; using namespace std::execution; diff --git a/tests/std/tests/P0024R2_parallel_algorithms_reduce/test.cpp b/tests/std/tests/P0024R2_parallel_algorithms_reduce/test.cpp index 2389fe9126a..3d8cc29fe75 100644 --- a/tests/std/tests/P0024R2_parallel_algorithms_reduce/test.cpp +++ b/tests/std/tests/P0024R2_parallel_algorithms_reduce/test.cpp @@ -8,11 +8,12 @@ #include #include #include -#include #include #include #include +#include + using namespace std; using namespace std::execution; diff --git a/tests/std/tests/P0024R2_parallel_algorithms_remove/test.cpp b/tests/std/tests/P0024R2_parallel_algorithms_remove/test.cpp index 72b2a30e49f..324ff685efa 100644 --- a/tests/std/tests/P0024R2_parallel_algorithms_remove/test.cpp +++ b/tests/std/tests/P0024R2_parallel_algorithms_remove/test.cpp @@ -9,11 +9,12 @@ #include #include #include -#include #include #include #include +#include + using namespace std; using namespace std::execution; diff --git a/tests/std/tests/P0024R2_parallel_algorithms_replace/test.cpp b/tests/std/tests/P0024R2_parallel_algorithms_replace/test.cpp index cbe1af8ffa8..d65b48cae89 100644 --- a/tests/std/tests/P0024R2_parallel_algorithms_replace/test.cpp +++ b/tests/std/tests/P0024R2_parallel_algorithms_replace/test.cpp @@ -4,10 +4,11 @@ #include #include #include -#include #include #include +#include + using namespace std; using namespace std::execution; diff --git a/tests/std/tests/P0024R2_parallel_algorithms_search/test.cpp b/tests/std/tests/P0024R2_parallel_algorithms_search/test.cpp index d01445fb00c..ab5e44b0b90 100644 --- a/tests/std/tests/P0024R2_parallel_algorithms_search/test.cpp +++ b/tests/std/tests/P0024R2_parallel_algorithms_search/test.cpp @@ -8,12 +8,13 @@ #include #include #include -#include #include #include #include #include +#include + using namespace std; using namespace std::execution; diff --git a/tests/std/tests/P0024R2_parallel_algorithms_search_n/test.cpp b/tests/std/tests/P0024R2_parallel_algorithms_search_n/test.cpp index 8133740c7f8..46809e70ef7 100644 --- a/tests/std/tests/P0024R2_parallel_algorithms_search_n/test.cpp +++ b/tests/std/tests/P0024R2_parallel_algorithms_search_n/test.cpp @@ -8,12 +8,13 @@ #include #include #include -#include #include #include #include #include +#include + using namespace std; using namespace std::execution; diff --git a/tests/std/tests/P0024R2_parallel_algorithms_set_difference/test.cpp b/tests/std/tests/P0024R2_parallel_algorithms_set_difference/test.cpp index adde199bb13..09d1834233b 100644 --- a/tests/std/tests/P0024R2_parallel_algorithms_set_difference/test.cpp +++ b/tests/std/tests/P0024R2_parallel_algorithms_set_difference/test.cpp @@ -7,11 +7,12 @@ #include #include #include -#include #include #include #include +#include + using namespace std; using namespace std::execution; diff --git a/tests/std/tests/P0024R2_parallel_algorithms_set_intersection/test.cpp b/tests/std/tests/P0024R2_parallel_algorithms_set_intersection/test.cpp index 397cd56b492..8fde9af7dd9 100644 --- a/tests/std/tests/P0024R2_parallel_algorithms_set_intersection/test.cpp +++ b/tests/std/tests/P0024R2_parallel_algorithms_set_intersection/test.cpp @@ -7,11 +7,12 @@ #include #include #include -#include #include #include #include +#include + using namespace std; using namespace std::execution; diff --git a/tests/std/tests/P0024R2_parallel_algorithms_sort/test.cpp b/tests/std/tests/P0024R2_parallel_algorithms_sort/test.cpp index 58826026f6e..b3d614b1a20 100644 --- a/tests/std/tests/P0024R2_parallel_algorithms_sort/test.cpp +++ b/tests/std/tests/P0024R2_parallel_algorithms_sort/test.cpp @@ -5,10 +5,11 @@ #include #include #include -#include #include #include +#include + using namespace std; using namespace std::execution; diff --git a/tests/std/tests/P0024R2_parallel_algorithms_stable_sort/test.cpp b/tests/std/tests/P0024R2_parallel_algorithms_stable_sort/test.cpp index ed38ac0e3f0..0bf345291fd 100644 --- a/tests/std/tests/P0024R2_parallel_algorithms_stable_sort/test.cpp +++ b/tests/std/tests/P0024R2_parallel_algorithms_stable_sort/test.cpp @@ -5,10 +5,11 @@ #include #include #include -#include #include #include +#include + using namespace std; using namespace std::execution; diff --git a/tests/std/tests/P0024R2_parallel_algorithms_transform/test.cpp b/tests/std/tests/P0024R2_parallel_algorithms_transform/test.cpp index ddfa104c169..88a1775fe55 100644 --- a/tests/std/tests/P0024R2_parallel_algorithms_transform/test.cpp +++ b/tests/std/tests/P0024R2_parallel_algorithms_transform/test.cpp @@ -9,10 +9,11 @@ #include #include #include -#include #include #include +#include + using namespace std; using namespace std::execution; diff --git a/tests/std/tests/P0024R2_parallel_algorithms_transform_exclusive_scan/test.cpp b/tests/std/tests/P0024R2_parallel_algorithms_transform_exclusive_scan/test.cpp index bc6d6e09d26..31f56c01338 100644 --- a/tests/std/tests/P0024R2_parallel_algorithms_transform_exclusive_scan/test.cpp +++ b/tests/std/tests/P0024R2_parallel_algorithms_transform_exclusive_scan/test.cpp @@ -7,12 +7,13 @@ #include #include #include -#include #include #include #include #include +#include + using namespace std; using namespace std::execution; diff --git a/tests/std/tests/P0024R2_parallel_algorithms_transform_inclusive_scan/test.cpp b/tests/std/tests/P0024R2_parallel_algorithms_transform_inclusive_scan/test.cpp index a9f27049876..c2086af481d 100644 --- a/tests/std/tests/P0024R2_parallel_algorithms_transform_inclusive_scan/test.cpp +++ b/tests/std/tests/P0024R2_parallel_algorithms_transform_inclusive_scan/test.cpp @@ -7,12 +7,13 @@ #include #include #include -#include #include #include #include #include +#include + using namespace std; using namespace std::execution; diff --git a/tests/std/tests/P0024R2_parallel_algorithms_transform_reduce/test.cpp b/tests/std/tests/P0024R2_parallel_algorithms_transform_reduce/test.cpp index 607a63e7c0e..393e077b573 100644 --- a/tests/std/tests/P0024R2_parallel_algorithms_transform_reduce/test.cpp +++ b/tests/std/tests/P0024R2_parallel_algorithms_transform_reduce/test.cpp @@ -9,11 +9,12 @@ #include #include #include -#include #include #include #include +#include + using namespace std; using namespace std::execution; diff --git a/tests/std/tests/P0067R5_charconv/double_fixed_precision_to_chars_test_cases_1.hpp b/tests/std/tests/P0067R5_charconv/double_fixed_precision_to_chars_test_cases_1.hpp index 02e081d3ccc..826c5f6ab6c 100644 --- a/tests/std/tests/P0067R5_charconv/double_fixed_precision_to_chars_test_cases_1.hpp +++ b/tests/std/tests/P0067R5_charconv/double_fixed_precision_to_chars_test_cases_1.hpp @@ -38,8 +38,9 @@ #pragma once -#include "test.hpp" #include + +#include "test.hpp" using namespace std; inline constexpr DoublePrecisionToCharsTestCase double_fixed_precision_to_chars_test_cases_1[] = { diff --git a/tests/std/tests/P0067R5_charconv/double_fixed_precision_to_chars_test_cases_2.hpp b/tests/std/tests/P0067R5_charconv/double_fixed_precision_to_chars_test_cases_2.hpp index 8e0fa33f6b5..a21dd09add4 100644 --- a/tests/std/tests/P0067R5_charconv/double_fixed_precision_to_chars_test_cases_2.hpp +++ b/tests/std/tests/P0067R5_charconv/double_fixed_precision_to_chars_test_cases_2.hpp @@ -38,8 +38,9 @@ #pragma once -#include "test.hpp" #include + +#include "test.hpp" using namespace std; inline constexpr DoublePrecisionToCharsTestCase double_fixed_precision_to_chars_test_cases_2[] = { diff --git a/tests/std/tests/P0067R5_charconv/double_fixed_precision_to_chars_test_cases_3.hpp b/tests/std/tests/P0067R5_charconv/double_fixed_precision_to_chars_test_cases_3.hpp index 4c8817988bc..95aab0b8d94 100644 --- a/tests/std/tests/P0067R5_charconv/double_fixed_precision_to_chars_test_cases_3.hpp +++ b/tests/std/tests/P0067R5_charconv/double_fixed_precision_to_chars_test_cases_3.hpp @@ -38,8 +38,9 @@ #pragma once -#include "test.hpp" #include + +#include "test.hpp" using namespace std; inline constexpr DoublePrecisionToCharsTestCase double_fixed_precision_to_chars_test_cases_3[] = { diff --git a/tests/std/tests/P0067R5_charconv/double_fixed_precision_to_chars_test_cases_4.hpp b/tests/std/tests/P0067R5_charconv/double_fixed_precision_to_chars_test_cases_4.hpp index 0c20b6299b3..27c21d8cc02 100644 --- a/tests/std/tests/P0067R5_charconv/double_fixed_precision_to_chars_test_cases_4.hpp +++ b/tests/std/tests/P0067R5_charconv/double_fixed_precision_to_chars_test_cases_4.hpp @@ -3,8 +3,9 @@ #pragma once -#include "test.hpp" #include + +#include "test.hpp" using namespace std; inline constexpr DoublePrecisionToCharsTestCase double_fixed_precision_to_chars_test_cases_4[] = { diff --git a/tests/std/tests/P0067R5_charconv/double_general_precision_to_chars_test_cases.hpp b/tests/std/tests/P0067R5_charconv/double_general_precision_to_chars_test_cases.hpp index 49cddcfad59..5158ae7b374 100644 --- a/tests/std/tests/P0067R5_charconv/double_general_precision_to_chars_test_cases.hpp +++ b/tests/std/tests/P0067R5_charconv/double_general_precision_to_chars_test_cases.hpp @@ -3,8 +3,9 @@ #pragma once -#include "test.hpp" #include + +#include "test.hpp" using namespace std; // C11 7.21.6.1 "The fprintf function"/8: diff --git a/tests/std/tests/P0067R5_charconv/double_hex_precision_to_chars_test_cases.hpp b/tests/std/tests/P0067R5_charconv/double_hex_precision_to_chars_test_cases.hpp index bca2997ca00..f2de8e2a8da 100644 --- a/tests/std/tests/P0067R5_charconv/double_hex_precision_to_chars_test_cases.hpp +++ b/tests/std/tests/P0067R5_charconv/double_hex_precision_to_chars_test_cases.hpp @@ -3,8 +3,9 @@ #pragma once -#include "test.hpp" #include + +#include "test.hpp" using namespace std; inline constexpr DoublePrecisionToCharsTestCase double_hex_precision_to_chars_test_cases[] = { diff --git a/tests/std/tests/P0067R5_charconv/double_scientific_precision_to_chars_test_cases_1.hpp b/tests/std/tests/P0067R5_charconv/double_scientific_precision_to_chars_test_cases_1.hpp index 3699ccf4f67..835111d6ac4 100644 --- a/tests/std/tests/P0067R5_charconv/double_scientific_precision_to_chars_test_cases_1.hpp +++ b/tests/std/tests/P0067R5_charconv/double_scientific_precision_to_chars_test_cases_1.hpp @@ -38,8 +38,9 @@ #pragma once -#include "test.hpp" #include + +#include "test.hpp" using namespace std; inline constexpr DoublePrecisionToCharsTestCase double_scientific_precision_to_chars_test_cases_1[] = { diff --git a/tests/std/tests/P0067R5_charconv/double_scientific_precision_to_chars_test_cases_2.hpp b/tests/std/tests/P0067R5_charconv/double_scientific_precision_to_chars_test_cases_2.hpp index 5b9bdc26c83..94523ba10f8 100644 --- a/tests/std/tests/P0067R5_charconv/double_scientific_precision_to_chars_test_cases_2.hpp +++ b/tests/std/tests/P0067R5_charconv/double_scientific_precision_to_chars_test_cases_2.hpp @@ -38,8 +38,9 @@ #pragma once -#include "test.hpp" #include + +#include "test.hpp" using namespace std; inline constexpr DoublePrecisionToCharsTestCase double_scientific_precision_to_chars_test_cases_2[] = { diff --git a/tests/std/tests/P0067R5_charconv/double_scientific_precision_to_chars_test_cases_3.hpp b/tests/std/tests/P0067R5_charconv/double_scientific_precision_to_chars_test_cases_3.hpp index a3b6907e057..c2454e26903 100644 --- a/tests/std/tests/P0067R5_charconv/double_scientific_precision_to_chars_test_cases_3.hpp +++ b/tests/std/tests/P0067R5_charconv/double_scientific_precision_to_chars_test_cases_3.hpp @@ -38,8 +38,9 @@ #pragma once -#include "test.hpp" #include + +#include "test.hpp" using namespace std; inline constexpr DoublePrecisionToCharsTestCase double_scientific_precision_to_chars_test_cases_3[] = { diff --git a/tests/std/tests/P0067R5_charconv/double_scientific_precision_to_chars_test_cases_4.hpp b/tests/std/tests/P0067R5_charconv/double_scientific_precision_to_chars_test_cases_4.hpp index 1048a37cd6b..5f5bb08ecf3 100644 --- a/tests/std/tests/P0067R5_charconv/double_scientific_precision_to_chars_test_cases_4.hpp +++ b/tests/std/tests/P0067R5_charconv/double_scientific_precision_to_chars_test_cases_4.hpp @@ -3,8 +3,9 @@ #pragma once -#include "test.hpp" #include + +#include "test.hpp" using namespace std; inline constexpr DoublePrecisionToCharsTestCase double_scientific_precision_to_chars_test_cases_4[] = { diff --git a/tests/std/tests/P0067R5_charconv/double_to_chars_test_cases.hpp b/tests/std/tests/P0067R5_charconv/double_to_chars_test_cases.hpp index 5b5e41b6dfc..08971bf46b2 100644 --- a/tests/std/tests/P0067R5_charconv/double_to_chars_test_cases.hpp +++ b/tests/std/tests/P0067R5_charconv/double_to_chars_test_cases.hpp @@ -38,8 +38,9 @@ #pragma once -#include "test.hpp" #include + +#include "test.hpp" using namespace std; inline constexpr DoubleToCharsTestCase double_to_chars_test_cases[] = { diff --git a/tests/std/tests/P0067R5_charconv/float_fixed_precision_to_chars_test_cases.hpp b/tests/std/tests/P0067R5_charconv/float_fixed_precision_to_chars_test_cases.hpp index 702de2e1d18..c1b237b5573 100644 --- a/tests/std/tests/P0067R5_charconv/float_fixed_precision_to_chars_test_cases.hpp +++ b/tests/std/tests/P0067R5_charconv/float_fixed_precision_to_chars_test_cases.hpp @@ -38,8 +38,9 @@ #pragma once -#include "test.hpp" #include + +#include "test.hpp" using namespace std; inline constexpr FloatPrecisionToCharsTestCase float_fixed_precision_to_chars_test_cases[] = { diff --git a/tests/std/tests/P0067R5_charconv/float_general_precision_to_chars_test_cases.hpp b/tests/std/tests/P0067R5_charconv/float_general_precision_to_chars_test_cases.hpp index 8a3f4c9283a..2d3277a4a24 100644 --- a/tests/std/tests/P0067R5_charconv/float_general_precision_to_chars_test_cases.hpp +++ b/tests/std/tests/P0067R5_charconv/float_general_precision_to_chars_test_cases.hpp @@ -3,8 +3,9 @@ #pragma once -#include "test.hpp" #include + +#include "test.hpp" using namespace std; // C11 7.21.6.1 "The fprintf function"/8: diff --git a/tests/std/tests/P0067R5_charconv/float_hex_precision_to_chars_test_cases.hpp b/tests/std/tests/P0067R5_charconv/float_hex_precision_to_chars_test_cases.hpp index 3f33119c17e..dacd2cac22b 100644 --- a/tests/std/tests/P0067R5_charconv/float_hex_precision_to_chars_test_cases.hpp +++ b/tests/std/tests/P0067R5_charconv/float_hex_precision_to_chars_test_cases.hpp @@ -3,8 +3,9 @@ #pragma once -#include "test.hpp" #include + +#include "test.hpp" using namespace std; inline constexpr FloatPrecisionToCharsTestCase float_hex_precision_to_chars_test_cases[] = { diff --git a/tests/std/tests/P0067R5_charconv/float_scientific_precision_to_chars_test_cases.hpp b/tests/std/tests/P0067R5_charconv/float_scientific_precision_to_chars_test_cases.hpp index eac69ed9aef..59b5441f873 100644 --- a/tests/std/tests/P0067R5_charconv/float_scientific_precision_to_chars_test_cases.hpp +++ b/tests/std/tests/P0067R5_charconv/float_scientific_precision_to_chars_test_cases.hpp @@ -38,8 +38,9 @@ #pragma once -#include "test.hpp" #include + +#include "test.hpp" using namespace std; inline constexpr FloatPrecisionToCharsTestCase float_scientific_precision_to_chars_test_cases[] = { diff --git a/tests/std/tests/P0067R5_charconv/float_to_chars_test_cases.hpp b/tests/std/tests/P0067R5_charconv/float_to_chars_test_cases.hpp index 3c2d67f7935..b0809469f5b 100644 --- a/tests/std/tests/P0067R5_charconv/float_to_chars_test_cases.hpp +++ b/tests/std/tests/P0067R5_charconv/float_to_chars_test_cases.hpp @@ -38,8 +38,9 @@ #pragma once -#include "test.hpp" #include + +#include "test.hpp" using namespace std; inline constexpr FloatToCharsTestCase float_to_chars_test_cases[] = { diff --git a/tests/std/tests/P0067R5_charconv/test.cpp b/tests/std/tests/P0067R5_charconv/test.cpp index c3fd84a880a..5e8e804bc09 100644 --- a/tests/std/tests/P0067R5_charconv/test.cpp +++ b/tests/std/tests/P0067R5_charconv/test.cpp @@ -3,31 +3,12 @@ #include "test.hpp" -#include "double_fixed_precision_to_chars_test_cases_1.hpp" -#include "double_fixed_precision_to_chars_test_cases_2.hpp" -#include "double_fixed_precision_to_chars_test_cases_3.hpp" -#include "double_fixed_precision_to_chars_test_cases_4.hpp" -#include "double_from_chars_test_cases.hpp" -#include "double_general_precision_to_chars_test_cases.hpp" -#include "double_hex_precision_to_chars_test_cases.hpp" -#include "double_scientific_precision_to_chars_test_cases_1.hpp" -#include "double_scientific_precision_to_chars_test_cases_2.hpp" -#include "double_scientific_precision_to_chars_test_cases_3.hpp" -#include "double_scientific_precision_to_chars_test_cases_4.hpp" -#include "double_to_chars_test_cases.hpp" -#include "float_fixed_precision_to_chars_test_cases.hpp" -#include "float_from_chars_test_cases.hpp" -#include "float_general_precision_to_chars_test_cases.hpp" -#include "float_hex_precision_to_chars_test_cases.hpp" -#include "float_scientific_precision_to_chars_test_cases.hpp" -#include "float_to_chars_test_cases.hpp" #include #include #include #include #include #include -#include #include #include #include @@ -45,6 +26,26 @@ #include #include +#include "double_fixed_precision_to_chars_test_cases_1.hpp" +#include "double_fixed_precision_to_chars_test_cases_2.hpp" +#include "double_fixed_precision_to_chars_test_cases_3.hpp" +#include "double_fixed_precision_to_chars_test_cases_4.hpp" +#include "double_from_chars_test_cases.hpp" +#include "double_general_precision_to_chars_test_cases.hpp" +#include "double_hex_precision_to_chars_test_cases.hpp" +#include "double_scientific_precision_to_chars_test_cases_1.hpp" +#include "double_scientific_precision_to_chars_test_cases_2.hpp" +#include "double_scientific_precision_to_chars_test_cases_3.hpp" +#include "double_scientific_precision_to_chars_test_cases_4.hpp" +#include "double_to_chars_test_cases.hpp" +#include "float_fixed_precision_to_chars_test_cases.hpp" +#include "float_from_chars_test_cases.hpp" +#include "float_general_precision_to_chars_test_cases.hpp" +#include "float_hex_precision_to_chars_test_cases.hpp" +#include "float_scientific_precision_to_chars_test_cases.hpp" +#include "float_to_chars_test_cases.hpp" +#include + using namespace std; void initialize_randomness(mt19937_64& mt64, const int argc, char** const argv) { diff --git a/tests/std/tests/P0122R7_span_death/test.cpp b/tests/std/tests/P0122R7_span_death/test.cpp index d352fd9ba69..619dae9b523 100644 --- a/tests/std/tests/P0122R7_span_death/test.cpp +++ b/tests/std/tests/P0122R7_span_death/test.cpp @@ -6,8 +6,9 @@ #include #include #include -#include #include + +#include using namespace std; int globalArray[5]{10, 20, 30, 40, 50}; diff --git a/tests/std/tests/P0218R1_filesystem/test.cpp b/tests/std/tests/P0218R1_filesystem/test.cpp index 5bf057a2ba6..c6c70556fa3 100644 --- a/tests/std/tests/P0218R1_filesystem/test.cpp +++ b/tests/std/tests/P0218R1_filesystem/test.cpp @@ -23,11 +23,12 @@ #include #include #include -#include #include #include #include +#include + using namespace std; using namespace std::chrono; using namespace std::filesystem; diff --git a/tests/std/tests/P0220R1_sample/test.cpp b/tests/std/tests/P0220R1_sample/test.cpp index 952cd023859..ffe03d26356 100644 --- a/tests/std/tests/P0220R1_sample/test.cpp +++ b/tests/std/tests/P0220R1_sample/test.cpp @@ -1,7 +1,6 @@ // Copyright (c) Microsoft Corporation. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception -#include "adapterator.hpp" #include #include #include @@ -11,6 +10,8 @@ #include #include +#include "adapterator.hpp" + using namespace std; namespace { diff --git a/tests/std/tests/P0220R1_string_view/test.cpp b/tests/std/tests/P0220R1_string_view/test.cpp index ef9d7027f35..bb81bb98d01 100644 --- a/tests/std/tests/P0220R1_string_view/test.cpp +++ b/tests/std/tests/P0220R1_string_view/test.cpp @@ -2,13 +2,14 @@ // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception #include -#include #include #include #include #include #include +#include + using namespace std; template diff --git a/tests/std/tests/P0896R4_ranges_alg_adjacent_find/test.cpp b/tests/std/tests/P0896R4_ranges_alg_adjacent_find/test.cpp index 7c27b1e89e1..690e1270ac8 100644 --- a/tests/std/tests/P0896R4_ranges_alg_adjacent_find/test.cpp +++ b/tests/std/tests/P0896R4_ranges_alg_adjacent_find/test.cpp @@ -7,7 +7,7 @@ #include #include #include -// + #include constexpr void smoke_test() { diff --git a/tests/std/tests/P0896R4_ranges_alg_all_of/test.cpp b/tests/std/tests/P0896R4_ranges_alg_all_of/test.cpp index ba239029948..0ed30798a1e 100644 --- a/tests/std/tests/P0896R4_ranges_alg_all_of/test.cpp +++ b/tests/std/tests/P0896R4_ranges_alg_all_of/test.cpp @@ -6,7 +6,7 @@ #include #include #include -// + #include constexpr auto is_even = [](auto const& x) { return x % 2 == 0; }; diff --git a/tests/std/tests/P0896R4_ranges_alg_any_of/test.cpp b/tests/std/tests/P0896R4_ranges_alg_any_of/test.cpp index d4b4a4b1c41..8b3a17940cc 100644 --- a/tests/std/tests/P0896R4_ranges_alg_any_of/test.cpp +++ b/tests/std/tests/P0896R4_ranges_alg_any_of/test.cpp @@ -6,7 +6,7 @@ #include #include #include -// + #include constexpr auto is_even = [](auto const& x) { return x % 2 == 0; }; diff --git a/tests/std/tests/P0896R4_ranges_alg_copy/test.cpp b/tests/std/tests/P0896R4_ranges_alg_copy/test.cpp index 278a03d0c8a..833c93f946a 100644 --- a/tests/std/tests/P0896R4_ranges_alg_copy/test.cpp +++ b/tests/std/tests/P0896R4_ranges_alg_copy/test.cpp @@ -6,7 +6,7 @@ #include #include #include -// + #include constexpr void smoke_test() { diff --git a/tests/std/tests/P0896R4_ranges_alg_copy_if/test.cpp b/tests/std/tests/P0896R4_ranges_alg_copy_if/test.cpp index 3c04d472235..1f6beff7c19 100644 --- a/tests/std/tests/P0896R4_ranges_alg_copy_if/test.cpp +++ b/tests/std/tests/P0896R4_ranges_alg_copy_if/test.cpp @@ -8,7 +8,7 @@ #include #include #include -// + #include template diff --git a/tests/std/tests/P0896R4_ranges_alg_copy_n/test.cpp b/tests/std/tests/P0896R4_ranges_alg_copy_n/test.cpp index 02c73be1397..403893263a2 100644 --- a/tests/std/tests/P0896R4_ranges_alg_copy_n/test.cpp +++ b/tests/std/tests/P0896R4_ranges_alg_copy_n/test.cpp @@ -6,7 +6,7 @@ #include #include #include -// + #include constexpr void smoke_test() { diff --git a/tests/std/tests/P0896R4_ranges_alg_count/test.cpp b/tests/std/tests/P0896R4_ranges_alg_count/test.cpp index 2eb1f070967..c27192afb2c 100644 --- a/tests/std/tests/P0896R4_ranges_alg_count/test.cpp +++ b/tests/std/tests/P0896R4_ranges_alg_count/test.cpp @@ -7,7 +7,7 @@ #include #include #include -// + #include constexpr void smoke_test() { diff --git a/tests/std/tests/P0896R4_ranges_alg_count_if/test.cpp b/tests/std/tests/P0896R4_ranges_alg_count_if/test.cpp index 404dfc4b4e8..f5000f216e0 100644 --- a/tests/std/tests/P0896R4_ranges_alg_count_if/test.cpp +++ b/tests/std/tests/P0896R4_ranges_alg_count_if/test.cpp @@ -7,7 +7,7 @@ #include #include #include -// + #include constexpr auto is_even = [](auto const& x) { return x % 2 == 0; }; diff --git a/tests/std/tests/P0896R4_ranges_alg_equal/test.cpp b/tests/std/tests/P0896R4_ranges_alg_equal/test.cpp index b641e2fc554..c393d88e285 100644 --- a/tests/std/tests/P0896R4_ranges_alg_equal/test.cpp +++ b/tests/std/tests/P0896R4_ranges_alg_equal/test.cpp @@ -7,7 +7,7 @@ #include #include #include -// + #include constexpr void smoke_test() { diff --git a/tests/std/tests/P0896R4_ranges_alg_find/test.cpp b/tests/std/tests/P0896R4_ranges_alg_find/test.cpp index 825c7d7132c..417afcd1c7b 100644 --- a/tests/std/tests/P0896R4_ranges_alg_find/test.cpp +++ b/tests/std/tests/P0896R4_ranges_alg_find/test.cpp @@ -7,7 +7,7 @@ #include #include #include -// + #include constexpr void smoke_test() { diff --git a/tests/std/tests/P0896R4_ranges_alg_find_end/test.cpp b/tests/std/tests/P0896R4_ranges_alg_find_end/test.cpp index b0d2b1ff0ac..d397416cf3b 100644 --- a/tests/std/tests/P0896R4_ranges_alg_find_end/test.cpp +++ b/tests/std/tests/P0896R4_ranges_alg_find_end/test.cpp @@ -7,7 +7,7 @@ #include #include #include -// + #include constexpr void smoke_test() { diff --git a/tests/std/tests/P0896R4_ranges_alg_find_first_of/test.cpp b/tests/std/tests/P0896R4_ranges_alg_find_first_of/test.cpp index 8c9c7019c22..8c6df94df4f 100644 --- a/tests/std/tests/P0896R4_ranges_alg_find_first_of/test.cpp +++ b/tests/std/tests/P0896R4_ranges_alg_find_first_of/test.cpp @@ -7,7 +7,7 @@ #include #include #include -// + #include constexpr void smoke_test() { diff --git a/tests/std/tests/P0896R4_ranges_alg_find_if/test.cpp b/tests/std/tests/P0896R4_ranges_alg_find_if/test.cpp index 55a19dde851..769340445ca 100644 --- a/tests/std/tests/P0896R4_ranges_alg_find_if/test.cpp +++ b/tests/std/tests/P0896R4_ranges_alg_find_if/test.cpp @@ -7,7 +7,7 @@ #include #include #include -// + #include constexpr void smoke_test() { diff --git a/tests/std/tests/P0896R4_ranges_alg_find_if_not/test.cpp b/tests/std/tests/P0896R4_ranges_alg_find_if_not/test.cpp index f8d61ef290d..20c6e22985d 100644 --- a/tests/std/tests/P0896R4_ranges_alg_find_if_not/test.cpp +++ b/tests/std/tests/P0896R4_ranges_alg_find_if_not/test.cpp @@ -7,7 +7,7 @@ #include #include #include -// + #include constexpr void smoke_test() { diff --git a/tests/std/tests/P0896R4_ranges_alg_for_each/test.cpp b/tests/std/tests/P0896R4_ranges_alg_for_each/test.cpp index b570ea6f2a8..67549cd3170 100644 --- a/tests/std/tests/P0896R4_ranges_alg_for_each/test.cpp +++ b/tests/std/tests/P0896R4_ranges_alg_for_each/test.cpp @@ -8,7 +8,7 @@ #include #include #include -// + #include constexpr void smoke_test() { diff --git a/tests/std/tests/P0896R4_ranges_alg_for_each_n/test.cpp b/tests/std/tests/P0896R4_ranges_alg_for_each_n/test.cpp index ca054ec5add..9a153305761 100644 --- a/tests/std/tests/P0896R4_ranges_alg_for_each_n/test.cpp +++ b/tests/std/tests/P0896R4_ranges_alg_for_each_n/test.cpp @@ -7,7 +7,7 @@ #include #include #include -// + #include constexpr void smoke_test() { diff --git a/tests/std/tests/P0896R4_ranges_alg_mismatch/test.cpp b/tests/std/tests/P0896R4_ranges_alg_mismatch/test.cpp index 509db62414b..e86419020c1 100644 --- a/tests/std/tests/P0896R4_ranges_alg_mismatch/test.cpp +++ b/tests/std/tests/P0896R4_ranges_alg_mismatch/test.cpp @@ -7,7 +7,7 @@ #include #include #include -// + #include constexpr void smoke_test() { diff --git a/tests/std/tests/P0896R4_ranges_alg_move/test.cpp b/tests/std/tests/P0896R4_ranges_alg_move/test.cpp index d87ad426610..dc5ef5b341d 100644 --- a/tests/std/tests/P0896R4_ranges_alg_move/test.cpp +++ b/tests/std/tests/P0896R4_ranges_alg_move/test.cpp @@ -4,10 +4,11 @@ #include #include #include -#include #include #include +#include + struct int_wrapper { int val = 10; constexpr int_wrapper() = default; diff --git a/tests/std/tests/P0896R4_ranges_alg_none_of/test.cpp b/tests/std/tests/P0896R4_ranges_alg_none_of/test.cpp index a160dd6bb17..0870300cf0f 100644 --- a/tests/std/tests/P0896R4_ranges_alg_none_of/test.cpp +++ b/tests/std/tests/P0896R4_ranges_alg_none_of/test.cpp @@ -6,7 +6,7 @@ #include #include #include -// + #include constexpr auto is_even = [](auto const& x) { return x % 2 == 0; }; diff --git a/tests/std/tests/P0896R4_ranges_subrange/test.cpp b/tests/std/tests/P0896R4_ranges_subrange/test.cpp index 1716ef933a7..610d9f70b78 100644 --- a/tests/std/tests/P0896R4_ranges_subrange/test.cpp +++ b/tests/std/tests/P0896R4_ranges_subrange/test.cpp @@ -13,7 +13,7 @@ #include #include #include -// + #include "range_algorithm_support.hpp" #define ASSERT(...) assert((__VA_ARGS__)) diff --git a/tests/std/tests/P0896R4_ranges_test_machinery/test.cpp b/tests/std/tests/P0896R4_ranges_test_machinery/test.cpp index 9f362e7e5ff..c752ce5e38f 100644 --- a/tests/std/tests/P0896R4_ranges_test_machinery/test.cpp +++ b/tests/std/tests/P0896R4_ranges_test_machinery/test.cpp @@ -3,7 +3,7 @@ #include #include -// + #include #define STATIC_ASSERT(...) static_assert(__VA_ARGS__, #__VA_ARGS__) diff --git a/tests/std/tests/P0896R4_ranges_to_address/test.cpp b/tests/std/tests/P0896R4_ranges_to_address/test.cpp index 27b93db7a36..34070d36885 100644 --- a/tests/std/tests/P0896R4_ranges_to_address/test.cpp +++ b/tests/std/tests/P0896R4_ranges_to_address/test.cpp @@ -4,10 +4,11 @@ #include #include #include -#include #include #include +#include + template class> inline constexpr bool is_specialization = false; template class T> diff --git a/tests/std/tests/VSO_0000000_any_calling_conventions/a.cpp b/tests/std/tests/VSO_0000000_any_calling_conventions/a.cpp index 3e605926df8..942a4d4d0e5 100644 --- a/tests/std/tests/VSO_0000000_any_calling_conventions/a.cpp +++ b/tests/std/tests/VSO_0000000_any_calling_conventions/a.cpp @@ -1,11 +1,12 @@ // Copyright (c) Microsoft Corporation. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception -#include "ab.hpp" #include #include #include +#include "ab.hpp" + int small_but_nontrivial::constructions = 0; int small_but_nontrivial::defaults = 0; int small_but_nontrivial::copies = 0; diff --git a/tests/std/tests/VSO_0000000_any_calling_conventions/b.cpp b/tests/std/tests/VSO_0000000_any_calling_conventions/b.cpp index 486557d6fc5..14a0c1130a3 100644 --- a/tests/std/tests/VSO_0000000_any_calling_conventions/b.cpp +++ b/tests/std/tests/VSO_0000000_any_calling_conventions/b.cpp @@ -1,10 +1,11 @@ // Copyright (c) Microsoft Corporation. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception -#include "ab.hpp" #include #include +#include "ab.hpp" + std::any __cdecl f(std::any a) { std::any b = a; { std::any c = std::move(a); } diff --git a/tests/std/tests/VSO_0000000_c_math_functions/both.cpp b/tests/std/tests/VSO_0000000_c_math_functions/both.cpp index 46fe27c44e9..a559c1af80b 100644 --- a/tests/std/tests/VSO_0000000_c_math_functions/both.cpp +++ b/tests/std/tests/VSO_0000000_c_math_functions/both.cpp @@ -1,8 +1,9 @@ // Copyright (c) Microsoft Corporation. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception -#include "type_asserts.hpp" #include #include +#include "type_asserts.hpp" + int main() {} // COMPILE-ONLY diff --git a/tests/std/tests/VSO_0000000_c_math_functions/cmath.cpp b/tests/std/tests/VSO_0000000_c_math_functions/cmath.cpp index d387a96b0da..1edad3f2e04 100644 --- a/tests/std/tests/VSO_0000000_c_math_functions/cmath.cpp +++ b/tests/std/tests/VSO_0000000_c_math_functions/cmath.cpp @@ -1,5 +1,6 @@ // Copyright (c) Microsoft Corporation. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception -#include "type_asserts.hpp" #include + +#include "type_asserts.hpp" diff --git a/tests/std/tests/VSO_0000000_c_math_functions/cstdlib.cpp b/tests/std/tests/VSO_0000000_c_math_functions/cstdlib.cpp index 84129451c02..e63b76475c7 100644 --- a/tests/std/tests/VSO_0000000_c_math_functions/cstdlib.cpp +++ b/tests/std/tests/VSO_0000000_c_math_functions/cstdlib.cpp @@ -1,5 +1,6 @@ // Copyright (c) Microsoft Corporation. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception -#include "type_asserts.hpp" #include + +#include "type_asserts.hpp" diff --git a/tests/std/tests/VSO_0000000_condition_variable_any_exceptions/test.cpp b/tests/std/tests/VSO_0000000_condition_variable_any_exceptions/test.cpp index fc05aa0b1e3..22a4e69a802 100644 --- a/tests/std/tests/VSO_0000000_condition_variable_any_exceptions/test.cpp +++ b/tests/std/tests/VSO_0000000_condition_variable_any_exceptions/test.cpp @@ -9,10 +9,11 @@ #include #include #include -#include #include #include +#include + using namespace std; using namespace std::chrono; diff --git a/tests/std/tests/VSO_0000000_fancy_pointers/test.cpp b/tests/std/tests/VSO_0000000_fancy_pointers/test.cpp index 356b03dde25..fa7ec63ce38 100644 --- a/tests/std/tests/VSO_0000000_fancy_pointers/test.cpp +++ b/tests/std/tests/VSO_0000000_fancy_pointers/test.cpp @@ -5,7 +5,6 @@ #include #include #include -#include #include #include #include @@ -19,6 +18,8 @@ #include #include +#include + #define STATIC_ASSERT(...) static_assert(__VA_ARGS__, #__VA_ARGS__) int main() {} // COMPILE-ONLY diff --git a/tests/std/tests/VSO_0000000_instantiate_containers/test.cpp b/tests/std/tests/VSO_0000000_instantiate_containers/test.cpp index 63e6737c1cd..b7d8cf4595c 100644 --- a/tests/std/tests/VSO_0000000_instantiate_containers/test.cpp +++ b/tests/std/tests/VSO_0000000_instantiate_containers/test.cpp @@ -22,7 +22,6 @@ #include #include #include -#include #include #include #include @@ -40,6 +39,8 @@ #include #include +#include + using namespace std; #define STATIC_ASSERT(...) static_assert(__VA_ARGS__, #__VA_ARGS__) diff --git a/tests/std/tests/VSO_0000000_list_iterator_debugging/test.cpp b/tests/std/tests/VSO_0000000_list_iterator_debugging/test.cpp index edc92b45d17..a688a5b8bf2 100644 --- a/tests/std/tests/VSO_0000000_list_iterator_debugging/test.cpp +++ b/tests/std/tests/VSO_0000000_list_iterator_debugging/test.cpp @@ -9,10 +9,11 @@ #include #include #include -#include #include #include +#include + using namespace std; struct non_noexcept_less_int { diff --git a/tests/std/tests/VSO_0000000_path_stream_parameter/test.cpp b/tests/std/tests/VSO_0000000_path_stream_parameter/test.cpp index c2a4a2caf02..024d6152f2a 100644 --- a/tests/std/tests/VSO_0000000_path_stream_parameter/test.cpp +++ b/tests/std/tests/VSO_0000000_path_stream_parameter/test.cpp @@ -8,6 +8,7 @@ #include #include #include + #include using namespace std; diff --git a/tests/std/tests/VSO_0000000_regex_use/test.cpp b/tests/std/tests/VSO_0000000_regex_use/test.cpp index c878422aba5..caa2afe2be0 100644 --- a/tests/std/tests/VSO_0000000_regex_use/test.cpp +++ b/tests/std/tests/VSO_0000000_regex_use/test.cpp @@ -5,6 +5,7 @@ #include #include #include + #include using namespace std; diff --git a/tests/std/tests/VSO_0000000_string_view_idl/test.cpp b/tests/std/tests/VSO_0000000_string_view_idl/test.cpp index a5f02258ab5..a9d9449915a 100644 --- a/tests/std/tests/VSO_0000000_string_view_idl/test.cpp +++ b/tests/std/tests/VSO_0000000_string_view_idl/test.cpp @@ -5,6 +5,7 @@ #include #include + #include using namespace std; diff --git a/tests/std/tests/VSO_0121275_filesystem_canonical_should_handle_many_double_dots/test.cpp b/tests/std/tests/VSO_0121275_filesystem_canonical_should_handle_many_double_dots/test.cpp index 374d7254e2a..f6878463eb0 100644 --- a/tests/std/tests/VSO_0121275_filesystem_canonical_should_handle_many_double_dots/test.cpp +++ b/tests/std/tests/VSO_0121275_filesystem_canonical_should_handle_many_double_dots/test.cpp @@ -10,9 +10,10 @@ #include #include #include -#include #include +#include + using namespace std; namespace fs = std::experimental::filesystem; diff --git a/tests/std/tests/VSO_0135428_custom_char_traits_string/test.cpp b/tests/std/tests/VSO_0135428_custom_char_traits_string/test.cpp index 1c18cc21591..9b415725606 100644 --- a/tests/std/tests/VSO_0135428_custom_char_traits_string/test.cpp +++ b/tests/std/tests/VSO_0135428_custom_char_traits_string/test.cpp @@ -2,10 +2,11 @@ // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception #include -#include #include #include +#include + using namespace std; using tstring = basic_string; // disable memcpy optimizations in basic_string diff --git a/tests/std/tests/VSO_0144114_sleep_until/test.cpp b/tests/std/tests/VSO_0144114_sleep_until/test.cpp index ae4c139c1e7..5c36b9ca81b 100644 --- a/tests/std/tests/VSO_0144114_sleep_until/test.cpp +++ b/tests/std/tests/VSO_0144114_sleep_until/test.cpp @@ -4,9 +4,10 @@ #include #include #include -#include #include +#include + using namespace std; using namespace std::chrono; diff --git a/tests/std/tests/VSO_0226079_mutex/test.cpp b/tests/std/tests/VSO_0226079_mutex/test.cpp index 26c4826ef6a..a6be159d860 100644 --- a/tests/std/tests/VSO_0226079_mutex/test.cpp +++ b/tests/std/tests/VSO_0226079_mutex/test.cpp @@ -10,10 +10,11 @@ #include #include #include -#include #include #include +#include + using namespace std; using namespace std::chrono; diff --git a/tests/std/tests/VSO_0299624_checked_array_iterator_idl/test.cpp b/tests/std/tests/VSO_0299624_checked_array_iterator_idl/test.cpp index 41aff180cbf..cc58553189e 100644 --- a/tests/std/tests/VSO_0299624_checked_array_iterator_idl/test.cpp +++ b/tests/std/tests/VSO_0299624_checked_array_iterator_idl/test.cpp @@ -3,6 +3,7 @@ #include #include + #include using namespace stdext; diff --git a/tests/std/tests/VSO_0677157_flist_merge_edge_cases/test.cpp b/tests/std/tests/VSO_0677157_flist_merge_edge_cases/test.cpp index e25d318b8d7..18e5cfb7770 100644 --- a/tests/std/tests/VSO_0677157_flist_merge_edge_cases/test.cpp +++ b/tests/std/tests/VSO_0677157_flist_merge_edge_cases/test.cpp @@ -8,9 +8,10 @@ #include #include #include -#include #include +#include + using namespace std; struct non_noexcept_less_int { diff --git a/tests/std/tests/VSO_0744055_atomic_load_8_bytes_readonly/test.cpp b/tests/std/tests/VSO_0744055_atomic_load_8_bytes_readonly/test.cpp index e167dbdde2b..4e633d77536 100644 --- a/tests/std/tests/VSO_0744055_atomic_load_8_bytes_readonly/test.cpp +++ b/tests/std/tests/VSO_0744055_atomic_load_8_bytes_readonly/test.cpp @@ -4,7 +4,8 @@ #include #include #include -#include + +#include int main() { // A customer wanted to read a std::atomic from a read-only memory-mapped file. diff --git a/tests/std/tests/VSO_0830211_container_debugging_range_checks/test.cpp b/tests/std/tests/VSO_0830211_container_debugging_range_checks/test.cpp index 6b9317e08e4..06d4b746eee 100644 --- a/tests/std/tests/VSO_0830211_container_debugging_range_checks/test.cpp +++ b/tests/std/tests/VSO_0830211_container_debugging_range_checks/test.cpp @@ -7,9 +7,10 @@ #include #include #include -#include #include +#include + using namespace std; template diff --git a/tests/std/tests/VSO_0961751_hash_range_erase/test.cpp b/tests/std/tests/VSO_0961751_hash_range_erase/test.cpp index 48100f8446f..1b9c08527bd 100644 --- a/tests/std/tests/VSO_0961751_hash_range_erase/test.cpp +++ b/tests/std/tests/VSO_0961751_hash_range_erase/test.cpp @@ -9,12 +9,13 @@ #include #include #include -#include #include #include #include #include +#include + using namespace std; static size_t liveness_alive_objects;