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

llvm-svn: 369487
This commit is contained in:
Nico Weber 2019-08-21 01:59:12 +00:00
parent 8d18384809
commit f938755a33
13 changed files with 25 additions and 25 deletions

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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"

View File

@ -7,8 +7,8 @@
#include "benchmark/benchmark.h"
#include "CartesianBenchmarks.hpp"
#include "GenerateInput.hpp"
#include "CartesianBenchmarks.h"
#include "GenerateInput.h"
namespace {

View File

@ -11,8 +11,8 @@
#include "benchmark/benchmark.h"
#include "ContainerBenchmarks.hpp"
#include "GenerateInput.hpp"
#include "ContainerBenchmarks.h"
#include "GenerateInput.h"
using namespace ContainerBenchmarks;

View File

@ -1,5 +1,5 @@
#include "benchmark/benchmark.h"
#include "GenerateInput.hpp"
#include "GenerateInput.h"
#include "test_iterators.h"
#include "filesystem_include.h"

View File

@ -11,7 +11,7 @@
#include <memory>
#include <string>
#include "CartesianBenchmarks.hpp"
#include "CartesianBenchmarks.h"
#include "benchmark/benchmark.h"
#include "test_macros.h"

View File

@ -14,7 +14,7 @@
#include <string>
#include <vector>
#include "CartesianBenchmarks.hpp"
#include "CartesianBenchmarks.h"
#include "benchmark/benchmark.h"
#include "test_macros.h"

View File

@ -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"

View File

@ -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;

View File

@ -6,8 +6,8 @@
#include "benchmark/benchmark.h"
#include "ContainerBenchmarks.hpp"
#include "GenerateInput.hpp"
#include "ContainerBenchmarks.h"
#include "GenerateInput.h"
using namespace ContainerBenchmarks;