فهرست منبع

libcxx: Rename .hpp files in libcxx/test/support to .h

LLVM uses .h as its extension for header files.

Files renamed using:

    for f in libcxx/test/support/*.hpp; do git mv $f ${f%.hpp}.h; done

References to the files updated using:

    for f in $(git diff master | grep 'rename from' | cut -f 3 -d ' '); do
        a=$(basename $f);
        echo $a;
        rg -l $a libcxx | xargs sed -i '' "s/$a/${a%.hpp}.h/";
    done

HPP include guards updated manually using:

    for f in $(git diff master | grep 'rename from' | cut -f 3 -d ' '); do
      echo ${f%.hpp}.h ;
    done | xargs mvim

Differential Revision: https://reviews.llvm.org/D66104

git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@369481 91177308-0d34-0410-b5e6-96231b3b80d8
Nico Weber 6 سال پیش
والد
کامیت
28db4445e2
100فایلهای تغییر یافته به همراه115 افزوده شده و 115 حذف شده
  1. 1 1
      benchmarks/filesystem.bench.cpp
  2. 1 1
      test/libcxx/algorithms/half_positive.pass.cpp
  3. 1 1
      test/libcxx/containers/gnu_cxx/hash_map.pass.cpp
  4. 1 1
      test/libcxx/containers/gnu_cxx/hash_set.pass.cpp
  5. 1 1
      test/libcxx/containers/sequences/deque/spare_block_handling.pass.cpp
  6. 1 1
      test/libcxx/debug/containers/db_associative_container_tests.pass.cpp
  7. 1 1
      test/libcxx/debug/containers/db_sequence_container_iterators.multithread.pass.cpp
  8. 1 1
      test/libcxx/debug/containers/db_sequence_container_iterators.pass.cpp
  9. 1 1
      test/libcxx/debug/containers/db_string.pass.cpp
  10. 1 1
      test/libcxx/debug/containers/db_unord_container_tests.pass.cpp
  11. 1 1
      test/libcxx/experimental/memory/memory.polymorphic.allocator.class/memory.polymorphic.allocator.mem/construct_piecewise_pair.pass.cpp
  12. 1 1
      test/libcxx/experimental/memory/memory.polymorphic.allocator.class/memory.polymorphic.allocator.mem/db_deallocate.pass.cpp
  13. 1 1
      test/libcxx/experimental/memory/memory.resource.adaptor/memory.resource.adaptor.mem/db_deallocate.pass.cpp
  14. 3 3
      test/libcxx/input.output/filesystems/class.directory_entry/directory_entry.mods/last_write_time.sh.cpp
  15. 2 2
      test/libcxx/input.output/filesystems/class.path/path.itr/iterator_db.pass.cpp
  16. 1 1
      test/libcxx/input.output/filesystems/class.path/path.itr/reverse_iterator_produces_diagnostic.fail.cpp
  17. 2 2
      test/libcxx/input.output/filesystems/class.path/path.req/is_pathable.pass.cpp
  18. 1 1
      test/libcxx/type_traits/convert_to_integral.pass.cpp
  19. 1 1
      test/libcxx/utilities/optional/optional.object/triviality.abi.pass.cpp
  20. 1 1
      test/libcxx/utilities/tuple/tuple.tuple/tuple.cnstr/disable_reduced_arity_initialization_extension.pass.cpp
  21. 1 1
      test/libcxx/utilities/tuple/tuple.tuple/tuple.cnstr/enable_reduced_arity_initialization_extension.pass.cpp
  22. 1 1
      test/libcxx/utilities/utility/pairs/pairs.pair/assign_tuple_like.pass.cpp
  23. 1 1
      test/libcxx/utilities/utility/pairs/pairs.pair/piecewise.pass.cpp
  24. 1 1
      test/std/algorithms/alg.modifying.operations/alg.copy/copy_backward.pass.cpp
  25. 1 1
      test/std/algorithms/alg.modifying.operations/alg.copy/copy_n.pass.cpp
  26. 1 1
      test/std/algorithms/alg.modifying.operations/alg.fill/fill_n.pass.cpp
  27. 1 1
      test/std/algorithms/alg.modifying.operations/alg.generate/generate_n.pass.cpp
  28. 1 1
      test/std/algorithms/alg.modifying.operations/alg.partitions/is_partitioned.pass.cpp
  29. 1 1
      test/std/algorithms/alg.modifying.operations/alg.remove/remove_if.pass.cpp
  30. 1 1
      test/std/algorithms/alg.nonmodifying/alg.search/search_n.pass.cpp
  31. 1 1
      test/std/algorithms/alg.nonmodifying/alg.search/search_n_pred.pass.cpp
  32. 1 1
      test/std/algorithms/alg.nonmodifying/mismatch/mismatch_pred.pass.cpp
  33. 1 1
      test/std/algorithms/alg.sorting/alg.heap.operations/make.heap/make_heap_comp.pass.cpp
  34. 1 1
      test/std/algorithms/alg.sorting/alg.merge/inplace_merge_comp.pass.cpp
  35. 1 1
      test/std/algorithms/alg.sorting/alg.merge/merge_comp.pass.cpp
  36. 1 1
      test/std/algorithms/alg.sorting/alg.min.max/minmax_init_list_comp.pass.cpp
  37. 2 2
      test/std/containers/associative/map/map.access/index_key.pass.cpp
  38. 1 1
      test/std/containers/associative/map/map.access/index_rv_key.pass.cpp
  39. 1 1
      test/std/containers/associative/map/map.ops/count.pass.cpp
  40. 1 1
      test/std/containers/associative/map/map.ops/count_transparent.pass.cpp
  41. 1 1
      test/std/containers/associative/map/map.ops/equal_range.pass.cpp
  42. 1 1
      test/std/containers/associative/map/map.ops/equal_range_transparent.pass.cpp
  43. 1 1
      test/std/containers/associative/map/map.ops/find.pass.cpp
  44. 1 1
      test/std/containers/associative/map/map.ops/lower_bound.pass.cpp
  45. 1 1
      test/std/containers/associative/map/map.ops/upper_bound.pass.cpp
  46. 1 1
      test/std/containers/associative/multimap/multimap.ops/count.pass.cpp
  47. 1 1
      test/std/containers/associative/multimap/multimap.ops/count_transparent.pass.cpp
  48. 1 1
      test/std/containers/associative/multimap/multimap.ops/equal_range.pass.cpp
  49. 1 1
      test/std/containers/associative/multimap/multimap.ops/equal_range_transparent.pass.cpp
  50. 1 1
      test/std/containers/associative/multimap/multimap.ops/find.pass.cpp
  51. 1 1
      test/std/containers/associative/multimap/multimap.ops/lower_bound.pass.cpp
  52. 1 1
      test/std/containers/associative/multimap/multimap.ops/upper_bound.pass.cpp
  53. 1 1
      test/std/containers/associative/multiset/count.pass.cpp
  54. 1 1
      test/std/containers/associative/multiset/count_transparent.pass.cpp
  55. 1 1
      test/std/containers/associative/multiset/equal_range.pass.cpp
  56. 1 1
      test/std/containers/associative/multiset/equal_range_transparent.pass.cpp
  57. 1 1
      test/std/containers/associative/multiset/find.pass.cpp
  58. 1 1
      test/std/containers/associative/multiset/lower_bound.pass.cpp
  59. 1 1
      test/std/containers/associative/multiset/upper_bound.pass.cpp
  60. 1 1
      test/std/containers/associative/set/count.pass.cpp
  61. 1 1
      test/std/containers/associative/set/count_transparent.pass.cpp
  62. 1 1
      test/std/containers/associative/set/equal_range.pass.cpp
  63. 1 1
      test/std/containers/associative/set/equal_range_transparent.pass.cpp
  64. 1 1
      test/std/containers/associative/set/find.pass.cpp
  65. 1 1
      test/std/containers/associative/set/lower_bound.pass.cpp
  66. 1 1
      test/std/containers/associative/set/upper_bound.pass.cpp
  67. 1 1
      test/std/containers/map_allocator_requirement_test_templates.h
  68. 1 1
      test/std/containers/sequences/forwardlist/forwardlist.ops/remove_if.pass.cpp
  69. 1 1
      test/std/containers/sequences/list/list.modifiers/insert_iter_iter_iter.pass.cpp
  70. 1 1
      test/std/containers/sequences/list/list.modifiers/insert_iter_size_value.pass.cpp
  71. 1 1
      test/std/containers/sequences/list/list.modifiers/insert_iter_value.pass.cpp
  72. 1 1
      test/std/containers/sequences/list/list.ops/remove_if.pass.cpp
  73. 1 1
      test/std/containers/sequences/vector.bool/enabled_hash.pass.cpp
  74. 1 1
      test/std/containers/set_allocator_requirement_test_templates.h
  75. 1 1
      test/std/containers/unord/unord.map/unord.map.elem/index.pass.cpp
  76. 1 1
      test/std/diagnostics/syserr/syserr.hash/enabled_hash.pass.cpp
  77. 1 1
      test/std/experimental/memory/memory.polymorphic.allocator.class/memory.polymorphic.allocator.ctor/default.pass.cpp
  78. 1 1
      test/std/experimental/memory/memory.polymorphic.allocator.class/memory.polymorphic.allocator.ctor/memory_resource_convert.pass.cpp
  79. 1 1
      test/std/experimental/memory/memory.polymorphic.allocator.class/memory.polymorphic.allocator.eq/equal.pass.cpp
  80. 1 1
      test/std/experimental/memory/memory.polymorphic.allocator.class/memory.polymorphic.allocator.eq/not_equal.pass.cpp
  81. 1 1
      test/std/experimental/memory/memory.polymorphic.allocator.class/memory.polymorphic.allocator.mem/allocate.pass.cpp
  82. 1 1
      test/std/experimental/memory/memory.polymorphic.allocator.class/memory.polymorphic.allocator.mem/construct_pair.pass.cpp
  83. 3 3
      test/std/experimental/memory/memory.polymorphic.allocator.class/memory.polymorphic.allocator.mem/construct_pair_const_lvalue_pair.pass.cpp
  84. 3 3
      test/std/experimental/memory/memory.polymorphic.allocator.class/memory.polymorphic.allocator.mem/construct_pair_rvalue.pass.cpp
  85. 3 3
      test/std/experimental/memory/memory.polymorphic.allocator.class/memory.polymorphic.allocator.mem/construct_pair_values.pass.cpp
  86. 3 3
      test/std/experimental/memory/memory.polymorphic.allocator.class/memory.polymorphic.allocator.mem/construct_piecewise_pair.pass.cpp
  87. 3 3
      test/std/experimental/memory/memory.polymorphic.allocator.class/memory.polymorphic.allocator.mem/construct_types.pass.cpp
  88. 1 1
      test/std/experimental/memory/memory.polymorphic.allocator.class/memory.polymorphic.allocator.mem/deallocate.pass.cpp
  89. 1 1
      test/std/experimental/memory/memory.resource.adaptor/memory.resource.adaptor.ctor/alloc_copy.pass.cpp
  90. 1 1
      test/std/experimental/memory/memory.resource.adaptor/memory.resource.adaptor.ctor/alloc_move.pass.cpp
  91. 1 1
      test/std/experimental/memory/memory.resource.adaptor/memory.resource.adaptor.ctor/default.pass.cpp
  92. 1 1
      test/std/experimental/memory/memory.resource.adaptor/memory.resource.adaptor.mem/do_allocate_and_deallocate.pass.cpp
  93. 1 1
      test/std/experimental/memory/memory.resource.adaptor/memory.resource.adaptor.mem/do_is_equal.pass.cpp
  94. 1 1
      test/std/experimental/memory/memory.resource.aliases/header_string_synop.pass.cpp
  95. 1 1
      test/std/experimental/memory/memory.resource.global/default_resource.pass.cpp
  96. 1 1
      test/std/experimental/memory/memory.resource.global/new_delete_resource.pass.cpp
  97. 1 1
      test/std/experimental/memory/memory.resource.global/null_memory_resource.pass.cpp
  98. 1 1
      test/std/experimental/memory/memory.resource/memory.resource.eq/equal.pass.cpp
  99. 1 1
      test/std/experimental/memory/memory.resource/memory.resource.eq/not_equal.pass.cpp
  100. 1 1
      test/std/experimental/memory/memory.resource/memory.resource.public/allocate.pass.cpp

+ 1 - 1
benchmarks/filesystem.bench.cpp

@@ -1,7 +1,7 @@
 #include "benchmark/benchmark.h"
 #include "GenerateInput.hpp"
 #include "test_iterators.h"
-#include "filesystem_include.hpp"
+#include "filesystem_include.h"
 
 static const size_t TestNumInputs = 1024;
 

+ 1 - 1
test/libcxx/algorithms/half_positive.pass.cpp

@@ -17,7 +17,7 @@
 #include <type_traits>
 
 #include "test_macros.h"
-#include "user_defined_integral.hpp"
+#include "user_defined_integral.h"
 
 namespace {
 

+ 1 - 1
test/libcxx/containers/gnu_cxx/hash_map.pass.cpp

@@ -16,7 +16,7 @@
 #include <cassert>
 
 #include "test_macros.h"
-#include "count_new.hpp"
+#include "count_new.h"
 
 void test_default_does_not_allocate() {
   DisableAllocationGuard g;

+ 1 - 1
test/libcxx/containers/gnu_cxx/hash_set.pass.cpp

@@ -16,7 +16,7 @@
 #include <cassert>
 
 #include "test_macros.h"
-#include "count_new.hpp"
+#include "count_new.h"
 
 void test_default_does_not_allocate() {
   DisableAllocationGuard g;

+ 1 - 1
test/libcxx/containers/sequences/deque/spare_block_handling.pass.cpp

@@ -21,7 +21,7 @@
 #include <queue>
 
 #include "min_allocator.h"
-#include "rapid-cxx-test.hpp"
+#include "rapid-cxx-test.h"
 
 template <class Adaptor>
 struct ContainerAdaptor : public Adaptor {

+ 1 - 1
test/libcxx/debug/containers/db_associative_container_tests.pass.cpp

@@ -22,7 +22,7 @@
 #include <set>
 #include <utility>
 #include <cassert>
-#include "container_debug_tests.hpp"
+#include "container_debug_tests.h"
 #include "test_macros.h"
 #include "debug_mode_helper.h"
 

+ 1 - 1
test/libcxx/debug/containers/db_sequence_container_iterators.multithread.pass.cpp

@@ -24,7 +24,7 @@
 #include <list>
 #include <thread>
 #include <vector>
-#include "container_debug_tests.hpp"
+#include "container_debug_tests.h"
 
 #include "test_macros.h"
 

+ 1 - 1
test/libcxx/debug/containers/db_sequence_container_iterators.pass.cpp

@@ -22,7 +22,7 @@
 #include <list>
 #include <vector>
 #include <deque>
-#include "container_debug_tests.hpp"
+#include "container_debug_tests.h"
 #include "test_macros.h"
 #include "debug_mode_helper.h"
 

+ 1 - 1
test/libcxx/debug/containers/db_string.pass.cpp

@@ -21,7 +21,7 @@
 #include <vector>
 
 #include "test_macros.h"
-#include "container_debug_tests.hpp"
+#include "container_debug_tests.h"
 #include "debug_mode_helper.h"
 
 using namespace IteratorDebugChecks;

+ 1 - 1
test/libcxx/debug/containers/db_unord_container_tests.pass.cpp

@@ -21,7 +21,7 @@
 #include <unordered_set>
 #include <utility>
 #include <cassert>
-#include "container_debug_tests.hpp"
+#include "container_debug_tests.h"
 #include "test_macros.h"
 #include "debug_mode_helper.h"
 

+ 1 - 1
test/libcxx/experimental/memory/memory.polymorphic.allocator.class/memory.polymorphic.allocator.mem/construct_piecewise_pair.pass.cpp

@@ -45,7 +45,7 @@
 #include <tuple>
 #include <cassert>
 #include <cstdlib>
-#include "test_memory_resource.hpp"
+#include "test_memory_resource.h"
 
 #include "test_macros.h"
 

+ 1 - 1
test/libcxx/experimental/memory/memory.polymorphic.allocator.class/memory.polymorphic.allocator.mem/db_deallocate.pass.cpp

@@ -22,7 +22,7 @@ int AssertCount = 0;
 #include <type_traits>
 #include <cassert>
 
-#include "test_memory_resource.hpp"
+#include "test_memory_resource.h"
 
 #include "test_macros.h"
 

+ 1 - 1
test/libcxx/experimental/memory/memory.resource.adaptor/memory.resource.adaptor.mem/db_deallocate.pass.cpp

@@ -22,7 +22,7 @@ int AssertCount = 0;
 #include <type_traits>
 #include <cassert>
 
-#include "test_memory_resource.hpp"
+#include "test_memory_resource.h"
 
 #include "test_macros.h"
 

+ 3 - 3
test/libcxx/input.output/filesystems/class.directory_entry/directory_entry.mods/last_write_time.sh.cpp

@@ -15,13 +15,13 @@
 // RUN: %build -I%libcxx_src_root/src/filesystem
 // RUN: %run
 
-#include "filesystem_include.hpp"
+#include "filesystem_include.h"
 #include <type_traits>
 #include <cassert>
 
 #include "test_macros.h"
-#include "rapid-cxx-test.hpp"
-#include "filesystem_test_helper.hpp"
+#include "rapid-cxx-test.h"
+#include "filesystem_test_helper.h"
 
 #include "filesystem_common.h"
 

+ 2 - 2
test/libcxx/input.output/filesystems/class.path/path.itr/iterator_db.pass.cpp

@@ -16,13 +16,13 @@
 // class path
 
 #define _LIBCPP_DEBUG 0
-#include "filesystem_include.hpp"
+#include "filesystem_include.h"
 #include <iterator>
 #include <type_traits>
 #include <cassert>
 
 #include "test_macros.h"
-#include "filesystem_test_helper.hpp"
+#include "filesystem_test_helper.h"
 #include "debug_mode_helper.h"
 
 int main(int, char**) {

+ 1 - 1
test/libcxx/input.output/filesystems/class.path/path.itr/reverse_iterator_produces_diagnostic.fail.cpp

@@ -12,7 +12,7 @@
 
 // class path
 
-#include "filesystem_include.hpp"
+#include "filesystem_include.h"
 #include <iterator>
 
 

+ 2 - 2
test/libcxx/input.output/filesystems/class.path/path.req/is_pathable.pass.cpp

@@ -20,14 +20,14 @@
 // * A character array, which points to a NTCTS after array-to-pointer decay.
 
 
-#include "filesystem_include.hpp"
+#include "filesystem_include.h"
 #include <type_traits>
 #include <cassert>
 
 #include "test_macros.h"
 #include "test_iterators.h"
 #include "min_allocator.h"
-#include "constexpr_char_traits.hpp"
+#include "constexpr_char_traits.h"
 
 using fs::__is_pathable;
 

+ 1 - 1
test/libcxx/type_traits/convert_to_integral.pass.cpp

@@ -21,7 +21,7 @@
 #include <cstdint>
 #include <cassert>
 
-#include "user_defined_integral.hpp"
+#include "user_defined_integral.h"
 
 #include "test_macros.h"
 

+ 1 - 1
test/libcxx/utilities/optional/optional.object/triviality.abi.pass.cpp

@@ -24,7 +24,7 @@
 #include <type_traits>
 #include <cassert>
 
-#include "archetypes.hpp"
+#include "archetypes.h"
 
 #include "test_macros.h"
 

+ 1 - 1
test/libcxx/utilities/tuple/tuple.tuple/tuple.cnstr/disable_reduced_arity_initialization_extension.pass.cpp

@@ -22,7 +22,7 @@
 #include <system_error>
 
 #include "test_macros.h"
-#include "test_convertible.hpp"
+#include "test_convertible.h"
 #include "MoveOnly.h"
 
 #if defined(_LIBCPP_ENABLE_TUPLE_IMPLICIT_REDUCED_ARITY_EXTENSION)

+ 1 - 1
test/libcxx/utilities/tuple/tuple.tuple/tuple.cnstr/enable_reduced_arity_initialization_extension.pass.cpp

@@ -24,7 +24,7 @@
 #include <system_error>
 
 #include "test_macros.h"
-#include "test_convertible.hpp"
+#include "test_convertible.h"
 #include "MoveOnly.h"
 
 

+ 1 - 1
test/libcxx/utilities/utility/pairs/pairs.pair/assign_tuple_like.pass.cpp

@@ -20,7 +20,7 @@
 #include <memory>
 #include <cassert>
 
-#include "archetypes.hpp"
+#include "archetypes.h"
 
 #include "test_macros.h"
 

+ 1 - 1
test/libcxx/utilities/utility/pairs/pairs.pair/piecewise.pass.cpp

@@ -20,7 +20,7 @@
 #include <type_traits>
 #include <utility>
 
-#include "archetypes.hpp"
+#include "archetypes.h"
 
 #include "test_macros.h"
 

+ 1 - 1
test/std/algorithms/alg.modifying.operations/alg.copy/copy_backward.pass.cpp

@@ -18,7 +18,7 @@
 
 #include "test_macros.h"
 #include "test_iterators.h"
-#include "user_defined_integral.hpp"
+#include "user_defined_integral.h"
 
 // #if TEST_STD_VER > 17
 // TEST_CONSTEXPR bool test_constexpr() {

+ 1 - 1
test/std/algorithms/alg.modifying.operations/alg.copy/copy_n.pass.cpp

@@ -17,7 +17,7 @@
 
 #include "test_macros.h"
 #include "test_iterators.h"
-#include "user_defined_integral.hpp"
+#include "user_defined_integral.h"
 
 // #if TEST_STD_VER > 17
 // TEST_CONSTEXPR bool test_constexpr() {

+ 1 - 1
test/std/algorithms/alg.modifying.operations/alg.fill/fill_n.pass.cpp

@@ -18,7 +18,7 @@
 
 #include "test_macros.h"
 #include "test_iterators.h"
-#include "user_defined_integral.hpp"
+#include "user_defined_integral.h"
 
 #if TEST_STD_VER > 17
 TEST_CONSTEXPR bool test_constexpr() {

+ 1 - 1
test/std/algorithms/alg.modifying.operations/alg.generate/generate_n.pass.cpp

@@ -24,7 +24,7 @@
 #include <cassert>
 
 #include "test_iterators.h"
-#include "user_defined_integral.hpp"
+#include "user_defined_integral.h"
 
 struct gen_test
 {

+ 1 - 1
test/std/algorithms/alg.modifying.operations/alg.partitions/is_partitioned.pass.cpp

@@ -19,7 +19,7 @@
 
 #include "test_macros.h"
 #include "test_iterators.h"
-#include "counting_predicates.hpp"
+#include "counting_predicates.h"
 
 struct is_odd {
   TEST_CONSTEXPR bool operator()(const int &i) const { return i & 1; }

+ 1 - 1
test/std/algorithms/alg.modifying.operations/alg.remove/remove_if.pass.cpp

@@ -21,7 +21,7 @@
 
 #include "test_macros.h"
 #include "test_iterators.h"
-#include "counting_predicates.hpp"
+#include "counting_predicates.h"
 
 TEST_CONSTEXPR bool equal2 ( int i ) { return i == 2; }
 

+ 1 - 1
test/std/algorithms/alg.nonmodifying/alg.search/search_n.pass.cpp

@@ -18,7 +18,7 @@
 
 #include "test_macros.h"
 #include "test_iterators.h"
-#include "user_defined_integral.hpp"
+#include "user_defined_integral.h"
 
 #if TEST_STD_VER > 17
 TEST_CONSTEXPR bool test_constexpr() {

+ 1 - 1
test/std/algorithms/alg.nonmodifying/alg.search/search_n_pred.pass.cpp

@@ -18,7 +18,7 @@
 
 #include "test_macros.h"
 #include "test_iterators.h"
-#include "user_defined_integral.hpp"
+#include "user_defined_integral.h"
 
 #if TEST_STD_VER > 17
 TEST_CONSTEXPR bool eq(int a, int b) { return a == b; }

+ 1 - 1
test/std/algorithms/alg.nonmodifying/mismatch/mismatch_pred.pass.cpp

@@ -24,7 +24,7 @@
 
 #include "test_macros.h"
 #include "test_iterators.h"
-#include "counting_predicates.hpp"
+#include "counting_predicates.h"
 
 #if TEST_STD_VER > 17
 TEST_CONSTEXPR bool eq(int a, int b) { return a == b; }

+ 1 - 1
test/std/algorithms/alg.sorting/alg.heap.operations/make.heap/make_heap_comp.pass.cpp

@@ -20,7 +20,7 @@
 #include <cassert>
 
 #include "test_macros.h"
-#include "counting_predicates.hpp"
+#include "counting_predicates.h"
 #include "test_iterators.h"
 
 struct indirect_less

+ 1 - 1
test/std/algorithms/alg.sorting/alg.merge/inplace_merge_comp.pass.cpp

@@ -56,7 +56,7 @@ struct S {
 #endif  // TEST_STD_VER >= 11
 
 #include "test_iterators.h"
-#include "counting_predicates.hpp"
+#include "counting_predicates.h"
 
 std::mt19937 randomness;
 

+ 1 - 1
test/std/algorithms/alg.sorting/alg.merge/merge_comp.pass.cpp

@@ -26,7 +26,7 @@
 
 #include "test_macros.h"
 #include "test_iterators.h"
-#include "counting_predicates.hpp"
+#include "counting_predicates.h"
 
 // #if TEST_STD_VER > 17
 // TEST_CONSTEXPR bool test_constexpr() {

+ 1 - 1
test/std/algorithms/alg.sorting/alg.min.max/minmax_init_list_comp.pass.cpp

@@ -21,7 +21,7 @@
 #include <cassert>
 
 #include "test_macros.h"
-#include "counting_predicates.hpp"
+#include "counting_predicates.h"
 
 bool all_equal(int, int) { return false; } // everything is equal
 

+ 2 - 2
test/std/containers/associative/map/map.access/index_key.pass.cpp

@@ -16,9 +16,9 @@
 #include <cassert>
 
 #include "test_macros.h"
-#include "count_new.hpp"
+#include "count_new.h"
 #include "min_allocator.h"
-#include "private_constructor.hpp"
+#include "private_constructor.h"
 #if TEST_STD_VER >= 11
 #include "container_test_types.h"
 #endif

+ 1 - 1
test/std/containers/associative/map/map.access/index_rv_key.pass.cpp

@@ -18,7 +18,7 @@
 #include <cassert>
 
 #include "test_macros.h"
-#include "count_new.hpp"
+#include "count_new.h"
 #include "MoveOnly.h"
 #include "min_allocator.h"
 #include "container_test_types.h"

+ 1 - 1
test/std/containers/associative/map/map.ops/count.pass.cpp

@@ -17,7 +17,7 @@
 
 #include "test_macros.h"
 #include "min_allocator.h"
-#include "private_constructor.hpp"
+#include "private_constructor.h"
 #include "is_transparent.h"
 
 int main(int, char**)

+ 1 - 1
test/std/containers/associative/map/map.ops/count_transparent.pass.cpp

@@ -20,7 +20,7 @@
 #include <utility>
 
 #include "min_allocator.h"
-#include "private_constructor.hpp"
+#include "private_constructor.h"
 #include "test_macros.h"
 
 struct Comp {

+ 1 - 1
test/std/containers/associative/map/map.ops/equal_range.pass.cpp

@@ -18,7 +18,7 @@
 
 #include "test_macros.h"
 #include "min_allocator.h"
-#include "private_constructor.hpp"
+#include "private_constructor.h"
 #include "is_transparent.h"
 
 int main(int, char**)

+ 1 - 1
test/std/containers/associative/map/map.ops/equal_range_transparent.pass.cpp

@@ -23,7 +23,7 @@
 #include <utility>
 
 #include "min_allocator.h"
-#include "private_constructor.hpp"
+#include "private_constructor.h"
 #include "test_macros.h"
 
 struct Comp {

+ 1 - 1
test/std/containers/associative/map/map.ops/find.pass.cpp

@@ -18,7 +18,7 @@
 
 #include "test_macros.h"
 #include "min_allocator.h"
-#include "private_constructor.hpp"
+#include "private_constructor.h"
 #include "is_transparent.h"
 
 int main(int, char**)

+ 1 - 1
test/std/containers/associative/map/map.ops/lower_bound.pass.cpp

@@ -18,7 +18,7 @@
 
 #include "test_macros.h"
 #include "min_allocator.h"
-#include "private_constructor.hpp"
+#include "private_constructor.h"
 #include "is_transparent.h"
 
 int main(int, char**)

+ 1 - 1
test/std/containers/associative/map/map.ops/upper_bound.pass.cpp

@@ -18,7 +18,7 @@
 
 #include "test_macros.h"
 #include "min_allocator.h"
-#include "private_constructor.hpp"
+#include "private_constructor.h"
 
 int main(int, char**)
 {

+ 1 - 1
test/std/containers/associative/multimap/multimap.ops/count.pass.cpp

@@ -17,7 +17,7 @@
 
 #include "test_macros.h"
 #include "min_allocator.h"
-#include "private_constructor.hpp"
+#include "private_constructor.h"
 #include "is_transparent.h"
 
 int main(int, char**)

+ 1 - 1
test/std/containers/associative/multimap/multimap.ops/count_transparent.pass.cpp

@@ -20,7 +20,7 @@
 #include <utility>
 
 #include "min_allocator.h"
-#include "private_constructor.hpp"
+#include "private_constructor.h"
 #include "test_macros.h"
 
 struct Comp {

+ 1 - 1
test/std/containers/associative/multimap/multimap.ops/equal_range.pass.cpp

@@ -18,7 +18,7 @@
 
 #include "test_macros.h"
 #include "min_allocator.h"
-#include "private_constructor.hpp"
+#include "private_constructor.h"
 #include "is_transparent.h"
 
 int main(int, char**)

+ 1 - 1
test/std/containers/associative/multimap/multimap.ops/equal_range_transparent.pass.cpp

@@ -23,7 +23,7 @@
 #include <utility>
 
 #include "min_allocator.h"
-#include "private_constructor.hpp"
+#include "private_constructor.h"
 #include "test_macros.h"
 
 struct Comp {

+ 1 - 1
test/std/containers/associative/multimap/multimap.ops/find.pass.cpp

@@ -18,7 +18,7 @@
 
 #include "test_macros.h"
 #include "min_allocator.h"
-#include "private_constructor.hpp"
+#include "private_constructor.h"
 #include "is_transparent.h"
 
 int main(int, char**)

+ 1 - 1
test/std/containers/associative/multimap/multimap.ops/lower_bound.pass.cpp

@@ -18,7 +18,7 @@
 
 #include "test_macros.h"
 #include "min_allocator.h"
-#include "private_constructor.hpp"
+#include "private_constructor.h"
 #include "is_transparent.h"
 
 int main(int, char**)

+ 1 - 1
test/std/containers/associative/multimap/multimap.ops/upper_bound.pass.cpp

@@ -18,7 +18,7 @@
 
 #include "test_macros.h"
 #include "min_allocator.h"
-#include "private_constructor.hpp"
+#include "private_constructor.h"
 #include "is_transparent.h"
 
 int main(int, char**)

+ 1 - 1
test/std/containers/associative/multiset/count.pass.cpp

@@ -17,7 +17,7 @@
 
 #include "test_macros.h"
 #include "min_allocator.h"
-#include "private_constructor.hpp"
+#include "private_constructor.h"
 
 int main(int, char**)
 {

+ 1 - 1
test/std/containers/associative/multiset/count_transparent.pass.cpp

@@ -22,7 +22,7 @@
 #include <utility>
 
 #include "min_allocator.h"
-#include "private_constructor.hpp"
+#include "private_constructor.h"
 #include "test_macros.h"
 
 struct Comp {

+ 1 - 1
test/std/containers/associative/multiset/equal_range.pass.cpp

@@ -18,7 +18,7 @@
 
 #include "test_macros.h"
 #include "min_allocator.h"
-#include "private_constructor.hpp"
+#include "private_constructor.h"
 
 int main(int, char**)
 {

+ 1 - 1
test/std/containers/associative/multiset/equal_range_transparent.pass.cpp

@@ -24,7 +24,7 @@
 #include <utility>
 
 #include "min_allocator.h"
-#include "private_constructor.hpp"
+#include "private_constructor.h"
 #include "test_macros.h"
 
 struct Comp {

+ 1 - 1
test/std/containers/associative/multiset/find.pass.cpp

@@ -18,7 +18,7 @@
 
 #include "test_macros.h"
 #include "min_allocator.h"
-#include "private_constructor.hpp"
+#include "private_constructor.h"
 
 int main(int, char**)
 {

+ 1 - 1
test/std/containers/associative/multiset/lower_bound.pass.cpp

@@ -18,7 +18,7 @@
 
 #include "test_macros.h"
 #include "min_allocator.h"
-#include "private_constructor.hpp"
+#include "private_constructor.h"
 
 int main(int, char**)
 {

+ 1 - 1
test/std/containers/associative/multiset/upper_bound.pass.cpp

@@ -18,7 +18,7 @@
 
 #include "test_macros.h"
 #include "min_allocator.h"
-#include "private_constructor.hpp"
+#include "private_constructor.h"
 
 int main(int, char**)
 {

+ 1 - 1
test/std/containers/associative/set/count.pass.cpp

@@ -17,7 +17,7 @@
 
 #include "test_macros.h"
 #include "min_allocator.h"
-#include "private_constructor.hpp"
+#include "private_constructor.h"
 
 int main(int, char**)
 {

+ 1 - 1
test/std/containers/associative/set/count_transparent.pass.cpp

@@ -22,7 +22,7 @@
 #include <utility>
 
 #include "min_allocator.h"
-#include "private_constructor.hpp"
+#include "private_constructor.h"
 #include "test_macros.h"
 
 struct Comp {

+ 1 - 1
test/std/containers/associative/set/equal_range.pass.cpp

@@ -18,7 +18,7 @@
 
 #include "test_macros.h"
 #include "min_allocator.h"
-#include "private_constructor.hpp"
+#include "private_constructor.h"
 
 int main(int, char**)
 {

+ 1 - 1
test/std/containers/associative/set/equal_range_transparent.pass.cpp

@@ -24,7 +24,7 @@
 #include <utility>
 
 #include "min_allocator.h"
-#include "private_constructor.hpp"
+#include "private_constructor.h"
 #include "test_macros.h"
 
 struct Comp {

+ 1 - 1
test/std/containers/associative/set/find.pass.cpp

@@ -18,7 +18,7 @@
 
 #include "test_macros.h"
 #include "min_allocator.h"
-#include "private_constructor.hpp"
+#include "private_constructor.h"
 
 int main(int, char**)
 {

+ 1 - 1
test/std/containers/associative/set/lower_bound.pass.cpp

@@ -18,7 +18,7 @@
 
 #include "test_macros.h"
 #include "min_allocator.h"
-#include "private_constructor.hpp"
+#include "private_constructor.h"
 
 int main(int, char**)
 {

+ 1 - 1
test/std/containers/associative/set/upper_bound.pass.cpp

@@ -18,7 +18,7 @@
 
 #include "test_macros.h"
 #include "min_allocator.h"
-#include "private_constructor.hpp"
+#include "private_constructor.h"
 
 int main(int, char**)
 {

+ 1 - 1
test/std/containers/map_allocator_requirement_test_templates.h

@@ -23,7 +23,7 @@
 #include <cassert>
 
 #include "test_macros.h"
-#include "count_new.hpp"
+#include "count_new.h"
 #include "container_test_types.h"
 #include "assert_checkpoint.h"
 

+ 1 - 1
test/std/containers/sequences/forwardlist/forwardlist.ops/remove_if.pass.cpp

@@ -18,7 +18,7 @@
 
 #include "test_macros.h"
 #include "min_allocator.h"
-#include "counting_predicates.hpp"
+#include "counting_predicates.h"
 
 
 template <class L, class Predicate>

+ 1 - 1
test/std/containers/sequences/list/list.modifiers/insert_iter_iter_iter.pass.cpp

@@ -18,7 +18,7 @@
 #include "test_macros.h"
 #include "test_iterators.h"
 #include "min_allocator.h"
-#include "count_new.hpp"
+#include "count_new.h"
 
 template <class List>
 void test() {

+ 1 - 1
test/std/containers/sequences/list/list.modifiers/insert_iter_size_value.pass.cpp

@@ -17,7 +17,7 @@
 #include <cassert>
 
 #include "min_allocator.h"
-#include "count_new.hpp"
+#include "count_new.h"
 #include "test_macros.h"
 
 template <class List>

+ 1 - 1
test/std/containers/sequences/list/list.modifiers/insert_iter_value.pass.cpp

@@ -16,7 +16,7 @@
 
 #include "test_macros.h"
 #include "min_allocator.h"
-#include "count_new.hpp"
+#include "count_new.h"
 
 template <class List>
 void test()

+ 1 - 1
test/std/containers/sequences/list/list.ops/remove_if.pass.cpp

@@ -17,7 +17,7 @@
 
 #include "test_macros.h"
 #include "min_allocator.h"
-#include "counting_predicates.hpp"
+#include "counting_predicates.h"
 
 bool even(int i)
 {

+ 1 - 1
test/std/containers/sequences/vector.bool/enabled_hash.pass.cpp

@@ -15,7 +15,7 @@
 
 #include <vector>
 
-#include "poisoned_hash_helper.hpp"
+#include "poisoned_hash_helper.h"
 #include "test_macros.h"
 #include "min_allocator.h"
 

+ 1 - 1
test/std/containers/set_allocator_requirement_test_templates.h

@@ -22,7 +22,7 @@
 #include <cassert>
 
 #include "test_macros.h"
-#include "count_new.hpp"
+#include "count_new.h"
 #include "container_test_types.h"
 #include "assert_checkpoint.h"
 

+ 1 - 1
test/std/containers/unord/unord.map/unord.map.elem/index.pass.cpp

@@ -22,7 +22,7 @@
 #include "test_macros.h"
 #include "MoveOnly.h"
 #include "min_allocator.h"
-#include "count_new.hpp"
+#include "count_new.h"
 
 #if TEST_STD_VER >= 11
 #include "container_test_types.h"

+ 1 - 1
test/std/diagnostics/syserr/syserr.hash/enabled_hash.pass.cpp

@@ -15,7 +15,7 @@
 
 #include <system_error>
 
-#include "poisoned_hash_helper.hpp"
+#include "poisoned_hash_helper.h"
 
 #include "test_macros.h"
 

+ 1 - 1
test/std/experimental/memory/memory.polymorphic.allocator.class/memory.polymorphic.allocator.ctor/default.pass.cpp

@@ -18,7 +18,7 @@
 #include <type_traits>
 #include <cassert>
 
-#include "test_memory_resource.hpp"
+#include "test_memory_resource.h"
 
 #include "test_macros.h"
 

+ 1 - 1
test/std/experimental/memory/memory.polymorphic.allocator.class/memory.polymorphic.allocator.ctor/memory_resource_convert.pass.cpp

@@ -18,7 +18,7 @@
 #include <type_traits>
 #include <cassert>
 
-#include "test_memory_resource.hpp"
+#include "test_memory_resource.h"
 
 #include "test_macros.h"
 

+ 1 - 1
test/std/experimental/memory/memory.polymorphic.allocator.class/memory.polymorphic.allocator.eq/equal.pass.cpp

@@ -21,7 +21,7 @@
 #include <type_traits>
 #include <cassert>
 
-#include "test_memory_resource.hpp"
+#include "test_memory_resource.h"
 
 #include "test_macros.h"
 

+ 1 - 1
test/std/experimental/memory/memory.polymorphic.allocator.class/memory.polymorphic.allocator.eq/not_equal.pass.cpp

@@ -21,7 +21,7 @@
 #include <type_traits>
 #include <cassert>
 
-#include "test_memory_resource.hpp"
+#include "test_memory_resource.h"
 
 #include "test_macros.h"
 

+ 1 - 1
test/std/experimental/memory/memory.polymorphic.allocator.class/memory.polymorphic.allocator.mem/allocate.pass.cpp

@@ -22,7 +22,7 @@
 #include <cassert>
 
 #include "test_macros.h"
-#include "test_memory_resource.hpp"
+#include "test_memory_resource.h"
 
 namespace ex = std::experimental::pmr;
 

+ 1 - 1
test/std/experimental/memory/memory.polymorphic.allocator.class/memory.polymorphic.allocator.mem/construct_pair.pass.cpp

@@ -21,7 +21,7 @@
 #include <tuple>
 #include <cassert>
 #include <cstdlib>
-#include "uses_alloc_types.hpp"
+#include "uses_alloc_types.h"
 
 #include "test_macros.h"
 

+ 3 - 3
test/std/experimental/memory/memory.polymorphic.allocator.class/memory.polymorphic.allocator.mem/construct_pair_const_lvalue_pair.pass.cpp

@@ -23,9 +23,9 @@
 #include <cstdlib>
 
 #include "test_macros.h"
-#include "test_memory_resource.hpp"
-#include "uses_alloc_types.hpp"
-#include "controlled_allocators.hpp"
+#include "test_memory_resource.h"
+#include "uses_alloc_types.h"
+#include "controlled_allocators.h"
 #include "test_allocator.h"
 
 namespace ex = std::experimental::pmr;

+ 3 - 3
test/std/experimental/memory/memory.polymorphic.allocator.class/memory.polymorphic.allocator.mem/construct_pair_rvalue.pass.cpp

@@ -23,9 +23,9 @@
 #include <cstdlib>
 
 #include "test_macros.h"
-#include "test_memory_resource.hpp"
-#include "uses_alloc_types.hpp"
-#include "controlled_allocators.hpp"
+#include "test_memory_resource.h"
+#include "uses_alloc_types.h"
+#include "controlled_allocators.h"
 #include "test_allocator.h"
 
 namespace ex = std::experimental::pmr;

+ 3 - 3
test/std/experimental/memory/memory.polymorphic.allocator.class/memory.polymorphic.allocator.mem/construct_pair_values.pass.cpp

@@ -23,9 +23,9 @@
 #include <cstdlib>
 
 #include "test_macros.h"
-#include "test_memory_resource.hpp"
-#include "uses_alloc_types.hpp"
-#include "controlled_allocators.hpp"
+#include "test_memory_resource.h"
+#include "uses_alloc_types.h"
+#include "controlled_allocators.h"
 #include "test_allocator.h"
 
 namespace ex = std::experimental::pmr;

+ 3 - 3
test/std/experimental/memory/memory.polymorphic.allocator.class/memory.polymorphic.allocator.mem/construct_piecewise_pair.pass.cpp

@@ -24,9 +24,9 @@
 #include <cstdlib>
 
 #include "test_macros.h"
-#include "test_memory_resource.hpp"
-#include "uses_alloc_types.hpp"
-#include "controlled_allocators.hpp"
+#include "test_memory_resource.h"
+#include "uses_alloc_types.h"
+#include "controlled_allocators.h"
 #include "test_allocator.h"
 
 namespace ex = std::experimental::pmr;

+ 3 - 3
test/std/experimental/memory/memory.polymorphic.allocator.class/memory.polymorphic.allocator.mem/construct_types.pass.cpp

@@ -21,9 +21,9 @@
 #include <cstdlib>
 
 #include "test_macros.h"
-#include "test_memory_resource.hpp"
-#include "uses_alloc_types.hpp"
-#include "controlled_allocators.hpp"
+#include "test_memory_resource.h"
+#include "uses_alloc_types.h"
+#include "controlled_allocators.h"
 #include "test_allocator.h"
 
 namespace ex = std::experimental::pmr;

+ 1 - 1
test/std/experimental/memory/memory.polymorphic.allocator.class/memory.polymorphic.allocator.mem/deallocate.pass.cpp

@@ -18,7 +18,7 @@
 #include <type_traits>
 #include <cassert>
 
-#include "test_memory_resource.hpp"
+#include "test_memory_resource.h"
 
 #include "test_macros.h"
 

+ 1 - 1
test/std/experimental/memory/memory.resource.adaptor/memory.resource.adaptor.ctor/alloc_copy.pass.cpp

@@ -17,7 +17,7 @@
 #include <experimental/memory_resource>
 #include <cassert>
 
-#include "test_memory_resource.hpp"
+#include "test_memory_resource.h"
 
 #include "test_macros.h"
 

+ 1 - 1
test/std/experimental/memory/memory.resource.adaptor/memory.resource.adaptor.ctor/alloc_move.pass.cpp

@@ -17,7 +17,7 @@
 #include <experimental/memory_resource>
 #include <cassert>
 
-#include "test_memory_resource.hpp"
+#include "test_memory_resource.h"
 
 #include "test_macros.h"
 

+ 1 - 1
test/std/experimental/memory/memory.resource.adaptor/memory.resource.adaptor.ctor/default.pass.cpp

@@ -19,7 +19,7 @@
 #include <type_traits>
 #include <cassert>
 
-#include "test_memory_resource.hpp"
+#include "test_memory_resource.h"
 
 #include "test_macros.h"
 

+ 1 - 1
test/std/experimental/memory/memory.resource.adaptor/memory.resource.adaptor.mem/do_allocate_and_deallocate.pass.cpp

@@ -27,7 +27,7 @@
 #include <cassert>
 
 #include "test_macros.h"
-#include "test_memory_resource.hpp"
+#include "test_memory_resource.h"
 
 namespace ex = std::experimental::pmr;
 

+ 1 - 1
test/std/experimental/memory/memory.resource.adaptor/memory.resource.adaptor.mem/do_is_equal.pass.cpp

@@ -18,7 +18,7 @@
 #include <type_traits>
 #include <memory>
 #include <cassert>
-#include "test_memory_resource.hpp"
+#include "test_memory_resource.h"
 
 #include "test_macros.h"
 

+ 1 - 1
test/std/experimental/memory/memory.resource.aliases/header_string_synop.pass.cpp

@@ -28,7 +28,7 @@
 #include <type_traits>
 #include <cassert>
 
-#include "constexpr_char_traits.hpp"
+#include "constexpr_char_traits.h"
 
 #include "test_macros.h"
 

+ 1 - 1
test/std/experimental/memory/memory.resource.global/default_resource.pass.cpp

@@ -31,7 +31,7 @@
 #include <experimental/memory_resource>
 #include <cassert>
 
-#include "test_memory_resource.hpp"
+#include "test_memory_resource.h"
 
 #include "test_macros.h"
 

+ 1 - 1
test/std/experimental/memory/memory.resource.global/new_delete_resource.pass.cpp

@@ -16,7 +16,7 @@
 #include <type_traits>
 #include <cassert>
 
-#include "count_new.hpp"
+#include "count_new.h"
 
 #include "test_macros.h"
 

+ 1 - 1
test/std/experimental/memory/memory.resource.global/null_memory_resource.pass.cpp

@@ -18,7 +18,7 @@
 #include <cassert>
 
 #include "test_macros.h"
-#include "count_new.hpp"
+#include "count_new.h"
 
 namespace ex = std::experimental::pmr;
 

+ 1 - 1
test/std/experimental/memory/memory.resource/memory.resource.eq/equal.pass.cpp

@@ -17,7 +17,7 @@
 #include <cassert>
 
 #include "test_macros.h"
-#include "test_memory_resource.hpp"
+#include "test_memory_resource.h"
 
 namespace ex = std::experimental::pmr;
 

+ 1 - 1
test/std/experimental/memory/memory.resource/memory.resource.eq/not_equal.pass.cpp

@@ -16,7 +16,7 @@
 #include <type_traits>
 #include <cassert>
 
-#include "test_memory_resource.hpp"
+#include "test_memory_resource.h"
 
 #include "test_macros.h"
 

+ 1 - 1
test/std/experimental/memory/memory.resource/memory.resource.public/allocate.pass.cpp

@@ -27,7 +27,7 @@
 #include <cassert>
 
 #include "test_macros.h"
-#include "test_memory_resource.hpp"
+#include "test_memory_resource.h"
 
 using std::experimental::pmr::memory_resource;
 

برخی فایل ها در این مقایسه diff نمایش داده نمی شوند زیرا تعداد فایل ها بسیار زیاد است