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/localization | |
| 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/localization')
14 files changed, 14 insertions, 14 deletions
diff --git a/libcxx/test/std/localization/locale.categories/category.ctype/facet.ctype.special/facet.ctype.char.dtor/dtor.pass.cpp b/libcxx/test/std/localization/locale.categories/category.ctype/facet.ctype.special/facet.ctype.char.dtor/dtor.pass.cpp index 0f5f8d994a7..4296212dacb 100644 --- a/libcxx/test/std/localization/locale.categories/category.ctype/facet.ctype.special/facet.ctype.char.dtor/dtor.pass.cpp +++ b/libcxx/test/std/localization/locale.categories/category.ctype/facet.ctype.special/facet.ctype.char.dtor/dtor.pass.cpp @@ -15,7 +15,7 @@ #include <locale> #include <cassert> -#include "count_new.hpp" +#include "count_new.h" #include "test_macros.h" diff --git a/libcxx/test/std/localization/locale.stdcvt/codecvt_utf16.pass.cpp b/libcxx/test/std/localization/locale.stdcvt/codecvt_utf16.pass.cpp index 88892fb7641..bb69ef1d240 100644 --- a/libcxx/test/std/localization/locale.stdcvt/codecvt_utf16.pass.cpp +++ b/libcxx/test/std/localization/locale.stdcvt/codecvt_utf16.pass.cpp @@ -22,7 +22,7 @@ #include <cstdlib> #include <cassert> -#include "count_new.hpp" +#include "count_new.h" #include "test_macros.h" diff --git a/libcxx/test/std/localization/locale.stdcvt/codecvt_utf8.pass.cpp b/libcxx/test/std/localization/locale.stdcvt/codecvt_utf8.pass.cpp index 30cb5571ba7..4fc4201ee17 100644 --- a/libcxx/test/std/localization/locale.stdcvt/codecvt_utf8.pass.cpp +++ b/libcxx/test/std/localization/locale.stdcvt/codecvt_utf8.pass.cpp @@ -22,7 +22,7 @@ #include <cstdlib> #include <cassert> -#include "count_new.hpp" +#include "count_new.h" #include "test_macros.h" diff --git a/libcxx/test/std/localization/locales/locale.convenience/conversions/conversions.buffer/ctor.pass.cpp b/libcxx/test/std/localization/locales/locale.convenience/conversions/conversions.buffer/ctor.pass.cpp index f28abb934e0..f879afb7a2f 100644 --- a/libcxx/test/std/localization/locales/locale.convenience/conversions/conversions.buffer/ctor.pass.cpp +++ b/libcxx/test/std/localization/locales/locale.convenience/conversions/conversions.buffer/ctor.pass.cpp @@ -19,7 +19,7 @@ #include <cassert> #include "test_macros.h" -#include "count_new.hpp" +#include "count_new.h" int main(int, char**) { diff --git a/libcxx/test/std/localization/locales/locale/locale.cons/assign.pass.cpp b/libcxx/test/std/localization/locales/locale/locale.cons/assign.pass.cpp index 969c94542af..049e014b1b8 100644 --- a/libcxx/test/std/localization/locales/locale/locale.cons/assign.pass.cpp +++ b/libcxx/test/std/localization/locales/locale/locale.cons/assign.pass.cpp @@ -16,7 +16,7 @@ #include <cassert> #include <new> -#include "count_new.hpp" +#include "count_new.h" #include "test_macros.h" #include "platform_support.h" // locale name macros diff --git a/libcxx/test/std/localization/locales/locale/locale.cons/char_pointer.pass.cpp b/libcxx/test/std/localization/locales/locale/locale.cons/char_pointer.pass.cpp index c324f394c8b..76f8472ad47 100644 --- a/libcxx/test/std/localization/locales/locale/locale.cons/char_pointer.pass.cpp +++ b/libcxx/test/std/localization/locales/locale/locale.cons/char_pointer.pass.cpp @@ -20,7 +20,7 @@ #include <new> #include <cassert> -#include "count_new.hpp" +#include "count_new.h" #include "platform_support.h" // locale name macros #include "test_macros.h" diff --git a/libcxx/test/std/localization/locales/locale/locale.cons/copy.pass.cpp b/libcxx/test/std/localization/locales/locale/locale.cons/copy.pass.cpp index 62aee240a7f..a0e476249e2 100644 --- a/libcxx/test/std/localization/locales/locale/locale.cons/copy.pass.cpp +++ b/libcxx/test/std/localization/locales/locale/locale.cons/copy.pass.cpp @@ -16,7 +16,7 @@ #include <cassert> #include <new> -#include "count_new.hpp" +#include "count_new.h" #include "test_macros.h" #include "platform_support.h" // locale name macros diff --git a/libcxx/test/std/localization/locales/locale/locale.cons/default.pass.cpp b/libcxx/test/std/localization/locales/locale/locale.cons/default.pass.cpp index 614996bb44e..b191aee30b4 100644 --- a/libcxx/test/std/localization/locales/locale/locale.cons/default.pass.cpp +++ b/libcxx/test/std/localization/locales/locale/locale.cons/default.pass.cpp @@ -17,7 +17,7 @@ #include "test_macros.h" #include "platform_support.h" // locale name macros -#include "count_new.hpp" +#include "count_new.h" void check(const std::locale& loc) { diff --git a/libcxx/test/std/localization/locales/locale/locale.cons/locale_char_pointer_cat.pass.cpp b/libcxx/test/std/localization/locales/locale/locale.cons/locale_char_pointer_cat.pass.cpp index 7064f6fd2e8..69324cbc435 100644 --- a/libcxx/test/std/localization/locales/locale/locale.cons/locale_char_pointer_cat.pass.cpp +++ b/libcxx/test/std/localization/locales/locale/locale.cons/locale_char_pointer_cat.pass.cpp @@ -21,7 +21,7 @@ #include <new> #include <cassert> -#include "count_new.hpp" +#include "count_new.h" #include "test_macros.h" #include "platform_support.h" // locale name macros diff --git a/libcxx/test/std/localization/locales/locale/locale.cons/locale_facetptr.pass.cpp b/libcxx/test/std/localization/locales/locale/locale.cons/locale_facetptr.pass.cpp index cac3fa9c61e..0cc8af31162 100644 --- a/libcxx/test/std/localization/locales/locale/locale.cons/locale_facetptr.pass.cpp +++ b/libcxx/test/std/localization/locales/locale/locale.cons/locale_facetptr.pass.cpp @@ -16,7 +16,7 @@ #include <new> #include <cassert> -#include "count_new.hpp" +#include "count_new.h" #include "test_macros.h" #include "platform_support.h" // locale name macros diff --git a/libcxx/test/std/localization/locales/locale/locale.cons/locale_locale_cat.pass.cpp b/libcxx/test/std/localization/locales/locale/locale.cons/locale_locale_cat.pass.cpp index fb7d5953d69..e41d8746765 100644 --- a/libcxx/test/std/localization/locales/locale/locale.cons/locale_locale_cat.pass.cpp +++ b/libcxx/test/std/localization/locales/locale/locale.cons/locale_locale_cat.pass.cpp @@ -21,7 +21,7 @@ #include <new> #include <cassert> -#include "count_new.hpp" +#include "count_new.h" #include "test_macros.h" #include "platform_support.h" // locale name macros diff --git a/libcxx/test/std/localization/locales/locale/locale.cons/locale_string_cat.pass.cpp b/libcxx/test/std/localization/locales/locale/locale.cons/locale_string_cat.pass.cpp index d495036da73..219e934e0c8 100644 --- a/libcxx/test/std/localization/locales/locale/locale.cons/locale_string_cat.pass.cpp +++ b/libcxx/test/std/localization/locales/locale/locale.cons/locale_string_cat.pass.cpp @@ -21,7 +21,7 @@ #include <new> #include <cassert> -#include "count_new.hpp" +#include "count_new.h" #include "test_macros.h" #include "platform_support.h" // locale name macros diff --git a/libcxx/test/std/localization/locales/locale/locale.cons/string.pass.cpp b/libcxx/test/std/localization/locales/locale/locale.cons/string.pass.cpp index ee9ddbdca3e..f6d621b4737 100644 --- a/libcxx/test/std/localization/locales/locale/locale.cons/string.pass.cpp +++ b/libcxx/test/std/localization/locales/locale/locale.cons/string.pass.cpp @@ -17,7 +17,7 @@ #include <new> #include <cassert> -#include "count_new.hpp" +#include "count_new.h" #include "test_macros.h" #include "platform_support.h" // locale name macros diff --git a/libcxx/test/std/localization/locales/locale/locale.members/combine.pass.cpp b/libcxx/test/std/localization/locales/locale/locale.members/combine.pass.cpp index fc1f3d33bef..68c0438abb7 100644 --- a/libcxx/test/std/localization/locales/locale/locale.members/combine.pass.cpp +++ b/libcxx/test/std/localization/locales/locale/locale.members/combine.pass.cpp @@ -14,7 +14,7 @@ #include <stdexcept> #include <cassert> -#include "count_new.hpp" +#include "count_new.h" #include "test_macros.h" |

