commit | cc89063bff0f73ec7049a1dcb5d4688ae6806941 | [log] [tgz] |
---|---|---|
author | Nico Weber <[email protected]> | Wed Aug 21 00:14:12 2019 |
committer | Nico Weber <[email protected]> | Wed Aug 21 00:14:12 2019 |
tree | 90c993525f5f8a46618e9b2297fef56de1024383 | |
parent | 56606a4db3e7c6b4a1b3bfd3b2dfc04c81a2247e [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 llvm-svn: 369481