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.path/path.member/path.compare.pass.cpp | |
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.path/path.member/path.compare.pass.cpp')
-rw-r--r-- | libcxx/test/std/input.output/filesystems/class.path/path.member/path.compare.pass.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libcxx/test/std/input.output/filesystems/class.path/path.member/path.compare.pass.cpp b/libcxx/test/std/input.output/filesystems/class.path/path.member/path.compare.pass.cpp index 165e62fe4fe..3a9d1f5bf42 100644 --- a/libcxx/test/std/input.output/filesystems/class.path/path.member/path.compare.pass.cpp +++ b/libcxx/test/std/input.output/filesystems/class.path/path.member/path.compare.pass.cpp @@ -26,15 +26,15 @@ // size_t hash_value(path const&) noexcept; -#include "filesystem_include.hpp" +#include "filesystem_include.h" #include <type_traits> #include <vector> #include <cassert> #include "test_macros.h" #include "test_iterators.h" -#include "count_new.hpp" -#include "filesystem_test_helper.hpp" +#include "count_new.h" +#include "filesystem_test_helper.h" #include "verbose_assert.h" struct PathCompareTest { |