mirror of
https://github.com/darlinghq/darling-libcxx.git
synced 2024-11-26 21:30:42 +00:00
libcxx: Rename .hpp files in libcxx/benchmarks to .h
LLVM uses .h as its extension for header files. Differential Revision: https://reviews.llvm.org/D66509 git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@369487 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
2d8b51bed3
commit
630780b320
@ -7,12 +7,12 @@
|
||||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#ifndef BENCHMARK_CONTAINER_BENCHMARKS_HPP
|
||||
#define BENCHMARK_CONTAINER_BENCHMARKS_HPP
|
||||
#ifndef BENCHMARK_CONTAINER_BENCHMARKS_H
|
||||
#define BENCHMARK_CONTAINER_BENCHMARKS_H
|
||||
|
||||
#include <cassert>
|
||||
|
||||
#include "Utilities.hpp"
|
||||
#include "Utilities.h"
|
||||
#include "benchmark/benchmark.h"
|
||||
|
||||
namespace ContainerBenchmarks {
|
||||
@ -137,4 +137,4 @@ static void BM_FindRehash(benchmark::State& st, Container c, GenInputs gen) {
|
||||
|
||||
} // end namespace ContainerBenchmarks
|
||||
|
||||
#endif // BENCHMARK_CONTAINER_BENCHMARKS_HPP
|
||||
#endif // BENCHMARK_CONTAINER_BENCHMARKS_H
|
@ -1,5 +1,5 @@
|
||||
#ifndef BENCHMARK_GENERATE_INPUT_HPP
|
||||
#define BENCHMARK_GENERATE_INPUT_HPP
|
||||
#ifndef BENCHMARK_GENERATE_INPUT_H
|
||||
#define BENCHMARK_GENERATE_INPUT_H
|
||||
|
||||
#include <algorithm>
|
||||
#include <random>
|
||||
@ -141,4 +141,4 @@ inline std::vector<const char*> getRandomCStringInputs(size_t N) {
|
||||
}
|
||||
|
||||
|
||||
#endif // BENCHMARK_GENERATE_INPUT_HPP
|
||||
#endif // BENCHMARK_GENERATE_INPUT_H
|
@ -7,8 +7,8 @@
|
||||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#ifndef BENCHMARK_UTILITIES_HPP
|
||||
#define BENCHMARK_UTILITIES_HPP
|
||||
#ifndef BENCHMARK_UTILITIES_H
|
||||
#define BENCHMARK_UTILITIES_H
|
||||
|
||||
#include <cassert>
|
||||
#include <type_traits>
|
||||
@ -30,4 +30,4 @@ template <class Container, std::enable_if_t<!UtilitiesInternal::HasData<Containe
|
||||
void DoNotOptimizeData(Container &c) { benchmark::DoNotOptimize(&c); }
|
||||
|
||||
|
||||
#endif // BENCHMARK_UTILITIES_HPP
|
||||
#endif // BENCHMARK_UTILITIES_H
|
@ -7,8 +7,8 @@
|
||||
#include <utility>
|
||||
#include <vector>
|
||||
|
||||
#include "CartesianBenchmarks.hpp"
|
||||
#include "GenerateInput.hpp"
|
||||
#include "CartesianBenchmarks.h"
|
||||
#include "GenerateInput.h"
|
||||
#include "benchmark/benchmark.h"
|
||||
#include "test_macros.h"
|
||||
|
||||
|
@ -7,8 +7,8 @@
|
||||
|
||||
#include "benchmark/benchmark.h"
|
||||
|
||||
#include "CartesianBenchmarks.hpp"
|
||||
#include "GenerateInput.hpp"
|
||||
#include "CartesianBenchmarks.h"
|
||||
#include "GenerateInput.h"
|
||||
|
||||
namespace {
|
||||
|
||||
|
@ -11,8 +11,8 @@
|
||||
|
||||
#include "benchmark/benchmark.h"
|
||||
|
||||
#include "ContainerBenchmarks.hpp"
|
||||
#include "GenerateInput.hpp"
|
||||
#include "ContainerBenchmarks.h"
|
||||
#include "GenerateInput.h"
|
||||
|
||||
using namespace ContainerBenchmarks;
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
#include "benchmark/benchmark.h"
|
||||
#include "GenerateInput.hpp"
|
||||
#include "GenerateInput.h"
|
||||
#include "test_iterators.h"
|
||||
#include "filesystem_include.h"
|
||||
|
||||
|
@ -11,7 +11,7 @@
|
||||
#include <memory>
|
||||
#include <string>
|
||||
|
||||
#include "CartesianBenchmarks.hpp"
|
||||
#include "CartesianBenchmarks.h"
|
||||
#include "benchmark/benchmark.h"
|
||||
#include "test_macros.h"
|
||||
|
||||
|
@ -14,7 +14,7 @@
|
||||
#include <string>
|
||||
#include <vector>
|
||||
|
||||
#include "CartesianBenchmarks.hpp"
|
||||
#include "CartesianBenchmarks.h"
|
||||
#include "benchmark/benchmark.h"
|
||||
#include "test_macros.h"
|
||||
|
||||
|
@ -3,8 +3,8 @@
|
||||
#include <new>
|
||||
#include <vector>
|
||||
|
||||
#include "CartesianBenchmarks.hpp"
|
||||
#include "GenerateInput.hpp"
|
||||
#include "CartesianBenchmarks.h"
|
||||
#include "GenerateInput.h"
|
||||
#include "benchmark/benchmark.h"
|
||||
#include "test_macros.h"
|
||||
|
||||
|
@ -7,8 +7,8 @@
|
||||
|
||||
#include "benchmark/benchmark.h"
|
||||
|
||||
#include "ContainerBenchmarks.hpp"
|
||||
#include "GenerateInput.hpp"
|
||||
#include "ContainerBenchmarks.h"
|
||||
#include "GenerateInput.h"
|
||||
#include "test_macros.h"
|
||||
|
||||
using namespace ContainerBenchmarks;
|
||||
|
@ -6,8 +6,8 @@
|
||||
|
||||
#include "benchmark/benchmark.h"
|
||||
|
||||
#include "ContainerBenchmarks.hpp"
|
||||
#include "GenerateInput.hpp"
|
||||
#include "ContainerBenchmarks.h"
|
||||
#include "GenerateInput.h"
|
||||
|
||||
using namespace ContainerBenchmarks;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user