Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
4 changes: 2 additions & 2 deletions benchmarks/inc/utility.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@
#pragma once

#include <algorithm>
#include <cstddef>
#include <cstdint>
#include <random>
#include <stddef.h>
#include <stdint.h>
#include <vector>

#include <xoshiro.hpp>
Expand Down
4 changes: 2 additions & 2 deletions benchmarks/src/std_copy.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@

#include <algorithm>
#include <benchmark/benchmark.h>
#include <stddef.h>
#include <string.h>
#include <cstddef>
#include <cstring>
#include <type_traits>
#include <vector>

Expand Down
2 changes: 1 addition & 1 deletion stl/src/vector_algorithms.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,11 @@

#if (defined(_M_IX86) || defined(_M_X64)) && !defined(_M_ARM64EC)

#include <cstdint>
#include <emmintrin.h>
#include <immintrin.h>
#include <intrin0.h>
#include <isa_availability.h>
#include <stdint.h>

extern "C" long __isa_enabled;

Expand Down
2 changes: 1 addition & 1 deletion stl/src/xonce2.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

#include <yvals_core.h>

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

// This must be as small as possible, because its contents are
Expand Down
2 changes: 1 addition & 1 deletion stl/src/xxxprec.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ _EXTERN_C
} // STET

#if 0
#include <stdio.h>
#include <cstdio>

static void printit(const char* s, FTYPE* p, int n) { // print xp array
int i;
Expand Down
4 changes: 2 additions & 2 deletions tests/std/include/constexpr_char_traits.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception

#pragma once
#include <stdio.h>
#include <wchar.h>
#include <cstdio>
#include <cwchar>

struct constexpr_char_traits {
typedef char char_type;
Expand Down
2 changes: 1 addition & 1 deletion tests/std/include/fenv_prefix.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
#endif // defined(FP_CONTRACT_MODE)

#include <cassert>
#include <float.h>
#include <cfloat>

struct fenv_initializer_t {
fenv_initializer_t() {
Expand Down
2 changes: 1 addition & 1 deletion tests/std/include/floating_point_test_cases.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

#pragma once

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

constexpr std::pair<const char*, uint64_t> floating_point_test_cases_double[] = {
Expand Down
2 changes: 1 addition & 1 deletion tests/std/include/instantiate_algorithms.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,13 @@
// Notably, all permutations of all iterator strengths are tested.

#include <algorithm>
#include <cstddef>
#include <forward_list>
#include <functional>
#include <iterator>
#include <list>
#include <memory>
#include <numeric>
#include <stddef.h>
#include <type_traits>

#if _HAS_CXX17 && !defined(_M_CEE)
Expand Down
6 changes: 3 additions & 3 deletions tests/std/include/new_counter.hpp
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
// Copyright (c) Microsoft Corporation.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception

#include <assert.h>
#include <cassert>
#include <cstddef>
#include <cstdlib>
#include <new>
#include <stddef.h>
#include <stdlib.h>

#pragma once
#pragma warning(push)
Expand Down
2 changes: 1 addition & 1 deletion tests/std/include/parallel_algorithms_utilities.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

#pragma once
#include <algorithm>
#include <stddef.h>
#include <cstddef>
#include <thread>

#ifdef EXHAUSTIVE
Expand Down
4 changes: 2 additions & 2 deletions tests/std/include/test_atomic_wait.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@

#pragma once

#include <assert.h>
#include <atomic>
#include <cassert>
#include <chrono>
#include <cstring>
#include <memory>
#include <string.h>
#include <thread>

template <template <class> class Template, class UnderlyingType>
Expand Down
6 changes: 3 additions & 3 deletions tests/std/include/test_death.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@

#pragma once
#include <crtdbg.h>
#include <stdint.h>
#include <stdio.h>
#include <stdlib.h>
#include <cstdint>
#include <cstdio>
#include <cstdlib>
#include <string>
#include <vector>

Expand Down
2 changes: 1 addition & 1 deletion tests/std/include/test_filesystem_support.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@
#define _SILENCE_EXPERIMENTAL_FILESYSTEM_DEPRECATION_WARNING

#include <algorithm>
#include <cstring>
#include <experimental/filesystem>
#include <filesystem>
#include <iterator>
#include <random>
#include <string.h>
#include <string>

inline std::string get_test_directory_subname(const char* const testName, const size_t testNameLength) {
Expand Down
2 changes: 1 addition & 1 deletion tests/std/include/test_regex_support.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception

#pragma once
#include <cstdio>
#include <regex>
#include <stdio.h>
#include <string>

class regex_fixture {
Expand Down
4 changes: 2 additions & 2 deletions tests/std/include/test_thread_support.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@

#include <chrono>
#include <condition_variable>
#include <cstdio>
#include <cstdlib>
#include <mutex>
#include <stdio.h>
#include <stdlib.h>
#include <thread>

#include <Windows.h>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Copyright (c) Microsoft Corporation.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception

#include <assert.h>
#include <cassert>
#include <sstream>

int main() {
Expand Down
2 changes: 1 addition & 1 deletion tests/std/tests/Dev08_563686_ostream/test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@

#define CRTDBG_MAP_ALLOC
#include <crtdbg.h>
#include <cstdlib>
#include <sstream>
#include <stdlib.h>

#include <Windows.h>

Expand Down
2 changes: 1 addition & 1 deletion tests/std/tests/Dev08_576265_list_remove/test.cpp
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Copyright (c) Microsoft Corporation.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception

#include <assert.h>
#include <cassert>
#include <list>

struct Val {
Expand Down
2 changes: 1 addition & 1 deletion tests/std/tests/Dev08_584299_search_n/test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception

#include <algorithm>
#include <assert.h>
#include <cassert>
#include <list>

// This test makes sure that the search_n algorithm behaves correctly.
Expand Down
8 changes: 4 additions & 4 deletions tests/std/tests/Dev09_012361_vector_swap/test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -85,14 +85,14 @@
// deque<int>::iterator: Previously 12, 16, 16, 12, 8. Now 12, 8, 8, 8, 8.

#include <algorithm>
#include <assert.h>
#include <cassert>
#include <cstddef>
#include <cstdio>
#include <cstring>
#include <deque>
#include <iterator>
#include <list>
#include <set>
#include <stddef.h>
#include <stdio.h>
#include <string.h>
#include <vector>

using namespace std;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,9 +49,9 @@
// correctness to all known cases, and also increases efficiency (as iterator destructors
// in debug mode with iterator debugging disabled now perform no extra work).

#include <assert.h>
#include <stdio.h>
#include <string.h>
#include <cassert>
#include <cstdio>
#include <cstring>
#include <vector>

using namespace std;
Expand Down
4 changes: 2 additions & 2 deletions tests/std/tests/Dev09_056375_locale_cleanup/test.cpp
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
// Copyright (c) Microsoft Corporation.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception

#include <assert.h>
#include <cassert>
#include <cstdio>
#include <locale>
#include <stdio.h>

#include <Windows.h>

Expand Down
2 changes: 1 addition & 1 deletion tests/std/tests/Dev09_056375_locale_cleanup/testdll.cpp
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Copyright (c) Microsoft Corporation.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception

#include <assert.h>
#include <cassert>
#include <locale>

#include <Windows.h>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Copyright (c) Microsoft Corporation.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception

#include <assert.h>
#include <cassert>
#include <sstream>
#include <typeinfo>

Expand Down
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
// Copyright (c) Microsoft Corporation.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception

#include <assert.h>
#include <cassert>
#include <cstddef>
#include <cstdio>
#include <cstdlib>
#include <deque>
#include <forward_list>
#include <list>
#include <map>
#include <new>
#include <set>
#include <stddef.h>
#include <stdio.h>
#include <stdlib.h>
#include <unordered_map>
#include <unordered_set>
#include <vector>
Expand Down
2 changes: 1 addition & 1 deletion tests/std/tests/Dev09_130060_unique_copy/test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception

#include <algorithm>
#include <assert.h>
#include <cassert>
#include <iterator>
#include <sstream>
#include <string>
Expand Down
4 changes: 2 additions & 2 deletions tests/std/tests/Dev09_152755_tr1_nested_bind/test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception

#include <algorithm>
#include <assert.h>
#include <cassert>
#include <cmath>
#include <functional>
#include <math.h>
#include <vector>

using namespace std;
Expand Down
10 changes: 5 additions & 5 deletions tests/std/tests/Dev09_153419_tr1_allocators/test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,14 @@
// Big is 7 * 64 bits to disable the Small Functor Optimization.

#include <algorithm>
#include <assert.h>
#include <cassert>
#include <cstddef>
#include <cstdio>
#include <cstdlib>
#include <cstring>
#include <functional>
#include <memory>
#include <new>
#include <stddef.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <vector>

using namespace std;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception

#include <algorithm>
#include <assert.h>
#include <cassert>
#include <vector>

struct X {
Expand Down
2 changes: 1 addition & 1 deletion tests/std/tests/Dev09_155328_tr1_vector_of_set/test.cpp
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Copyright (c) Microsoft Corporation.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception

#include <assert.h>
#include <cassert>
#include <set>
#include <vector>

Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
// Copyright (c) Microsoft Corporation.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception

#include <assert.h>
#include <cassert>
#include <climits>
#include <cmath>
#include <limits.h>
#include <cstdlib>
#include <stdexcept>
#include <stdlib.h>
#include <unordered_set>
#include <utility>

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Copyright (c) Microsoft Corporation.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception

#include <assert.h>
#include <cassert>
#include <functional>
#include <type_traits>

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Copyright (c) Microsoft Corporation.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception

#include <assert.h>
#include <cassert>
#include <functional>

using namespace std;
Expand Down
Loading