Skip to content

Commit cc89063

Browse files
committedAug 21, 2019
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
1 parent 56606a4 commit cc89063

File tree

447 files changed

+723
-723
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

447 files changed

+723
-723
lines changed
 

‎libcxx/benchmarks/filesystem.bench.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#include "benchmark/benchmark.h"
22
#include "GenerateInput.hpp"
33
#include "test_iterators.h"
4-
#include "filesystem_include.hpp"
4+
#include "filesystem_include.h"
55

66
static const size_t TestNumInputs = 1024;
77

‎libcxx/test/libcxx/algorithms/half_positive.pass.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
#include <type_traits>
1818

1919
#include "test_macros.h"
20-
#include "user_defined_integral.hpp"
20+
#include "user_defined_integral.h"
2121

2222
namespace {
2323

0 commit comments

Comments
 (0)
Please sign in to comment.