Read-only mirrors. Development, issues and pull requests are on GitHub.

summaryrefslogtreecommitdiffhomepage
path: root/src/catch2/internal
diff options
context:
space:
mode:
authorMartin Hořeňovský2020-08-30 15:43:45 +0200
committerMartin Hořeňovský2020-08-30 15:43:45 +0200
commit90aeffb97d6942d16f75a56b11e10fc0b010995a (patch)
tree439e37023555f084520faa04f79f766376ca1235 /src/catch2/internal
parentc2453c2bf8278100386f7b97029fe5cc47a77755 (diff)
downloadcatch3-90aeffb97d6942d16f75a56b11e10fc0b010995a.tar.gz
Add standardized copyright notice + SPDX identifier to source files
This should also be done for test files, but that has lower priority.
Diffstat (limited to 'src/catch2/internal')
-rw-r--r--src/catch2/internal/catch_assertion_handler.cpp7
-rw-r--r--src/catch2/internal/catch_assertion_handler.hpp7
-rw-r--r--src/catch2/internal/catch_case_sensitive.hpp7
-rw-r--r--src/catch2/internal/catch_clara.cpp7
-rw-r--r--src/catch2/internal/catch_clara.hpp7
-rw-r--r--src/catch2/internal/catch_combined_tu.cpp7
-rw-r--r--src/catch2/internal/catch_commandline.cpp7
-rw-r--r--src/catch2/internal/catch_commandline.hpp7
-rw-r--r--src/catch2/internal/catch_common.cpp7
-rw-r--r--src/catch2/internal/catch_common.hpp7
-rw-r--r--src/catch2/internal/catch_compiler_capabilities.hpp7
-rw-r--r--src/catch2/internal/catch_console_colour.cpp7
-rw-r--r--src/catch2/internal/catch_console_colour.hpp7
-rw-r--r--src/catch2/internal/catch_console_width.hpp7
-rw-r--r--src/catch2/internal/catch_container_nonmembers.hpp7
-rw-r--r--src/catch2/internal/catch_context.cpp7
-rw-r--r--src/catch2/internal/catch_context.hpp7
-rw-r--r--src/catch2/internal/catch_debug_console.cpp7
-rw-r--r--src/catch2/internal/catch_debug_console.hpp7
-rw-r--r--src/catch2/internal/catch_debugger.cpp7
-rw-r--r--src/catch2/internal/catch_debugger.hpp7
-rw-r--r--src/catch2/internal/catch_decomposer.hpp7
-rw-r--r--src/catch2/internal/catch_enforce.cpp7
-rw-r--r--src/catch2/internal/catch_enforce.hpp7
-rw-r--r--src/catch2/internal/catch_enum_values_registry.cpp7
-rw-r--r--src/catch2/internal/catch_enum_values_registry.hpp7
-rw-r--r--src/catch2/internal/catch_errno_guard.hpp7
-rw-r--r--src/catch2/internal/catch_exception_translator_registry.cpp7
-rw-r--r--src/catch2/internal/catch_exception_translator_registry.hpp7
-rw-r--r--src/catch2/internal/catch_fatal_condition_handler.cpp7
-rw-r--r--src/catch2/internal/catch_fatal_condition_handler.hpp7
-rw-r--r--src/catch2/internal/catch_lazy_expr.hpp7
-rw-r--r--src/catch2/internal/catch_leak_detector.hpp7
-rw-r--r--src/catch2/internal/catch_list.cpp7
-rw-r--r--src/catch2/internal/catch_list.hpp7
-rw-r--r--src/catch2/internal/catch_main.cpp7
-rw-r--r--src/catch2/internal/catch_message_info.hpp7
-rw-r--r--src/catch2/internal/catch_meta.hpp7
-rw-r--r--src/catch2/internal/catch_noncopyable.hpp7
-rw-r--r--src/catch2/internal/catch_option.hpp7
-rw-r--r--src/catch2/internal/catch_output_redirect.cpp7
-rw-r--r--src/catch2/internal/catch_output_redirect.hpp7
-rw-r--r--src/catch2/internal/catch_platform.hpp7
-rw-r--r--src/catch2/internal/catch_polyfills.hpp7
-rw-r--r--src/catch2/internal/catch_preprocessor.hpp7
-rw-r--r--src/catch2/internal/catch_random_number_generator.cpp7
-rw-r--r--src/catch2/internal/catch_random_number_generator.hpp7
-rw-r--r--src/catch2/internal/catch_reporter_registry.cpp7
-rw-r--r--src/catch2/internal/catch_reporter_registry.hpp7
-rw-r--r--src/catch2/internal/catch_result_type.cpp7
-rw-r--r--src/catch2/internal/catch_result_type.hpp7
-rw-r--r--src/catch2/internal/catch_run_context.cpp7
-rw-r--r--src/catch2/internal/catch_run_context.hpp7
-rw-r--r--src/catch2/internal/catch_section.cpp7
-rw-r--r--src/catch2/internal/catch_section.hpp7
-rw-r--r--src/catch2/internal/catch_singletons.cpp7
-rw-r--r--src/catch2/internal/catch_singletons.hpp7
-rw-r--r--src/catch2/internal/catch_startup_exception_registry.hpp7
-rw-r--r--src/catch2/internal/catch_stream.cpp7
-rw-r--r--src/catch2/internal/catch_stream.hpp7
-rw-r--r--src/catch2/internal/catch_string_manip.cpp7
-rw-r--r--src/catch2/internal/catch_string_manip.hpp7
-rw-r--r--src/catch2/internal/catch_stringref.cpp7
-rw-r--r--src/catch2/internal/catch_stringref.hpp7
-rw-r--r--src/catch2/internal/catch_tag_alias_registry.cpp7
-rw-r--r--src/catch2/internal/catch_tag_alias_registry.hpp7
-rw-r--r--src/catch2/internal/catch_template_test_registry.hpp7
-rw-r--r--src/catch2/internal/catch_test_case_registry_impl.cpp7
-rw-r--r--src/catch2/internal/catch_test_case_registry_impl.hpp7
-rw-r--r--src/catch2/internal/catch_test_case_tracker.cpp7
-rw-r--r--src/catch2/internal/catch_test_case_tracker.hpp7
-rw-r--r--src/catch2/internal/catch_test_macro_impl.hpp7
-rw-r--r--src/catch2/internal/catch_test_registry.cpp7
-rw-r--r--src/catch2/internal/catch_test_registry.hpp7
-rw-r--r--src/catch2/internal/catch_test_spec_parser.cpp7
-rw-r--r--src/catch2/internal/catch_test_spec_parser.hpp7
-rw-r--r--src/catch2/internal/catch_textflow.cpp7
-rw-r--r--src/catch2/internal/catch_textflow.hpp7
-rw-r--r--src/catch2/internal/catch_to_string.hpp7
-rw-r--r--src/catch2/internal/catch_uncaught_exceptions.hpp7
-rw-r--r--src/catch2/internal/catch_unique_ptr.hpp7
-rw-r--r--src/catch2/internal/catch_wildcard_pattern.cpp7
-rw-r--r--src/catch2/internal/catch_wildcard_pattern.hpp7
-rw-r--r--src/catch2/internal/catch_windows_h_proxy.hpp7
-rw-r--r--src/catch2/internal/catch_xmlwriter.cpp7
-rw-r--r--src/catch2/internal/catch_xmlwriter.hpp7
86 files changed, 602 insertions, 0 deletions
diff --git a/src/catch2/internal/catch_assertion_handler.cpp b/src/catch2/internal/catch_assertion_handler.cpp
index cff372ff..3ed5dcf6 100644
--- a/src/catch2/internal/catch_assertion_handler.cpp
+++ b/src/catch2/internal/catch_assertion_handler.cpp
@@ -1,3 +1,10 @@
+
+// Copyright Catch2 Authors
+// Distributed under the Boost Software License, Version 1.0.
+// (See accompanying file LICENSE_1_0.txt or copy at
+// https://www.boost.org/LICENSE_1_0.txt)
+
+// SPDX-License-Identifier: BSL-1.0
#include <catch2/internal/catch_assertion_handler.hpp>
#include <catch2/interfaces/catch_interfaces_config.hpp>
#include <catch2/internal/catch_context.hpp>
diff --git a/src/catch2/internal/catch_assertion_handler.hpp b/src/catch2/internal/catch_assertion_handler.hpp
index 4014a326..e332439e 100644
--- a/src/catch2/internal/catch_assertion_handler.hpp
+++ b/src/catch2/internal/catch_assertion_handler.hpp
@@ -1,3 +1,10 @@
+
+// Copyright Catch2 Authors
+// Distributed under the Boost Software License, Version 1.0.
+// (See accompanying file LICENSE_1_0.txt or copy at
+// https://www.boost.org/LICENSE_1_0.txt)
+
+// SPDX-License-Identifier: BSL-1.0
#ifndef CATCH_ASSERTION_HANDLER_HPP_INCLUDED
#define CATCH_ASSERTION_HANDLER_HPP_INCLUDED
diff --git a/src/catch2/internal/catch_case_sensitive.hpp b/src/catch2/internal/catch_case_sensitive.hpp
index 4d57107a..f941d1f2 100644
--- a/src/catch2/internal/catch_case_sensitive.hpp
+++ b/src/catch2/internal/catch_case_sensitive.hpp
@@ -1,3 +1,10 @@
+
+// Copyright Catch2 Authors
+// Distributed under the Boost Software License, Version 1.0.
+// (See accompanying file LICENSE_1_0.txt or copy at
+// https://www.boost.org/LICENSE_1_0.txt)
+
+// SPDX-License-Identifier: BSL-1.0
#ifndef CATCH_CASE_SENSITIVE_HPP_INCLUDED
#define CATCH_CASE_SENSITIVE_HPP_INCLUDED
diff --git a/src/catch2/internal/catch_clara.cpp b/src/catch2/internal/catch_clara.cpp
index 6c7a4c89..7c4613ed 100644
--- a/src/catch2/internal/catch_clara.cpp
+++ b/src/catch2/internal/catch_clara.cpp
@@ -1,3 +1,10 @@
+
+// Copyright Catch2 Authors
+// Distributed under the Boost Software License, Version 1.0.
+// (See accompanying file LICENSE_1_0.txt or copy at
+// https://www.boost.org/LICENSE_1_0.txt)
+
+// SPDX-License-Identifier: BSL-1.0
#include <algorithm>
#include <catch2/internal/catch_clara.hpp>
#include <catch2/internal/catch_console_width.hpp>
diff --git a/src/catch2/internal/catch_clara.hpp b/src/catch2/internal/catch_clara.hpp
index c7b67d2c..92244293 100644
--- a/src/catch2/internal/catch_clara.hpp
+++ b/src/catch2/internal/catch_clara.hpp
@@ -1,3 +1,10 @@
+
+// Copyright Catch2 Authors
+// Distributed under the Boost Software License, Version 1.0.
+// (See accompanying file LICENSE_1_0.txt or copy at
+// https://www.boost.org/LICENSE_1_0.txt)
+
+// SPDX-License-Identifier: BSL-1.0
#ifndef CATCH_CLARA_HPP_INCLUDED
#define CATCH_CLARA_HPP_INCLUDED
diff --git a/src/catch2/internal/catch_combined_tu.cpp b/src/catch2/internal/catch_combined_tu.cpp
index c18d4cc7..60106c46 100644
--- a/src/catch2/internal/catch_combined_tu.cpp
+++ b/src/catch2/internal/catch_combined_tu.cpp
@@ -1,3 +1,10 @@
+
+// Copyright Catch2 Authors
+// Distributed under the Boost Software License, Version 1.0.
+// (See accompanying file LICENSE_1_0.txt or copy at
+// https://www.boost.org/LICENSE_1_0.txt)
+
+// SPDX-License-Identifier: BSL-1.0
/** \file
* This is a special TU that combines what would otherwise be a very
* small top-level TUs into one bigger TU.
diff --git a/src/catch2/internal/catch_commandline.cpp b/src/catch2/internal/catch_commandline.cpp
index 343590ce..0cb160e0 100644
--- a/src/catch2/internal/catch_commandline.cpp
+++ b/src/catch2/internal/catch_commandline.cpp
@@ -1,3 +1,10 @@
+
+// Copyright Catch2 Authors
+// Distributed under the Boost Software License, Version 1.0.
+// (See accompanying file LICENSE_1_0.txt or copy at
+// https://www.boost.org/LICENSE_1_0.txt)
+
+// SPDX-License-Identifier: BSL-1.0
#include <catch2/internal/catch_commandline.hpp>
#include <catch2/catch_config.hpp>
diff --git a/src/catch2/internal/catch_commandline.hpp b/src/catch2/internal/catch_commandline.hpp
index 87fe2db6..1e030856 100644
--- a/src/catch2/internal/catch_commandline.hpp
+++ b/src/catch2/internal/catch_commandline.hpp
@@ -1,3 +1,10 @@
+
+// Copyright Catch2 Authors
+// Distributed under the Boost Software License, Version 1.0.
+// (See accompanying file LICENSE_1_0.txt or copy at
+// https://www.boost.org/LICENSE_1_0.txt)
+
+// SPDX-License-Identifier: BSL-1.0
#ifndef CATCH_COMMANDLINE_HPP_INCLUDED
#define CATCH_COMMANDLINE_HPP_INCLUDED
diff --git a/src/catch2/internal/catch_common.cpp b/src/catch2/internal/catch_common.cpp
index bbd5d5ed..48590499 100644
--- a/src/catch2/internal/catch_common.cpp
+++ b/src/catch2/internal/catch_common.cpp
@@ -1,3 +1,10 @@
+
+// Copyright Catch2 Authors
+// Distributed under the Boost Software License, Version 1.0.
+// (See accompanying file LICENSE_1_0.txt or copy at
+// https://www.boost.org/LICENSE_1_0.txt)
+
+// SPDX-License-Identifier: BSL-1.0
#include <catch2/internal/catch_common.hpp>
#include <cstring>
diff --git a/src/catch2/internal/catch_common.hpp b/src/catch2/internal/catch_common.hpp
index 9388e5aa..8e13a90e 100644
--- a/src/catch2/internal/catch_common.hpp
+++ b/src/catch2/internal/catch_common.hpp
@@ -1,3 +1,10 @@
+
+// Copyright Catch2 Authors
+// Distributed under the Boost Software License, Version 1.0.
+// (See accompanying file LICENSE_1_0.txt or copy at
+// https://www.boost.org/LICENSE_1_0.txt)
+
+// SPDX-License-Identifier: BSL-1.0
#ifndef CATCH_COMMON_HPP_INCLUDED
#define CATCH_COMMON_HPP_INCLUDED
diff --git a/src/catch2/internal/catch_compiler_capabilities.hpp b/src/catch2/internal/catch_compiler_capabilities.hpp
index 80928aee..4862e57f 100644
--- a/src/catch2/internal/catch_compiler_capabilities.hpp
+++ b/src/catch2/internal/catch_compiler_capabilities.hpp
@@ -1,3 +1,10 @@
+
+// Copyright Catch2 Authors
+// Distributed under the Boost Software License, Version 1.0.
+// (See accompanying file LICENSE_1_0.txt or copy at
+// https://www.boost.org/LICENSE_1_0.txt)
+
+// SPDX-License-Identifier: BSL-1.0
#ifndef CATCH_COMPILER_CAPABILITIES_HPP_INCLUDED
#define CATCH_COMPILER_CAPABILITIES_HPP_INCLUDED
diff --git a/src/catch2/internal/catch_console_colour.cpp b/src/catch2/internal/catch_console_colour.cpp
index 69f34a9b..93b5473e 100644
--- a/src/catch2/internal/catch_console_colour.cpp
+++ b/src/catch2/internal/catch_console_colour.cpp
@@ -1,3 +1,10 @@
+
+// Copyright Catch2 Authors
+// Distributed under the Boost Software License, Version 1.0.
+// (See accompanying file LICENSE_1_0.txt or copy at
+// https://www.boost.org/LICENSE_1_0.txt)
+
+// SPDX-License-Identifier: BSL-1.0
#if defined(__clang__)
# pragma clang diagnostic push
# pragma clang diagnostic ignored "-Wexit-time-destructors"
diff --git a/src/catch2/internal/catch_console_colour.hpp b/src/catch2/internal/catch_console_colour.hpp
index 52e20efd..20ab56d7 100644
--- a/src/catch2/internal/catch_console_colour.hpp
+++ b/src/catch2/internal/catch_console_colour.hpp
@@ -1,3 +1,10 @@
+
+// Copyright Catch2 Authors
+// Distributed under the Boost Software License, Version 1.0.
+// (