commit | 28db4445e2f18bf9257df5c72fb433425d300fe4 | [log] [tgz] |
---|---|---|
author | Nico Weber <nicolasweber@gmx.de> | Wed Aug 21 00:14:12 2019 +0000 |
committer | Nico Weber <nicolasweber@gmx.de> | Wed Aug 21 00:14:12 2019 +0000 |
tree | f1a6f18f049f5cb09d871917bd5984c9e7d0798d | |
parent | 4dde9ccef57d50e50620408a0b7a902f0aba803e [diff] |
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