diff options
author | Nico Weber <nicolasweber@gmx.de> | 2019-08-21 00:14:12 +0000 |
---|---|---|
committer | Nico Weber <nicolasweber@gmx.de> | 2019-08-21 00:14:12 +0000 |
commit | cc89063bff0f73ec7049a1dcb5d4688ae6806941 (patch) | |
tree | 90c993525f5f8a46618e9b2297fef56de1024383 /libcxx/test/std/input.output/filesystems/class.directory_entry | |
parent | 56606a4db3e7c6b4a1b3bfd3b2dfc04c81a2247e (diff) | |
download | bcm5719-llvm-cc89063bff0f73ec7049a1dcb5d4688ae6806941.tar.gz bcm5719-llvm-cc89063bff0f73ec7049a1dcb5d4688ae6806941.zip |
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
llvm-svn: 369481
Diffstat (limited to 'libcxx/test/std/input.output/filesystems/class.directory_entry')
18 files changed, 49 insertions, 49 deletions
diff --git a/libcxx/test/std/input.output/filesystems/class.directory_entry/directory_entry.cons/copy.pass.cpp b/libcxx/test/std/input.output/filesystems/class.directory_entry/directory_entry.cons/copy.pass.cpp index 717c766b9e3..31835898fa9 100644 --- a/libcxx/test/std/input.output/filesystems/class.directory_entry/directory_entry.cons/copy.pass.cpp +++ b/libcxx/test/std/input.output/filesystems/class.directory_entry/directory_entry.cons/copy.pass.cpp @@ -14,14 +14,14 @@ // directory_entry(const directory_entry&) = default; -#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 "test_convertible.hpp" +#include "rapid-cxx-test.h" +#include "filesystem_test_helper.h" +#include "test_convertible.h" TEST_SUITE(directory_entry_path_ctor_suite) diff --git a/libcxx/test/std/input.output/filesystems/class.directory_entry/directory_entry.cons/copy_assign.pass.cpp b/libcxx/test/std/input.output/filesystems/class.directory_entry/directory_entry.cons/copy_assign.pass.cpp index 4040933e9f7..11ee2fd9852 100644 --- a/libcxx/test/std/input.output/filesystems/class.directory_entry/directory_entry.cons/copy_assign.pass.cpp +++ b/libcxx/test/std/input.output/filesystems/class.directory_entry/directory_entry.cons/copy_assign.pass.cpp @@ -17,13 +17,13 @@ // void assign(path const&); // void replace_filename(path const&); -#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" TEST_SUITE(directory_entry_ctor_suite) diff --git a/libcxx/test/std/input.output/filesystems/class.directory_entry/directory_entry.cons/default.pass.cpp b/libcxx/test/std/input.output/filesystems/class.directory_entry/directory_entry.cons/default.pass.cpp index 5d28de35cdf..0bc670301dc 100644 --- a/libcxx/test/std/input.output/filesystems/class.directory_entry/directory_entry.cons/default.pass.cpp +++ b/libcxx/test/std/input.output/filesystems/class.directory_entry/directory_entry.cons/default.pass.cpp @@ -14,7 +14,7 @@ // directory_entry() noexcept = default; -#include "filesystem_include.hpp" +#include "filesystem_include.h" #include <type_traits> #include <cassert> diff --git a/libcxx/test/std/input.output/filesystems/class.directory_entry/directory_entry.cons/default_const.pass.cpp b/libcxx/test/std/input.output/filesystems/class.directory_entry/directory_entry.cons/default_const.pass.cpp index 39fc5212b68..75e626335fd 100644 --- a/libcxx/test/std/input.output/filesystems/class.directory_entry/directory_entry.cons/default_const.pass.cpp +++ b/libcxx/test/std/input.output/filesystems/class.directory_entry/directory_entry.cons/default_const.pass.cpp @@ -15,7 +15,7 @@ // directory_entry() noexcept = default; -#include "filesystem_include.hpp" +#include "filesystem_include.h" #include <type_traits> #include <cassert> diff --git a/libcxx/test/std/input.output/filesystems/class.directory_entry/directory_entry.cons/move.pass.cpp b/libcxx/test/std/input.output/filesystems/class.directory_entry/directory_entry.cons/move.pass.cpp index f4c7e44e90a..4e5b2831188 100644 --- a/libcxx/test/std/input.output/filesystems/class.directory_entry/directory_entry.cons/move.pass.cpp +++ b/libcxx/test/std/input.output/filesystems/class.directory_entry/directory_entry.cons/move.pass.cpp @@ -14,14 +14,14 @@ // directory_entry(directory_entry&&) noexcept = default; -#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 "test_convertible.hpp" +#include "rapid-cxx-test.h" +#include "filesystem_test_helper.h" +#include "test_convertible.h" TEST_SUITE(directory_entry_path_ctor_suite) diff --git a/libcxx/test/std/input.output/filesystems/class.directory_entry/directory_entry.cons/move_assign.pass.cpp b/libcxx/test/std/input.output/filesystems/class.directory_entry/directory_entry.cons/move_assign.pass.cpp index 38107da07c9..9c85547cb73 100644 --- a/libcxx/test/std/input.output/filesystems/class.directory_entry/directory_entry.cons/move_assign.pass.cpp +++ b/libcxx/test/std/input.output/filesystems/class.directory_entry/directory_entry.cons/move_assign.pass.cpp @@ -17,13 +17,13 @@ // void assign(path const&); // void replace_filename(path const&); -#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" TEST_SUITE(directory_entry_ctor_suite) diff --git a/libcxx/test/std/input.output/filesystems/class.directory_entry/directory_entry.cons/path.pass.cpp b/libcxx/test/std/input.output/filesystems/class.directory_entry/directory_entry.cons/path.pass.cpp index aac7f76cbf5..5188427b909 100644 --- a/libcxx/test/std/input.output/filesystems/class.directory_entry/directory_entry.cons/path.pass.cpp +++ b/libcxx/test/std/input.output/filesystems/class.directory_entry/directory_entry.cons/path.pass.cpp @@ -15,14 +15,14 @@ // explicit directory_entry(const path); // directory_entry(const path&, error_code& ec); -#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 "test_convertible.hpp" +#include "rapid-cxx-test.h" +#include "filesystem_test_helper.h" +#include "test_convertible.h" TEST_SUITE(directory_entry_path_ctor_suite) diff --git a/libcxx/test/std/input.output/filesystems/class.directory_entry/directory_entry.mods/assign.pass.cpp b/libcxx/test/std/input.output/filesystems/class.directory_entry/directory_entry.mods/assign.pass.cpp index b2240ed769d..0c5180b3530 100644 --- a/libcxx/test/std/input.output/filesystems/class.directory_entry/directory_entry.mods/assign.pass.cpp +++ b/libcxx/test/std/input.output/filesystems/class.directory_entry/directory_entry.mods/assign.pass.cpp @@ -17,13 +17,13 @@ // void assign(path const&); // void replace_filename(path const&); -#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" TEST_SUITE(directory_entry_mods_suite) diff --git a/libcxx/test/std/input.output/filesystems/class.directory_entry/directory_entry.mods/refresh.pass.cpp b/libcxx/test/std/input.output/filesystems/class.directory_entry/directory_entry.mods/refresh.pass.cpp index 859763b91d8..a9a01a5d5e0 100644 --- a/libcxx/test/std/input.output/filesystems/class.directory_entry/directory_entry.mods/refresh.pass.cpp +++ b/libcxx/test/std/input.output/filesystems/class.directory_entry/directory_entry.mods/refresh.pass.cpp @@ -17,13 +17,13 @@ // void assign(path const&); // void replace_filename(path const&); -#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" TEST_SUITE(directory_entry_mods_suite) diff --git a/libcxx/test/std/input.output/filesystems/class.directory_entry/directory_entry.mods/replace_filename.pass.cpp b/libcxx/test/std/input.output/filesystems/class.directory_entry/directory_entry.mods/replace_filename.pass.cpp index e8ecdee32f2..8ceb48ba50d 100644 --- a/libcxx/test/std/input.output/filesystems/class.directory_entry/directory_entry.mods/replace_filename.pass.cpp +++ b/libcxx/test/std/input.output/filesystems/class.directory_entry/directory_entry.mods/replace_filename.pass.cpp @@ -17,13 +17,13 @@ // void assign(path const&); // void replace_filename(path const&); -#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" TEST_SUITE(directory_entry_mods_suite) diff --git a/libcxx/test/std/input.output/filesystems/class.directory_entry/directory_entry.obs/comparisons.pass.cpp b/libcxx/test/std/input.output/filesystems/class.directory_entry/directory_entry.obs/comparisons.pass.cpp index 2cac5470017..1633d9f378d 100644 --- a/libcxx/test/std/input.output/filesystems/class.directory_entry/directory_entry.obs/comparisons.pass.cpp +++ b/libcxx/test/std/input.output/filesystems/class.directory_entry/directory_entry.obs/comparisons.pass.cpp @@ -20,7 +20,7 @@ // bool operator>=(directory_entry const&) const noexcept; -#include "filesystem_include.hpp" +#include "filesystem_include.h" #include <type_traits> #include <cassert> diff --git a/libcxx/test/std/input.output/filesystems/class.directory_entry/directory_entry.obs/file_size.pass.cpp b/libcxx/test/std/input.output/filesystems/class.directory_entry/directory_entry.obs/file_size.pass.cpp index 2d9d938eb10..0ebbb293c99 100644 --- a/libcxx/test/std/input.output/filesystems/class.directory_entry/directory_entry.obs/file_size.pass.cpp +++ b/libcxx/test/std/input.output/filesystems/class.directory_entry/directory_entry.obs/file_size.pass.cpp @@ -15,12 +15,12 @@ // uintmax_t file_size() const; // uintmax_t file_size(error_code const&) const noexcept; -#include "filesystem_include.hpp" +#include "filesystem_include.h" #include <type_traits> #include <cassert> -#include "filesystem_test_helper.hpp" -#include "rapid-cxx-test.hpp" +#include "filesystem_test_helper.h" +#include "rapid-cxx-test.h" #include <iostream> diff --git a/libcxx/test/std/input.output/filesystems/class.directory_entry/directory_entry.obs/file_type_obs.pass.cpp b/libcxx/test/std/input.output/filesystems/class.directory_entry/directory_entry.obs/file_type_obs.pass.cpp index 0a0c5ac7a89..f5a44b76a8b 100644 --- a/libcxx/test/std/input.output/filesystems/class.directory_entry/directory_entry.obs/file_type_obs.pass.cpp +++ b/libcxx/test/std/input.output/filesystems/class.directory_entry/directory_entry.obs/file_type_obs.pass.cpp @@ -15,12 +15,12 @@ // file_status status() const; // file_status status(error_code const&) const noexcept; -#include "filesystem_include.hpp" +#include "filesystem_include.h" #include <type_traits> #include <cassert> -#include "filesystem_test_helper.hpp" -#include "rapid-cxx-test.hpp" +#include "filesystem_test_helper.h" +#include "rapid-cxx-test.h" #include "test_macros.h" diff --git a/libcxx/test/std/input.output/filesystems/class.directory_entry/directory_entry.obs/hard_link_count.pass.cpp b/libcxx/test/std/input.output/filesystems/class.directory_entry/directory_entry.obs/hard_link_count.pass.cpp index 207eb6d2d70..c7d30d19190 100644 --- a/libcxx/test/std/input.output/filesystems/class.directory_entry/directory_entry.obs/hard_link_count.pass.cpp +++ b/libcxx/test/std/input.output/filesystems/class.directory_entry/directory_entry.obs/hard_link_count.pass.cpp @@ -15,12 +15,12 @@ // uintmax_t hard_link_count() const; // uintmax_t hard_link_count(error_code const&) const noexcept; -#include "filesystem_include.hpp" +#include "filesystem_include.h" #include <type_traits> #include <cassert> -#include "filesystem_test_helper.hpp" -#include "rapid-cxx-test.hpp" +#include "filesystem_test_helper.h" +#include "rapid-cxx-test.h" #include "test_macros.h" diff --git a/libcxx/test/std/input.output/filesystems/class.directory_entry/directory_entry.obs/last_write_time.pass.cpp b/libcxx/test/std/input.output/filesystems/class.directory_entry/directory_entry.obs/last_write_time.pass.cpp index 5da5528ed8b..fd6c81cd730 100644 --- a/libcxx/test/std/input.output/filesystems/class.directory_entry/directory_entry.obs/last_write_time.pass.cpp +++ b/libcxx/test/std/input.output/filesystems/class.directory_entry/directory_entry.obs/last_write_time.pass.cpp @@ -15,12 +15,12 @@ // file_time_type last_write_time() const; // file_time_type last_write_time(error_code const&) const noexcept; -#include "filesystem_include.hpp" +#include "filesystem_include.h" #include <type_traits> #include <cassert> -#include "filesystem_test_helper.hpp" -#include "rapid-cxx-test.hpp" +#include "filesystem_test_helper.h" +#include "rapid-cxx-test.h" #include "test_macros.h" diff --git a/libcxx/test/std/input.output/filesystems/class.directory_entry/directory_entry.obs/path.pass.cpp b/libcxx/test/std/input.output/filesystems/class.directory_entry/directory_entry.obs/path.pass.cpp index fea35d398fa..6f2a995d2ff 100644 --- a/libcxx/test/std/input.output/filesystems/class.directory_entry/directory_entry.obs/path.pass.cpp +++ b/libcxx/test/std/input.output/filesystems/class.directory_entry/directory_entry.obs/path.pass.cpp @@ -15,7 +15,7 @@ // const path& path() const noexcept; // operator const path&() const noexcept; -#include "filesystem_include.hpp" +#include "filesystem_include.h" #include <type_traits> #include <cassert> diff --git a/libcxx/test/std/input.output/filesystems/class.directory_entry/directory_entry.obs/status.pass.cpp b/libcxx/test/std/input.output/filesystems/class.directory_entry/directory_entry.obs/status.pass.cpp index 2763c47052f..8ea1fdbcbe6 100644 --- a/libcxx/test/std/input.output/filesystems/class.directory_entry/directory_entry.obs/status.pass.cpp +++ b/libcxx/test/std/input.output/filesystems/class.directory_entry/directory_entry.obs/status.pass.cpp @@ -15,12 +15,12 @@ // file_status status() const; // file_status status(error_code const&) const noexcept; -#include "filesystem_include.hpp" +#include "filesystem_include.h" #include <type_traits> #include <cassert> -#include "filesystem_test_helper.hpp" -#include "rapid-cxx-test.hpp" +#include "filesystem_test_helper.h" +#include "rapid-cxx-test.h" #include "test_macros.h" diff --git a/libcxx/test/std/input.output/filesystems/class.directory_entry/directory_entry.obs/symlink_status.pass.cpp b/libcxx/test/std/input.output/filesystems/class.directory_entry/directory_entry.obs/symlink_status.pass.cpp index bfa16fd57d0..cff19bc583f 100644 --- a/libcxx/test/std/input.output/filesystems/class.directory_entry/directory_entry.obs/symlink_status.pass.cpp +++ b/libcxx/test/std/input.output/filesystems/class.directory_entry/directory_entry.obs/symlink_status.pass.cpp @@ -15,12 +15,12 @@ // file_status symlink_status() const; // file_status symlink_status(error_code&) const noexcept; -#include "filesystem_include.hpp" +#include "filesystem_include.h" #include <type_traits> #include <cassert> -#include "filesystem_test_helper.hpp" -#include "rapid-cxx-test.hpp" +#include "filesystem_test_helper.h" +#include "rapid-cxx-test.h" #include "test_macros.h" |