diff options
| author | Martin Hořeňovský | 2020-08-29 20:48:32 +0200 |
|---|---|---|
| committer | Martin Hořeňovský | 2020-08-30 14:09:27 +0200 |
| commit | a822cb9717b64b3b17047fe1ab4dc727c2ff39c4 (patch) | |
| tree | 564f2e15e449786315af8069b0cdab2ae1262ebd /src | |
| parent | c26693df237f7a9c7330f0ad7334d9a96a65d46d (diff) | |
| download | catch3-a822cb9717b64b3b17047fe1ab4dc727c2ff39c4.tar.gz | |
Standardize include guard patterns to FILE_NAME_EXTENSION_INCLUDED
This commit also strips the old copyright comment header in touched
files, as those will also be replaced with a more standardized and
machine-friendly version.
Diffstat (limited to 'src')
117 files changed, 371 insertions, 1150 deletions
diff --git a/src/catch2/benchmark/catch_benchmark.hpp b/src/catch2/benchmark/catch_benchmark.hpp index e14281cf..95269bd6 100644 --- a/src/catch2/benchmark/catch_benchmark.hpp +++ b/src/catch2/benchmark/catch_benchmark.hpp @@ -1,14 +1,7 @@ -/* - * Created by Joachim on 16/04/2019. - * Adapted from donated nonius code. - * - * Distributed under the Boost Software License, Version 1.0. (See accompanying - * file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) - */ - - // Benchmark -#ifndef TWOBLUECUBES_CATCH_BENCHMARK_HPP_INCLUDED -#define TWOBLUECUBES_CATCH_BENCHMARK_HPP_INCLUDED +// Adapted from donated nonius code. + +#ifndef CATCH_BENCHMARK_HPP_INCLUDED +#define CATCH_BENCHMARK_HPP_INCLUDED #include <catch2/interfaces/catch_interfaces_config.hpp> #include <catch2/internal/catch_context.hpp> @@ -134,4 +127,4 @@ namespace Catch { #endif -#endif // TWOBLUECUBES_CATCH_BENCHMARK_HPP_INCLUDED +#endif // CATCH_BENCHMARK_HPP_INCLUDED diff --git a/src/catch2/benchmark/catch_chronometer.hpp b/src/catch2/benchmark/catch_chronometer.hpp index 2c8705be..11ae459a 100644 --- a/src/catch2/benchmark/catch_chronometer.hpp +++ b/src/catch2/benchmark/catch_chronometer.hpp @@ -1,15 +1,7 @@ -/* - * Created by Joachim on 16/04/2019. - * Adapted from donated nonius code. - * - * Distributed under the Boost Software License, Version 1.0. (See accompanying - * file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) - */ +// Adapted from donated nonius code. -// User-facing chronometer - -#ifndef TWOBLUECUBES_CATCH_CHRONOMETER_HPP_INCLUDED -#define TWOBLUECUBES_CATCH_CHRONOMETER_HPP_INCLUDED +#ifndef CATCH_CHRONOMETER_HPP_INCLUDED +#define CATCH_CHRONOMETER_HPP_INCLUDED |