mirror of
				https://github.com/catchorg/Catch2.git
				synced 2025-10-31 20:27:11 +01:00 
			
		
		
		
	Move StringRef header to internals
This commit is contained in:
		| @@ -104,8 +104,8 @@ set(INTERNAL_HEADERS | ||||
|     ${SOURCES_DIR}/internal/catch_singletons.hpp | ||||
|     ${SOURCES_DIR}/internal/catch_startup_exception_registry.hpp | ||||
|     ${SOURCES_DIR}/internal/catch_stream.hpp | ||||
|     ${SOURCES_DIR}/catch_stringref.hpp | ||||
|     ${SOURCES_DIR}/internal/catch_string_manip.hpp | ||||
|     ${SOURCES_DIR}/internal/catch_stringref.hpp | ||||
|     ${SOURCES_DIR}/catch_tag_alias.hpp | ||||
|     ${SOURCES_DIR}/catch_tag_alias_autoregistrar.hpp | ||||
|     ${SOURCES_DIR}/internal/catch_tag_alias_registry.hpp | ||||
|   | ||||
| @@ -24,7 +24,6 @@ | ||||
| #include <catch2/catch_reporter_registrars.hpp> | ||||
| #include <catch2/catch_section_info.hpp> | ||||
| #include <catch2/catch_session.hpp> | ||||
| #include <catch2/catch_stringref.hpp> | ||||
| #include <catch2/catch_tag_alias.hpp> | ||||
| #include <catch2/catch_tag_alias_autoregistrar.hpp> | ||||
| #include <catch2/catch_template_test_macros.hpp> | ||||
| @@ -72,6 +71,7 @@ | ||||
| #include <catch2/internal/catch_startup_exception_registry.hpp> | ||||
| #include <catch2/internal/catch_stream.hpp> | ||||
| #include <catch2/internal/catch_string_manip.hpp> | ||||
| #include <catch2/internal/catch_stringref.hpp> | ||||
| #include <catch2/internal/catch_tag_alias_registry.hpp> | ||||
| #include <catch2/internal/catch_template_test_registry.hpp> | ||||
| #include <catch2/internal/catch_test_case_registry_impl.hpp> | ||||
|   | ||||
| @@ -10,7 +10,7 @@ | ||||
|  | ||||
| #include <catch2/internal/catch_result_type.hpp> | ||||
| #include <catch2/internal/catch_common.hpp> | ||||
| #include <catch2/catch_stringref.hpp> | ||||
| #include <catch2/internal/catch_stringref.hpp> | ||||
|  | ||||
| namespace Catch { | ||||
|  | ||||
|   | ||||
| @@ -12,7 +12,7 @@ | ||||
| #include <catch2/catch_assertion_info.hpp> | ||||
| #include <catch2/internal/catch_result_type.hpp> | ||||
| #include <catch2/internal/catch_common.hpp> | ||||
| #include <catch2/catch_stringref.hpp> | ||||
| #include <catch2/internal/catch_stringref.hpp> | ||||
| #include <catch2/internal/catch_assertionhandler.hpp> | ||||
|  | ||||
| namespace Catch { | ||||
|   | ||||
| @@ -8,7 +8,7 @@ | ||||
| #include <catch2/catch_config.hpp> | ||||
| #include <catch2/internal/catch_enforce.hpp> | ||||
| #include <catch2/internal/catch_stream.hpp> | ||||
| #include <catch2/catch_stringref.hpp> | ||||
| #include <catch2/internal/catch_stringref.hpp> | ||||
| #include <catch2/internal/catch_string_manip.hpp> | ||||
| #include <catch2/internal/catch_test_spec_parser.hpp> | ||||
|  | ||||
|   | ||||
| @@ -9,7 +9,7 @@ | ||||
| #define TWOBLUECUBES_CATCH_SECTION_INFO_H_INCLUDED | ||||
|  | ||||
| #include <catch2/internal/catch_common.hpp> | ||||
| #include <catch2/catch_stringref.hpp> | ||||
| #include <catch2/internal/catch_stringref.hpp> | ||||
| #include <catch2/catch_totals.hpp> | ||||
|  | ||||
| #include <string> | ||||
|   | ||||
| @@ -9,7 +9,7 @@ | ||||
| #define TWOBLUECUBES_CATCH_TEST_CASE_INFO_H_INCLUDED | ||||
|  | ||||
| #include <catch2/internal/catch_common.hpp> | ||||
| #include <catch2/catch_stringref.hpp> | ||||
| #include <catch2/internal/catch_stringref.hpp> | ||||
| #include <catch2/internal/catch_test_registry.hpp> | ||||
|  | ||||
| #include <string> | ||||
|   | ||||
| @@ -11,7 +11,7 @@ | ||||
| #include <string> | ||||
| #include <chrono> | ||||
|  | ||||
| #include <catch2/catch_stringref.hpp> | ||||
| #include <catch2/internal/catch_stringref.hpp> | ||||
| #include <catch2/internal/catch_result_type.hpp> | ||||
|  | ||||
| namespace Catch { | ||||
|   | ||||
| @@ -8,7 +8,7 @@ | ||||
| #ifndef TWOBLUECUBES_CATCH_INTERFACESENUMVALUESREGISTRY_H_INCLUDED | ||||
| #define TWOBLUECUBES_CATCH_INTERFACESENUMVALUESREGISTRY_H_INCLUDED | ||||
|  | ||||
| #include <catch2/catch_stringref.hpp> | ||||
| #include <catch2/internal/catch_stringref.hpp> | ||||
|  | ||||
| #include <vector> | ||||
|  | ||||
|   | ||||
| @@ -16,7 +16,7 @@ | ||||
| #include <catch2/catch_assertion_result.hpp> | ||||
| #include <catch2/catch_message.hpp> | ||||
| #include <catch2/internal/catch_option.hpp> | ||||
| #include <catch2/catch_stringref.hpp> | ||||
| #include <catch2/internal/catch_stringref.hpp> | ||||
|  | ||||
| #include <catch2/benchmark/catch_estimate.hpp> | ||||
| #include <catch2/benchmark/catch_outlier_classification.hpp> | ||||
|   | ||||
| @@ -9,7 +9,7 @@ | ||||
| #define TWOBLUECUBES_CATCH_DECOMPOSER_H_INCLUDED | ||||
|  | ||||
| #include <catch2/catch_tostring.hpp> | ||||
| #include <catch2/catch_stringref.hpp> | ||||
| #include <catch2/internal/catch_stringref.hpp> | ||||
| #include <catch2/internal/catch_meta.hpp> | ||||
|  | ||||
| #include <iosfwd> | ||||
|   | ||||
| @@ -9,7 +9,7 @@ | ||||
| #define TWOBLUECUBES_CATCH_LIST_H_INCLUDED | ||||
|  | ||||
| #include <catch2/catch_config.hpp> | ||||
| #include <catch2/catch_stringref.hpp> | ||||
| #include <catch2/internal/catch_stringref.hpp> | ||||
|  | ||||
| #include <set> | ||||
| #include <string> | ||||
|   | ||||
| @@ -11,7 +11,7 @@ | ||||
| #include <catch2/internal/catch_enforce.hpp> | ||||
| #include <catch2/internal/catch_stream.hpp> | ||||
| #include <catch2/internal/catch_debug_console.hpp> | ||||
| #include <catch2/catch_stringref.hpp> | ||||
| #include <catch2/internal/catch_stringref.hpp> | ||||
| #include <catch2/internal/catch_singletons.hpp> | ||||
|  | ||||
| #include <cstdio> | ||||
|   | ||||
| @@ -6,7 +6,7 @@ | ||||
|  */ | ||||
|  | ||||
| #include <catch2/internal/catch_string_manip.hpp> | ||||
| #include <catch2/catch_stringref.hpp> | ||||
| #include <catch2/internal/catch_stringref.hpp> | ||||
|  | ||||
| #include <algorithm> | ||||
| #include <ostream> | ||||
|   | ||||
| @@ -7,7 +7,7 @@ | ||||
| #ifndef TWOBLUECUBES_CATCH_STRING_MANIP_H_INCLUDED | ||||
| #define TWOBLUECUBES_CATCH_STRING_MANIP_H_INCLUDED | ||||
|  | ||||
| #include <catch2/catch_stringref.hpp> | ||||
| #include <catch2/internal/catch_stringref.hpp> | ||||
|  | ||||
| #include <string> | ||||
| #include <iosfwd> | ||||
|   | ||||
| @@ -6,7 +6,7 @@ | ||||
|  */ | ||||
|  | ||||
| #include <catch2/internal/catch_enforce.hpp> | ||||
| #include <catch2/catch_stringref.hpp> | ||||
| #include <catch2/internal/catch_stringref.hpp> | ||||
|  | ||||
| #include <algorithm> | ||||
| #include <ostream> | ||||
|   | ||||
| @@ -10,7 +10,7 @@ | ||||
|  | ||||
| #include <catch2/internal/catch_assertionhandler.hpp> | ||||
| #include <catch2/interfaces/catch_interfaces_capture.hpp> | ||||
| #include <catch2/catch_stringref.hpp> | ||||
| #include <catch2/internal/catch_stringref.hpp> | ||||
|  | ||||
| // We need this suppression to leak, because it took until GCC 9 | ||||
| // for the front end to handle local suppression via _Pragma properly | ||||
|   | ||||
| @@ -11,7 +11,7 @@ | ||||
| #include <catch2/internal/catch_common.hpp> | ||||
| #include <catch2/interfaces/catch_interfaces_testcase.hpp> | ||||
| #include <catch2/internal/catch_compiler_capabilities.hpp> | ||||
| #include <catch2/catch_stringref.hpp> | ||||
| #include <catch2/internal/catch_stringref.hpp> | ||||
|  | ||||
| #include <memory> | ||||
|  | ||||
|   | ||||
| @@ -6,7 +6,7 @@ | ||||
|  | ||||
| #include <catch2/internal/catch_common.hpp> | ||||
| #include <catch2/matchers/catch_matchers.hpp> | ||||
| #include <catch2/catch_stringref.hpp> | ||||
| #include <catch2/internal/catch_stringref.hpp> | ||||
|  | ||||
| #include <array> | ||||
| #include <algorithm> | ||||
|   | ||||
| @@ -6,7 +6,7 @@ | ||||
| #define TWOBLUECUBES_CATCH_CAPTURE_MATCHERS_HPP_INCLUDED | ||||
|  | ||||
| #include <catch2/internal/catch_test_macro_impl.hpp> | ||||
| #include <catch2/catch_stringref.hpp> | ||||
| #include <catch2/internal/catch_stringref.hpp> | ||||
|  | ||||
| namespace Catch { | ||||
|  | ||||
|   | ||||
| @@ -13,7 +13,7 @@ | ||||
| #include <catch2/internal/catch_string_manip.hpp> | ||||
| #include <catch2/catch_version.hpp> | ||||
| #include <catch2/internal/catch_text.hpp> | ||||
| #include <catch2/catch_stringref.hpp> | ||||
| #include <catch2/internal/catch_stringref.hpp> | ||||
|  | ||||
| #include <cfloat> | ||||
| #include <cstdio> | ||||
|   | ||||
| @@ -1,5 +1,5 @@ | ||||
| #include <catch2/catch_test_macros.hpp> | ||||
| #include <catch2/catch_stringref.hpp> | ||||
| #include <catch2/internal/catch_stringref.hpp> | ||||
|  | ||||
| #include <cstring> | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Martin Hořeňovský
					Martin Hořeňovský