mirror of
https://github.com/llvm-mirror/libcxx.git
synced 2025-10-21 23:30:38 +08:00
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
This commit is contained in:
@@ -21,7 +21,7 @@
|
||||
#include "test_macros.h"
|
||||
#include "test_allocator.h"
|
||||
#include "test_iterators.h"
|
||||
#include "constexpr_char_traits.hpp"
|
||||
#include "constexpr_char_traits.h"
|
||||
|
||||
template <class T, class Alloc = std::allocator<T>>
|
||||
using BStr = std::basic_string<T, std::char_traits<T>, Alloc>;
|
||||
|
Reference in New Issue
Block a user