From f77d91d544e209c91e9d1e3930694c7c15e1971f Mon Sep 17 00:00:00 2001 From: John Wellbelove Date: Wed, 21 Aug 2024 18:48:56 +0100 Subject: [PATCH] Updated syntax checks --- .gitignore | 1 + include/etl/result.h | 4 +- test/CMakeLists.txt | 39 +- test/list_header_files.bat | 14 + test/list_test_files.bat | 10 + test/list_test_files.ps1 | 1 + test/list_test_files.sh | 3 + test/syntax_check/base64.h.t.cpp | 3 +- test/syntax_check/base64_decoder.h.t.cpp | 29 ++ test/syntax_check/base64_encoder.h.t.cpp | 29 ++ test/syntax_check/bitset.h.t.cpp | 29 ++ test/syntax_check/c++03/CMakeLists.txt | 531 +++++++++++----------- test/syntax_check/c++11/CMakeLists.txt | 532 ++++++++++++----------- test/syntax_check/c++14/CMakeLists.txt | 531 +++++++++++----------- test/syntax_check/c++17/CMakeLists.txt | 531 +++++++++++----------- test/syntax_check/c++20/CMakeLists.txt | 531 +++++++++++----------- test/syntax_check/crc1.h.t.cpp | 29 ++ test/syntax_check/crc8_ccitt.h.t.cpp | 2 +- test/syntax_check/hfsm.h.t.cpp | 29 ++ test/syntax_check/result.h.t.cpp | 29 ++ test/syntax_check/stringify.h.t.cpp | 29 ++ test/test_mem_type.cpp | 88 ---- test/test_overload.cpp | 42 +- test/vs2022/etl.vcxproj | 199 +++++++++ test/vs2022/etl.vcxproj.filters | 30 ++ 25 files changed, 1849 insertions(+), 1446 deletions(-) create mode 100644 test/list_header_files.bat create mode 100644 test/list_test_files.bat create mode 100644 test/list_test_files.ps1 create mode 100644 test/list_test_files.sh create mode 100644 test/syntax_check/base64_decoder.h.t.cpp create mode 100644 test/syntax_check/base64_encoder.h.t.cpp create mode 100644 test/syntax_check/bitset.h.t.cpp create mode 100644 test/syntax_check/crc1.h.t.cpp create mode 100644 test/syntax_check/hfsm.h.t.cpp create mode 100644 test/syntax_check/result.h.t.cpp create mode 100644 test/syntax_check/stringify.h.t.cpp delete mode 100644 test/test_mem_type.cpp diff --git a/.gitignore b/.gitignore index 2bdcfb1c..8f313ddb 100644 --- a/.gitignore +++ b/.gitignore @@ -387,3 +387,4 @@ examples/MutexMessageRouter/.vs support/time remaining test.xlsx test/vs2022/Debug MSVC C++20 - Force C++03 test/vs2022/Release MSVC C++20 - No STL - Optimised -O2 - Sanitiser +test/test_file_list.txt diff --git a/include/etl/result.h b/include/etl/result.h index 2955a08a..496667c8 100644 --- a/include/etl/result.h +++ b/include/etl/result.h @@ -468,12 +468,12 @@ namespace etl { return etl::move(data.value()); } -#endif private: etl::optional data; }; -} +} // namespace etl +#endif #endif diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt index cad0feae..ce9e2a66 100644 --- a/test/CMakeLists.txt +++ b/test/CMakeLists.txt @@ -31,10 +31,11 @@ add_executable(etl_tests test_base64_RFC4648_URL_decoder_with_padding.cpp test_base64_RFC4648_URL_encoder_with_no_padding.cpp test_base64_RFC4648_URL_encoder_with_padding.cpp - test_binary.cpp + test_binary.cpp test_bip_buffer_spsc_atomic.cpp test_bit.cpp test_bitset_legacy.cpp + test_bitset_new_comparisons.cpp test_bitset_new_default_element_type.cpp test_bitset_new_explicit_single_element_type.cpp test_bitset_new_ext_default_element_type.cpp @@ -44,12 +45,12 @@ add_executable(etl_tests test_bit_stream_reader_little_endian.cpp test_bit_stream_writer_big_endian.cpp test_bit_stream_writer_little_endian.cpp - test_byte.cpp - test_byte_stream.cpp test_bloom_filter.cpp test_bresenham_line.cpp test_bsd_checksum.cpp test_buffer_descriptors.cpp + test_byte.cpp + test_byte_stream.cpp test_callback_service.cpp test_callback_timer.cpp test_callback_timer_atomic.cpp @@ -109,8 +110,8 @@ add_executable(etl_tests test_crc8_ebu.cpp test_crc8_icode.cpp test_crc8_itu.cpp - test_crc8_j1850_zero.cpp test_crc8_j1850.cpp + test_crc8_j1850_zero.cpp test_crc8_maxim.cpp test_crc8_rohc.cpp test_crc8_wcdma.cpp @@ -120,6 +121,7 @@ add_executable(etl_tests test_delegate_cpp03.cpp test_delegate_service.cpp test_delegate_service_compile_time.cpp + test_delegate_service_cpp03.cpp test_deque.cpp test_endian.cpp test_enum_type.cpp @@ -144,6 +146,7 @@ add_executable(etl_tests test_gamma.cpp test_hash.cpp test_hfsm.cpp + test_hfsm_recurse_to_inner_state_on_start.cpp test_histogram.cpp test_indirect_vector.cpp test_indirect_vector_external_buffer.cpp @@ -163,14 +166,16 @@ add_executable(etl_tests test_limits.cpp test_list.cpp test_list_shared_pool.cpp + test_macros.cpp test_make_string.cpp test_map.cpp test_math.cpp test_math_functions.cpp test_mean.cpp + test_memory.cpp test_mem_cast.cpp test_mem_cast_ptr.cpp - test_memory.cpp + test_message.cpp test_message_broker.cpp test_message_bus.cpp test_message_packet.cpp @@ -184,12 +189,14 @@ add_executable(etl_tests test_multiset.cpp test_multi_array.cpp test_multi_range.cpp + test_multi_span.cpp test_multi_vector.cpp test_murmur3.cpp test_nth_type.cpp test_numeric.cpp test_observer.cpp test_optional.cpp + test_overload.cpp test_packet.cpp test_parameter_pack.cpp test_parameter_type.cpp @@ -232,32 +239,32 @@ add_executable(etl_tests test_stack.cpp test_standard_deviation.cpp test_state_chart.cpp - test_state_chart_with_data_parameter.cpp - test_state_chart_with_rvalue_data_parameter.cpp test_state_chart_compile_time.cpp test_state_chart_compile_time_with_data_parameter.cpp + test_state_chart_with_data_parameter.cpp + test_state_chart_with_rvalue_data_parameter.cpp test_string_char.cpp test_string_char_external_buffer.cpp test_string_stream.cpp - test_string_stream_u8.cpp test_string_stream_u16.cpp test_string_stream_u32.cpp + test_string_stream_u8.cpp test_string_stream_wchar_t.cpp - test_string_u8.cpp - test_string_u8_external_buffer.cpp test_string_u16.cpp test_string_u16_external_buffer.cpp test_string_u32.cpp test_string_u32_external_buffer.cpp + test_string_u8.cpp + test_string_u8_external_buffer.cpp test_string_utilities.cpp test_string_utilities_std.cpp - test_string_utilities_std_u8.cpp test_string_utilities_std_u16.cpp test_string_utilities_std_u32.cpp + test_string_utilities_std_u8.cpp test_string_utilities_std_wchar_t.cpp - test_string_utilities_u8.cpp test_string_utilities_u16.cpp test_string_utilities_u32.cpp + test_string_utilities_u8.cpp test_string_utilities_wchar_t.cpp test_string_view.cpp test_string_wchar_t.cpp @@ -266,14 +273,14 @@ add_executable(etl_tests test_task_scheduler.cpp test_threshold.cpp test_to_arithmetic.cpp - test_to_arithmetic_u8.cpp test_to_arithmetic_u16.cpp test_to_arithmetic_u32.cpp + test_to_arithmetic_u8.cpp test_to_arithmetic_wchar_t.cpp test_to_string.cpp - test_to_u8string.cpp test_to_u16string.cpp test_to_u32string.cpp + test_to_u8string.cpp test_to_wstring.cpp test_type_def.cpp test_type_lookup.cpp @@ -289,9 +296,9 @@ add_executable(etl_tests test_utility.cpp test_variance.cpp test_variant_legacy.cpp - test_variant_variadic.cpp test_variant_pool.cpp test_variant_pool_external_buffer.cpp + test_variant_variadic.cpp test_vector.cpp test_vector_external_buffer.cpp test_vector_non_trivial.cpp @@ -299,7 +306,7 @@ add_executable(etl_tests test_vector_pointer_external_buffer.cpp test_visitor.cpp test_xor_checksum.cpp - test_xor_rotate_checksum.cpp + test_xor_rotate_checksum.cpp ) target_compile_definitions(etl_tests PRIVATE -DETL_DEBUG) diff --git a/test/list_header_files.bat b/test/list_header_files.bat new file mode 100644 index 00000000..eb752ace --- /dev/null +++ b/test/list_header_files.bat @@ -0,0 +1,14 @@ +@echo off +setlocal enabledelayedexpansion + +cd ../include/etl + +> header_file_list.txt ( + for %%f in (*.h) do ( + echo %%~nxf + ) +) + +cd ../../test + +endlocal diff --git a/test/list_test_files.bat b/test/list_test_files.bat new file mode 100644 index 00000000..1ddb8708 --- /dev/null +++ b/test/list_test_files.bat @@ -0,0 +1,10 @@ +@echo off +setlocal enabledelayedexpansion + +> test_file_list.txt ( + for %%f in (test_*.cpp) do ( + echo %%~nxf + ) +) + +endlocal diff --git a/test/list_test_files.ps1 b/test/list_test_files.ps1 new file mode 100644 index 00000000..bfe6bcc5 --- /dev/null +++ b/test/list_test_files.ps1 @@ -0,0 +1 @@ +Get-ChildItem -Path "./test_*.cpp" | Select-Object -ExpandProperty Name \ No newline at end of file diff --git a/test/list_test_files.sh b/test/list_test_files.sh new file mode 100644 index 00000000..019f4ee3 --- /dev/null +++ b/test/list_test_files.sh @@ -0,0 +1,3 @@ +cd ../test +ls -1 test_*.cpp > test_file_list.txt +cd ../scripts diff --git a/test/syntax_check/base64.h.t.cpp b/test/syntax_check/base64.h.t.cpp index 5d18409e..184c72bc 100644 --- a/test/syntax_check/base64.h.t.cpp +++ b/test/syntax_check/base64.h.t.cpp @@ -26,5 +26,4 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. ******************************************************************************/ -#include -#include +#include diff --git a/test/syntax_check/base64_decoder.h.t.cpp b/test/syntax_check/base64_decoder.h.t.cpp new file mode 100644 index 00000000..07404905 --- /dev/null +++ b/test/syntax_check/base64_decoder.h.t.cpp @@ -0,0 +1,29 @@ +/****************************************************************************** +The MIT License(MIT) + +Embedded Template Library. +https://github.com/ETLCPP/etl +https://www.etlcpp.com + +Copyright(c) 2023 John Wellbelove + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files(the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and / or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions : + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +******************************************************************************/ + +#include diff --git a/test/syntax_check/base64_encoder.h.t.cpp b/test/syntax_check/base64_encoder.h.t.cpp new file mode 100644 index 00000000..b0324220 --- /dev/null +++ b/test/syntax_check/base64_encoder.h.t.cpp @@ -0,0 +1,29 @@ +/****************************************************************************** +The MIT License(MIT) + +Embedded Template Library. +https://github.com/ETLCPP/etl +https://www.etlcpp.com + +Copyright(c) 2023 John Wellbelove + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files(the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and / or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions : + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +******************************************************************************/ + +#include diff --git a/test/syntax_check/bitset.h.t.cpp b/test/syntax_check/bitset.h.t.cpp new file mode 100644 index 00000000..69ad85b8 --- /dev/null +++ b/test/syntax_check/bitset.h.t.cpp @@ -0,0 +1,29 @@ +/****************************************************************************** +The MIT License(MIT) + +Embedded Template Library. +https://github.com/ETLCPP/etl +https://www.etlcpp.com + +Copyright(c) 2024 John Wellbelove + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files(the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and / or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions : + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +******************************************************************************/ + +#include diff --git a/test/syntax_check/c++03/CMakeLists.txt b/test/syntax_check/c++03/CMakeLists.txt index f46f83fe..fad0c6eb 100644 --- a/test/syntax_check/c++03/CMakeLists.txt +++ b/test/syntax_check/c++03/CMakeLists.txt @@ -43,267 +43,272 @@ target_compile_options(t98 -fsyntax-only ) target_sources(t98 PRIVATE etl_profile.h - ../absolute.h.t.cpp - ../algorithm.h.t.cpp - ../alignment.h.t.cpp - ../array.h.t.cpp - ../array_view.h.t.cpp - ../array_wrapper.h.t.cpp - ../atomic.h.t.cpp - ../base64.h.t.cpp - ../basic_format_spec.h.t.cpp - ../basic_string.h.t.cpp - ../basic_string_stream.h.t.cpp - ../binary.h.t.cpp - ../bip_buffer_spsc_atomic.h.t.cpp - ../bit.h.t.cpp - ../bitset_legacy.h.t.cpp - ../bitset_new.h.t.cpp - ../bit_stream.h.t.cpp - ../byte.h.t.cpp - ../byte_stream.h.t.cpp - ../bloom_filter.h.t.cpp - ../bresenham_line.h.t.cpp - ../buffer_descriptors.h.t.cpp - ../callback.h.t.cpp - ../callback_service.h.t.cpp - ../callback_timer.h.t.cpp - ../callback_timer_atomic.h.t.cpp - ../callback_timer_interrupt.h.t.cpp - ../callback_timer_locked.h.t.cpp - ../char_traits.h.t.cpp - ../checksum.h.t.cpp - ../circular_buffer.h.t.cpp - ../circular_iterator.h.t.cpp - ../combinations.h.t.cpp - ../compare.h.t.cpp - ../constant.h.t.cpp - ../container.h.t.cpp - ../correlation.h.t.cpp - ../covariance.h.t.cpp - ../crc16.h.t.cpp - ../crc16_a.h.t.cpp - ../crc16_arc.h.t.cpp - ../crc16_aug_ccitt.h.t.cpp - ../crc16_buypass.h.t.cpp - ../crc16_ccitt.h.t.cpp - ../crc16_cdma2000.h.t.cpp - ../crc16_dds110.h.t.cpp - ../crc16_dectr.h.t.cpp - ../crc16_dectx.h.t.cpp - ../crc16_dnp.h.t.cpp - ../crc16_en13757.h.t.cpp - ../crc16_genibus.h.t.cpp - ../crc16_kermit.h.t.cpp - ../crc16_m17.h.t.cpp - ../crc16_maxim.h.t.cpp - ../crc16_mcrf4xx.h.t.cpp - ../crc16_modbus.h.t.cpp - ../crc16_profibus.h.t.cpp - ../crc16_riello.h.t.cpp - ../crc16_t10dif.h.t.cpp - ../crc16_teledisk.h.t.cpp - ../crc16_tms37157.h.t.cpp - ../crc16_usb.h.t.cpp - ../crc16_x25.h.t.cpp - ../crc16_xmodem.h.t.cpp - ../crc32.h.t.cpp - ../crc32_bzip2.h.t.cpp - ../crc32_c.h.t.cpp - ../crc32_d.h.t.cpp - ../crc32_jamcrc.h.t.cpp - ../crc32_mpeg2.h.t.cpp - ../crc32_posix.h.t.cpp - ../crc32_q.h.t.cpp - ../crc32_xfer.h.t.cpp - ../crc64_ecma.h.t.cpp - ../crc8_ccitt.h.t.cpp - ../crc8_cdma2000.h.t.cpp - ../crc8_darc.h.t.cpp - ../crc8_dvbs2.h.t.cpp - ../crc8_ebu.h.t.cpp - ../crc8_icode.h.t.cpp - ../crc8_itu.h.t.cpp - ../crc8_maxim.h.t.cpp - ../crc8_rohc.h.t.cpp - ../crc8_wcdma.h.t.cpp - ../crc8_j1850.h.t.cpp - ../crc8_j1850_zero.h.t.cpp - ../cyclic_value.h.t.cpp - ../debounce.h.t.cpp - ../debug_count.h.t.cpp - ../delegate.h.t.cpp - ../delegate_service.h.t.cpp - ../deque.h.t.cpp - ../endianness.h.t.cpp - ../enum_type.h.t.cpp - ../error_handler.h.t.cpp - ../exception.h.t.cpp - ../expected.h.t.cpp - ../factorial.h.t.cpp - ../fibonacci.h.t.cpp - ../file_error_numbers.h.t.cpp - ../fixed_iterator.h.t.cpp - ../fixed_sized_memory_block_allocator.h.t.cpp - ../flags.h.t.cpp - ../flat_map.h.t.cpp - ../flat_multimap.h.t.cpp - ../flat_multiset.h.t.cpp - ../flat_set.h.t.cpp - ../fnv_1.h.t.cpp - ../format_spec.h.t.cpp - ../forward_list.h.t.cpp - ../frame_check_sequence.h.t.cpp - ../fsm.h.t.cpp - ../function.h.t.cpp - ../functional.h.t.cpp - ../gamma.h.t.cpp - ../gcd.h.t.cpp - ../generic_pool.h.t.cpp - ../hash.h.t.cpp - ../ihash.h.t.cpp - ../histogram.h.t.cpp - ../imemory_block_allocator.h.t.cpp - ../indirect_vector.h.t.cpp - ../initializer_list.h.t.cpp - ../instance_count.h.t.cpp - ../integral_limits.h.t.cpp - ../intrusive_forward_list.h.t.cpp - ../intrusive_links.h.t.cpp - ../intrusive_list.h.t.cpp - ../intrusive_queue.h.t.cpp - ../intrusive_stack.h.t.cpp - ../io_port.h.t.cpp - ../ipool.h.t.cpp - ../ireference_counted_message_pool.h.t.cpp - ../iterator.h.t.cpp - ../jenkins.h.t.cpp - ../largest.h.t.cpp - ../lcm.h.t.cpp - ../limiter.h.t.cpp - ../limits.h.t.cpp - ../list.h.t.cpp - ../log.h.t.cpp - ../macros.h.t.cpp - ../map.h.t.cpp - ../math.h.t.cpp - ../math_constants.h.t.cpp - ../mean.h.t.cpp - ../mem_cast.h.t.cpp - ../memory.h.t.cpp - ../memory_model.h.t.cpp - ../message.h.t.cpp - ../message_broker.h.t.cpp - ../message_bus.h.t.cpp - ../message_packet.h.t.cpp - ../message_router.h.t.cpp - ../message_router_registry.h.t.cpp - ../message_timer.h.t.cpp - ../message_timer_atomic.h.t.cpp - ../message_timer_interrupt.h.t.cpp - ../message_timer_locked.h.t.cpp - ../message_types.h.t.cpp - ../multimap.h.t.cpp - ../multiset.h.t.cpp - ../multi_array.h.t.cpp - ../multi_range.h.t.cpp - ../multi_span.h.t.cpp - ../multi_vector.h.t.cpp - ../murmur3.h.t.cpp - ../mutex.h.t.cpp - ../negative.h.t.cpp - ../nth_type.h.t.cpp - ../nullptr.h.t.cpp - ../null_type.h.t.cpp - ../numeric.h.t.cpp - ../observer.h.t.cpp - ../optional.h.t.cpp - ../overload.h.t.cpp - ../packet.h.t.cpp - ../parameter_pack.h.t.cpp - ../parameter_type.h.t.cpp - ../pearson.h.t.cpp - ../permutations.h.t.cpp - ../placement_new.h.t.cpp - ../poly_span.h.t.cpp - ../platform.h.t.cpp - ../pool.h.t.cpp - ../power.h.t.cpp - ../priority_queue.h.t.cpp - ../pseudo_moving_average.h.t.cpp - ../quantize.h.t.cpp - ../queue.h.t.cpp - ../queue_lockable.h.t.cpp - ../queue_mpmc_mutex.h.t.cpp - ../queue_spsc_atomic.h.t.cpp - ../queue_spsc_isr.h.t.cpp - ../queue_spsc_locked.h.t.cpp - ../radix.h.t.cpp - ../random.h.t.cpp - ../ratio.h.t.cpp - ../reference_counted_message.h.t.cpp - ../reference_counted_message_pool.h.t.cpp - ../reference_counted_object.h.t.cpp - ../reference_flat_map.h.t.cpp - ../reference_flat_multimap.h.t.cpp - ../reference_flat_multiset.h.t.cpp - ../reference_flat_set.h.t.cpp - ../rescale.h.t.cpp - ../rms.h.t.cpp - ../scaled_rounding.h.t.cpp - ../scheduler.h.t.cpp - ../set.h.t.cpp - ../shared_message.h.t.cpp - ../singleton.h.t.cpp - ../smallest.h.t.cpp - ../span.h.t.cpp - ../sqrt.h.t.cpp - ../stack.h.t.cpp - ../standard_deviation.h.t.cpp - ../state_chart.h.t.cpp - ../static_assert.h.t.cpp - ../string.h.t.cpp - ../string_stream.h.t.cpp - ../string_utilities.h.t.cpp - ../string_view.h.t.cpp - ../successor.h.t.cpp - ../task.h.t.cpp - ../threshold.h.t.cpp - ../timer.h.t.cpp - ../to_arithmetic.h.t.cpp - ../to_string.h.t.cpp - ../to_u8string.h.t.cpp - ../to_u16string.h.t.cpp - ../to_u32string.h.t.cpp - ../to_wstring.h.t.cpp - ../type_def.h.t.cpp - ../type_lookup.h.t.cpp - ../type_select.h.t.cpp - ../type_traits.h.t.cpp - ../u8format_spec.h.t.cpp - ../u8string.h.t.cpp - ../u8string_stream.h.t.cpp - ../u16format_spec.h.t.cpp - ../u16string.h.t.cpp - ../u16string_stream.h.t.cpp - ../u32format_spec.h.t.cpp - ../u32string.h.t.cpp - ../u32string_stream.h.t.cpp - ../unaligned_type.h.t.cpp - ../unordered_map.h.t.cpp - ../unordered_multimap.h.t.cpp - ../unordered_multiset.h.t.cpp - ../unordered_set.h.t.cpp - ../user_type.h.t.cpp - ../utility.h.t.cpp - ../variance.h.t.cpp - ../variant_legacy.h.t.cpp - ../variant_variadic.h.t.cpp - ../variant_pool.h.t.cpp - ../vector.h.t.cpp - ../version.h.t.cpp - ../visitor.h.t.cpp - ../wformat_spec.h.t.cpp - ../wstring.h.t.cpp - ../wstring_stream.h.t.cpp + ../absolute.h.t.cpp + ../algorithm.h.t.cpp + ../alignment.h.t.cpp + ../array.h.t.cpp + ../array_view.h.t.cpp + ../array_wrapper.h.t.cpp + ../atomic.h.t.cpp + ../base64.h.t.cpp + ../base64_decoder.h.t.cpp + ../base64_encoder.h.t.cpp + ../basic_format_spec.h.t.cpp + ../basic_string.h.t.cpp + ../basic_string_stream.h.t.cpp + ../binary.h.t.cpp + ../bip_buffer_spsc_atomic.h.t.cpp + ../bit.h.t.cpp + ../bitset.h.t.cpp + ../bit_stream.h.t.cpp + ../bloom_filter.h.t.cpp + ../bresenham_line.h.t.cpp + ../buffer_descriptors.h.t.cpp + ../byte.h.t.cpp + ../byte_stream.h.t.cpp + ../callback.h.t.cpp + ../callback_service.h.t.cpp + ../callback_timer.h.t.cpp + ../callback_timer_atomic.h.t.cpp + ../callback_timer_interrupt.h.t.cpp + ../callback_timer_locked.h.t.cpp + ../char_traits.h.t.cpp + ../checksum.h.t.cpp + ../circular_buffer.h.t.cpp + ../circular_iterator.h.t.cpp + ../combinations.h.t.cpp + ../compare.h.t.cpp + ../constant.h.t.cpp + ../container.h.t.cpp + ../correlation.h.t.cpp + ../covariance.h.t.cpp + ../crc1.h.t.cpp + ../crc16.h.t.cpp + ../crc16_a.h.t.cpp + ../crc16_arc.h.t.cpp + ../crc16_aug_ccitt.h.t.cpp + ../crc16_buypass.h.t.cpp + ../crc16_ccitt.h.t.cpp + ../crc16_cdma2000.h.t.cpp + ../crc16_dds110.h.t.cpp + ../crc16_dectr.h.t.cpp + ../crc16_dectx.h.t.cpp + ../crc16_dnp.h.t.cpp + ../crc16_en13757.h.t.cpp + ../crc16_genibus.h.t.cpp + ../crc16_kermit.h.t.cpp + ../crc16_m17.h.t.cpp + ../crc16_maxim.h.t.cpp + ../crc16_mcrf4xx.h.t.cpp + ../crc16_modbus.h.t.cpp + ../crc16_profibus.h.t.cpp + ../crc16_riello.h.t.cpp + ../crc16_t10dif.h.t.cpp + ../crc16_teledisk.h.t.cpp + ../crc16_tms37157.h.t.cpp + ../crc16_usb.h.t.cpp + ../crc16_x25.h.t.cpp + ../crc16_xmodem.h.t.cpp + ../crc32.h.t.cpp + ../crc32_bzip2.h.t.cpp + ../crc32_c.h.t.cpp + ../crc32_d.h.t.cpp + ../crc32_jamcrc.h.t.cpp + ../crc32_mpeg2.h.t.cpp + ../crc32_posix.h.t.cpp + ../crc32_q.h.t.cpp + ../crc32_xfer.h.t.cpp + ../crc64_ecma.h.t.cpp + ../crc8_ccitt.h.t.cpp + ../crc8_cdma2000.h.t.cpp + ../crc8_darc.h.t.cpp + ../crc8_dvbs2.h.t.cpp + ../crc8_ebu.h.t.cpp + ../crc8_icode.h.t.cpp + ../crc8_itu.h.t.cpp + ../crc8_j1850.h.t.cpp + ../crc8_j1850_zero.h.t.cpp + ../crc8_maxim.h.t.cpp + ../crc8_rohc.h.t.cpp + ../crc8_wcdma.h.t.cpp + ../cyclic_value.h.t.cpp + ../debounce.h.t.cpp + ../debug_count.h.t.cpp + ../delegate.h.t.cpp + ../delegate_service.h.t.cpp + ../deque.h.t.cpp + ../endianness.h.t.cpp + ../enum_type.h.t.cpp + ../error_handler.h.t.cpp + ../exception.h.t.cpp + ../expected.h.t.cpp + ../factorial.h.t.cpp + ../fibonacci.h.t.cpp + ../file_error_numbers.h.t.cpp + ../fixed_iterator.h.t.cpp + ../fixed_sized_memory_block_allocator.h.t.cpp + ../flags.h.t.cpp + ../flat_map.h.t.cpp + ../flat_multimap.h.t.cpp + ../flat_multiset.h.t.cpp + ../flat_set.h.t.cpp + ../fnv_1.h.t.cpp + ../format_spec.h.t.cpp + ../forward_list.h.t.cpp + ../frame_check_sequence.h.t.cpp + ../fsm.h.t.cpp + ../function.h.t.cpp + ../functional.h.t.cpp + ../gamma.h.t.cpp + ../gcd.h.t.cpp + ../generic_pool.h.t.cpp + ../hash.h.t.cpp + ../hfsm.h.t.cpp + ../histogram.h.t.cpp + ../ihash.h.t.cpp + ../imemory_block_allocator.h.t.cpp + ../indirect_vector.h.t.cpp + ../initializer_list.h.t.cpp + ../instance_count.h.t.cpp + ../integral_limits.h.t.cpp + ../intrusive_forward_list.h.t.cpp + ../intrusive_links.h.t.cpp + ../intrusive_list.h.t.cpp + ../intrusive_queue.h.t.cpp + ../intrusive_stack.h.t.cpp + ../invert.h.t.cpp + ../io_port.h.t.cpp + ../ipool.h.t.cpp + ../ireference_counted_message_pool.h.t.cpp + ../iterator.h.t.cpp + ../jenkins.h.t.cpp + ../largest.h.t.cpp + ../lcm.h.t.cpp + ../limiter.h.t.cpp + ../limits.h.t.cpp + ../list.h.t.cpp + ../log.h.t.cpp + ../macros.h.t.cpp + ../map.h.t.cpp + ../math.h.t.cpp + ../math_constants.h.t.cpp + ../mean.h.t.cpp + ../memory.h.t.cpp + ../memory_model.h.t.cpp + ../mem_cast.h.t.cpp + ../message.h.t.cpp + ../message_broker.h.t.cpp + ../message_bus.h.t.cpp + ../message_packet.h.t.cpp + ../message_router.h.t.cpp + ../message_router_registry.h.t.cpp + ../message_timer.h.t.cpp + ../message_timer_atomic.h.t.cpp + ../message_timer_interrupt.h.t.cpp + ../message_timer_locked.h.t.cpp + ../message_types.h.t.cpp + ../multimap.h.t.cpp + ../multiset.h.t.cpp + ../multi_array.h.t.cpp + ../multi_range.h.t.cpp + ../multi_span.h.t.cpp + ../multi_vector.h.t.cpp + ../murmur3.h.t.cpp + ../mutex.h.t.cpp + ../negative.h.t.cpp + ../nth_type.h.t.cpp + ../nullptr.h.t.cpp + ../null_type.h.t.cpp + ../numeric.h.t.cpp + ../observer.h.t.cpp + ../optional.h.t.cpp + ../overload.h.t.cpp + ../packet.h.t.cpp + ../parameter_pack.h.t.cpp + ../parameter_type.h.t.cpp + ../pearson.h.t.cpp + ../permutations.h.t.cpp + ../placement_new.h.t.cpp + ../platform.h.t.cpp + ../poly_span.h.t.cpp + ../pool.h.t.cpp + ../power.h.t.cpp + ../priority_queue.h.t.cpp + ../pseudo_moving_average.h.t.cpp + ../quantize.h.t.cpp + ../queue.h.t.cpp + ../queue_lockable.h.t.cpp + ../queue_mpmc_mutex.h.t.cpp + ../queue_spsc_atomic.h.t.cpp + ../queue_spsc_isr.h.t.cpp + ../queue_spsc_locked.h.t.cpp + ../radix.h.t.cpp + ../random.h.t.cpp + ../ratio.h.t.cpp + ../reference_counted_message.h.t.cpp + ../reference_counted_message_pool.h.t.cpp + ../reference_counted_object.h.t.cpp + ../reference_flat_map.h.t.cpp + ../reference_flat_multimap.h.t.cpp + ../reference_flat_multiset.h.t.cpp + ../reference_flat_set.h.t.cpp + ../rescale.h.t.cpp + ../result.h.t.cpp + ../rms.h.t.cpp + ../scaled_rounding.h.t.cpp + ../scheduler.h.t.cpp + ../set.h.t.cpp + ../shared_message.h.t.cpp + ../singleton.h.t.cpp + ../smallest.h.t.cpp + ../span.h.t.cpp + ../sqrt.h.t.cpp + ../stack.h.t.cpp + ../standard_deviation.h.t.cpp + ../state_chart.h.t.cpp + ../static_assert.h.t.cpp + ../string.h.t.cpp + ../stringify.h.t.cpp + ../string_stream.h.t.cpp + ../string_utilities.h.t.cpp + ../string_view.h.t.cpp + ../successor.h.t.cpp + ../task.h.t.cpp + ../threshold.h.t.cpp + ../timer.h.t.cpp + ../to_arithmetic.h.t.cpp + ../to_string.h.t.cpp + ../to_u16string.h.t.cpp + ../to_u32string.h.t.cpp + ../to_u8string.h.t.cpp + ../to_wstring.h.t.cpp + ../type_def.h.t.cpp + ../type_lookup.h.t.cpp + ../type_select.h.t.cpp + ../type_traits.h.t.cpp + ../u16format_spec.h.t.cpp + ../u16string.h.t.cpp + ../u16string_stream.h.t.cpp + ../u32format_spec.h.t.cpp + ../u32string.h.t.cpp + ../u32string_stream.h.t.cpp + ../u8format_spec.h.t.cpp + ../u8string.h.t.cpp + ../u8string_stream.h.t.cpp + ../unaligned_type.h.t.cpp + ../unordered_map.h.t.cpp + ../unordered_multimap.h.t.cpp + ../unordered_multiset.h.t.cpp + ../unordered_set.h.t.cpp + ../user_type.h.t.cpp + ../utility.h.t.cpp + ../variance.h.t.cpp + ../variant.h.t.cpp + ../variant_pool.h.t.cpp + ../vector.h.t.cpp + ../version.h.t.cpp + ../visitor.h.t.cpp + ../wformat_spec.h.t.cpp + ../wstring.h.t.cpp + ../wstring_stream.h.t.cpp ) diff --git a/test/syntax_check/c++11/CMakeLists.txt b/test/syntax_check/c++11/CMakeLists.txt index d625668e..f426cecc 100644 --- a/test/syntax_check/c++11/CMakeLists.txt +++ b/test/syntax_check/c++11/CMakeLists.txt @@ -43,268 +43,272 @@ target_compile_options(t11 -fsyntax-only ) target_sources(t11 PRIVATE etl_profile.h - ../absolute.h.t.cpp - ../algorithm.h.t.cpp - ../alignment.h.t.cpp - ../array.h.t.cpp - ../array_view.h.t.cpp - ../array_wrapper.h.t.cpp - ../atomic.h.t.cpp - ../base64.h.t.cpp - ../basic_format_spec.h.t.cpp - ../basic_string.h.t.cpp - ../basic_string_stream.h.t.cpp - ../binary.h.t.cpp - ../bip_buffer_spsc_atomic.h.t.cpp - ../bit.h.t.cpp - ../bitset_legacy.h.t.cpp - ../bitset_new.h.t.cpp - ../bit_stream.h.t.cpp - ../byte.h.t.cpp - ../byte_stream.h.t.cpp - ../bloom_filter.h.t.cpp - ../bresenham_line.h.t.cpp - ../buffer_descriptors.h.t.cpp - ../callback.h.t.cpp - ../callback_service.h.t.cpp - ../callback_timer.h.t.cpp - ../callback_timer_atomic.h.t.cpp - ../callback_timer_interrupt.h.t.cpp - ../callback_timer_locked.h.t.cpp - ../char_traits.h.t.cpp - ../checksum.h.t.cpp - ../circular_buffer.h.t.cpp - ../circular_iterator.h.t.cpp - ../combinations.h.t.cpp - ../compare.h.t.cpp - ../constant.h.t.cpp - ../container.h.t.cpp - ../correlation.h.t.cpp - ../covariance.h.t.cpp - ../crc16.h.t.cpp - ../crc16_a.h.t.cpp - ../crc16_arc.h.t.cpp - ../crc16_aug_ccitt.h.t.cpp - ../crc16_buypass.h.t.cpp - ../crc16_ccitt.h.t.cpp - ../crc16_cdma2000.h.t.cpp - ../crc16_dds110.h.t.cpp - ../crc16_dectr.h.t.cpp - ../crc16_dectx.h.t.cpp - ../crc16_dnp.h.t.cpp - ../crc16_en13757.h.t.cpp - ../crc16_genibus.h.t.cpp - ../crc16_kermit.h.t.cpp - ../crc16_m17.h.t.cpp - ../crc16_maxim.h.t.cpp - ../crc16_mcrf4xx.h.t.cpp - ../crc16_modbus.h.t.cpp - ../crc16_profibus.h.t.cpp - ../crc16_riello.h.t.cpp - ../crc16_t10dif.h.t.cpp - ../crc16_teledisk.h.t.cpp - ../crc16_tms37157.h.t.cpp - ../crc16_usb.h.t.cpp - ../crc16_x25.h.t.cpp - ../crc16_xmodem.h.t.cpp - ../crc32.h.t.cpp - ../crc32_bzip2.h.t.cpp - ../crc32_c.h.t.cpp - ../crc32_d.h.t.cpp - ../crc32_jamcrc.h.t.cpp - ../crc32_mpeg2.h.t.cpp - ../crc32_posix.h.t.cpp - ../crc32_q.h.t.cpp - ../crc32_xfer.h.t.cpp - ../crc64_ecma.h.t.cpp - ../crc8_ccitt.h.t.cpp - ../crc8_cdma2000.h.t.cpp - ../crc8_darc.h.t.cpp - ../crc8_dvbs2.h.t.cpp - ../crc8_ebu.h.t.cpp - ../crc8_icode.h.t.cpp - ../crc8_itu.h.t.cpp - ../crc8_maxim.h.t.cpp - ../crc8_rohc.h.t.cpp - ../crc8_wcdma.h.t.cpp - ../crc8_j1850.h.t.cpp - ../crc8_j1850_zero.h.t.cpp - ../cyclic_value.h.t.cpp - ../debounce.h.t.cpp - ../debug_count.h.t.cpp - ../delegate.h.t.cpp - ../delegate_service.h.t.cpp - ../deque.h.t.cpp - ../endianness.h.t.cpp - ../enum_type.h.t.cpp - ../error_handler.h.t.cpp - ../exception.h.t.cpp - ../expected.h.t.cpp - ../factorial.h.t.cpp - ../fibonacci.h.t.cpp - ../file_error_numbers.h.t.cpp - ../fixed_iterator.h.t.cpp - ../fixed_sized_memory_block_allocator.h.t.cpp - ../flags.h.t.cpp - ../flat_map.h.t.cpp - ../flat_multimap.h.t.cpp - ../flat_multiset.h.t.cpp - ../flat_set.h.t.cpp - ../fnv_1.h.t.cpp - ../format_spec.h.t.cpp - ../forward_list.h.t.cpp - ../frame_check_sequence.h.t.cpp - ../fsm.h.t.cpp - ../function.h.t.cpp - ../functional.h.t.cpp - ../gamma.h.t.cpp - ../gcd.h.t.cpp - ../generic_pool.h.t.cpp - ../hash.h.t.cpp - ../ihash.h.t.cpp - ../histogram.h.t.cpp - ../imemory_block_allocator.h.t.cpp - ../indirect_vector.h.t.cpp - ../initializer_list.h.t.cpp - ../instance_count.h.t.cpp - ../integral_limits.h.t.cpp - ../intrusive_forward_list.h.t.cpp - ../intrusive_links.h.t.cpp - ../intrusive_list.h.t.cpp - ../intrusive_queue.h.t.cpp - ../intrusive_stack.h.t.cpp - ../io_port.h.t.cpp - ../ipool.h.t.cpp - ../ireference_counted_message_pool.h.t.cpp - ../iterator.h.t.cpp - ../jenkins.h.t.cpp - ../largest.h.t.cpp - ../lcm.h.t.cpp - ../limiter.h.t.cpp - ../limits.h.t.cpp - ../list.h.t.cpp - ../log.h.t.cpp - ../macros.h.t.cpp - ../map.h.t.cpp - ../math.h.t.cpp - ../math_constants.h.t.cpp - ../math_constants.h.t.cpp - ../mean.h.t.cpp - ../mem_cast.h.t.cpp - ../memory.h.t.cpp - ../memory_model.h.t.cpp - ../message.h.t.cpp - ../message_broker.h.t.cpp - ../message_bus.h.t.cpp - ../message_packet.h.t.cpp - ../message_router.h.t.cpp - ../message_router_registry.h.t.cpp - ../message_timer.h.t.cpp - ../message_timer_atomic.h.t.cpp - ../message_timer_interrupt.h.t.cpp - ../message_timer_locked.h.t.cpp - ../message_types.h.t.cpp - ../multimap.h.t.cpp - ../multiset.h.t.cpp - ../multi_array.h.t.cpp - ../multi_range.h.t.cpp - ../multi_span.h.t.cpp - ../multi_vector.h.t.cpp - ../murmur3.h.t.cpp - ../mutex.h.t.cpp - ../negative.h.t.cpp - ../nth_type.h.t.cpp - ../nullptr.h.t.cpp - ../null_type.h.t.cpp - ../numeric.h.t.cpp - ../observer.h.t.cpp - ../optional.h.t.cpp - ../overload.h.t.cpp - ../packet.h.t.cpp - ../parameter_pack.h.t.cpp - ../parameter_type.h.t.cpp - ../pearson.h.t.cpp - ../permutations.h.t.cpp - ../placement_new.h.t.cpp - ../poly_span.h.t.cpp - ../platform.h.t.cpp - ../pool.h.t.cpp - ../power.h.t.cpp - ../priority_queue.h.t.cpp - ../pseudo_moving_average.h.t.cpp - ../quantize.h.t.cpp - ../queue.h.t.cpp - ../queue_lockable.h.t.cpp - ../queue_mpmc_mutex.h.t.cpp - ../queue_spsc_atomic.h.t.cpp - ../queue_spsc_isr.h.t.cpp - ../queue_spsc_locked.h.t.cpp - ../radix.h.t.cpp - ../random.h.t.cpp - ../ratio.h.t.cpp - ../reference_counted_message.h.t.cpp - ../reference_counted_message_pool.h.t.cpp - ../reference_counted_object.h.t.cpp - ../reference_flat_map.h.t.cpp - ../reference_flat_multimap.h.t.cpp - ../reference_flat_multiset.h.t.cpp - ../reference_flat_set.h.t.cpp - ../rescale.h.t.cpp - ../rms.h.t.cpp - ../scaled_rounding.h.t.cpp - ../scheduler.h.t.cpp - ../set.h.t.cpp - ../shared_message.h.t.cpp - ../singleton.h.t.cpp - ../smallest.h.t.cpp - ../span.h.t.cpp - ../sqrt.h.t.cpp - ../stack.h.t.cpp - ../standard_deviation.h.t.cpp - ../state_chart.h.t.cpp - ../static_assert.h.t.cpp - ../string.h.t.cpp - ../string_stream.h.t.cpp - ../string_utilities.h.t.cpp - ../string_view.h.t.cpp - ../successor.h.t.cpp - ../task.h.t.cpp - ../threshold.h.t.cpp - ../timer.h.t.cpp - ../to_arithmetic.h.t.cpp - ../to_string.h.t.cpp - ../to_u8string.h.t.cpp - ../to_u16string.h.t.cpp - ../to_u32string.h.t.cpp - ../to_wstring.h.t.cpp - ../type_def.h.t.cpp - ../type_lookup.h.t.cpp - ../type_select.h.t.cpp - ../type_traits.h.t.cpp - ../u8format_spec.h.t.cpp - ../u8string.h.t.cpp - ../u8string_stream.h.t.cpp - ../u16format_spec.h.t.cpp - ../u16string.h.t.cpp - ../u16string_stream.h.t.cpp - ../u32format_spec.h.t.cpp - ../u32string.h.t.cpp - ../u32string_stream.h.t.cpp - ../unaligned_type.h.t.cpp - ../unordered_map.h.t.cpp - ../unordered_multimap.h.t.cpp - ../unordered_multiset.h.t.cpp - ../unordered_set.h.t.cpp - ../user_type.h.t.cpp - ../utility.h.t.cpp - ../variance.h.t.cpp - ../variant_legacy.h.t.cpp - ../variant_variadic.h.t.cpp - ../variant_pool.h.t.cpp - ../vector.h.t.cpp - ../version.h.t.cpp - ../visitor.h.t.cpp - ../wformat_spec.h.t.cpp - ../wstring.h.t.cpp - ../wstring_stream.h.t.cpp + ../absolute.h.t.cpp + ../algorithm.h.t.cpp + ../alignment.h.t.cpp + ../array.h.t.cpp + ../array_view.h.t.cpp + ../array_wrapper.h.t.cpp + ../atomic.h.t.cpp + ../base64.h.t.cpp + ../base64_decoder.h.t.cpp + ../base64_encoder.h.t.cpp + ../basic_format_spec.h.t.cpp + ../basic_string.h.t.cpp + ../basic_string_stream.h.t.cpp + ../binary.h.t.cpp + ../bip_buffer_spsc_atomic.h.t.cpp + ../bit.h.t.cpp + ../bitset.h.t.cpp + ../bit_stream.h.t.cpp + ../bloom_filter.h.t.cpp + ../bresenham_line.h.t.cpp + ../buffer_descriptors.h.t.cpp + ../byte.h.t.cpp + ../byte_stream.h.t.cpp + ../callback.h.t.cpp + ../callback_service.h.t.cpp + ../callback_timer.h.t.cpp + ../callback_timer_atomic.h.t.cpp + ../callback_timer_interrupt.h.t.cpp + ../callback_timer_locked.h.t.cpp + ../char_traits.h.t.cpp + ../checksum.h.t.cpp + ../circular_buffer.h.t.cpp + ../circular_iterator.h.t.cpp + ../combinations.h.t.cpp + ../compare.h.t.cpp + ../constant.h.t.cpp + ../container.h.t.cpp + ../correlation.h.t.cpp + ../covariance.h.t.cpp + ../crc1.h.t.cpp + ../crc16.h.t.cpp + ../crc16_a.h.t.cpp + ../crc16_arc.h.t.cpp + ../crc16_aug_ccitt.h.t.cpp + ../crc16_buypass.h.t.cpp + ../crc16_ccitt.h.t.cpp + ../crc16_cdma2000.h.t.cpp + ../crc16_dds110.h.t.cpp + ../crc16_dectr.h.t.cpp + ../crc16_dectx.h.t.cpp + ../crc16_dnp.h.t.cpp + ../crc16_en13757.h.t.cpp + ../crc16_genibus.h.t.cpp + ../crc16_kermit.h.t.cpp + ../crc16_m17.h.t.cpp + ../crc16_maxim.h.t.cpp + ../crc16_mcrf4xx.h.t.cpp + ../crc16_modbus.h.t.cpp + ../crc16_profibus.h.t.cpp + ../crc16_riello.h.t.cpp + ../crc16_t10dif.h.t.cpp + ../crc16_teledisk.h.t.cpp + ../crc16_tms37157.h.t.cpp + ../crc16_usb.h.t.cpp + ../crc16_x25.h.t.cpp + ../crc16_xmodem.h.t.cpp + ../crc32.h.t.cpp + ../crc32_bzip2.h.t.cpp + ../crc32_c.h.t.cpp + ../crc32_d.h.t.cpp + ../crc32_jamcrc.h.t.cpp + ../crc32_mpeg2.h.t.cpp + ../crc32_posix.h.t.cpp + ../crc32_q.h.t.cpp + ../crc32_xfer.h.t.cpp + ../crc64_ecma.h.t.cpp + ../crc8_ccitt.h.t.cpp + ../crc8_cdma2000.h.t.cpp + ../crc8_darc.h.t.cpp + ../crc8_dvbs2.h.t.cpp + ../crc8_ebu.h.t.cpp + ../crc8_icode.h.t.cpp + ../crc8_itu.h.t.cpp + ../crc8_j1850.h.t.cpp + ../crc8_j1850_zero.h.t.cpp + ../crc8_maxim.h.t.cpp + ../crc8_rohc.h.t.cpp + ../crc8_wcdma.h.t.cpp + ../cyclic_value.h.t.cpp + ../debounce.h.t.cpp + ../debug_count.h.t.cpp + ../delegate.h.t.cpp + ../delegate_service.h.t.cpp + ../deque.h.t.cpp + ../endianness.h.t.cpp + ../enum_type.h.t.cpp + ../error_handler.h.t.cpp + ../exception.h.t.cpp + ../expected.h.t.cpp + ../factorial.h.t.cpp + ../fibonacci.h.t.cpp + ../file_error_numbers.h.t.cpp + ../fixed_iterator.h.t.cpp + ../fixed_sized_memory_block_allocator.h.t.cpp + ../flags.h.t.cpp + ../flat_map.h.t.cpp + ../flat_multimap.h.t.cpp + ../flat_multiset.h.t.cpp + ../flat_set.h.t.cpp + ../fnv_1.h.t.cpp + ../format_spec.h.t.cpp + ../forward_list.h.t.cpp + ../frame_check_sequence.h.t.cpp + ../fsm.h.t.cpp + ../function.h.t.cpp + ../functional.h.t.cpp + ../gamma.h.t.cpp + ../gcd.h.t.cpp + ../generic_pool.h.t.cpp + ../hash.h.t.cpp + ../hfsm.h.t.cpp + ../histogram.h.t.cpp + ../ihash.h.t.cpp + ../imemory_block_allocator.h.t.cpp + ../indirect_vector.h.t.cpp + ../initializer_list.h.t.cpp + ../instance_count.h.t.cpp + ../integral_limits.h.t.cpp + ../intrusive_forward_list.h.t.cpp + ../intrusive_links.h.t.cpp + ../intrusive_list.h.t.cpp + ../intrusive_queue.h.t.cpp + ../intrusive_stack.h.t.cpp + ../invert.h.t.cpp + ../io_port.h.t.cpp + ../ipool.h.t.cpp + ../ireference_counted_message_pool.h.t.cpp + ../iterator.h.t.cpp + ../jenkins.h.t.cpp + ../largest.h.t.cpp + ../lcm.h.t.cpp + ../limiter.h.t.cpp + ../limits.h.t.cpp + ../list.h.t.cpp + ../log.h.t.cpp + ../macros.h.t.cpp + ../map.h.t.cpp + ../math.h.t.cpp + ../math_constants.h.t.cpp + ../mean.h.t.cpp + ../memory.h.t.cpp + ../memory_model.h.t.cpp + ../mem_cast.h.t.cpp + ../message.h.t.cpp + ../message_broker.h.t.cpp + ../message_bus.h.t.cpp + ../message_packet.h.t.cpp + ../message_router.h.t.cpp + ../message_router_registry.h.t.cpp + ../message_timer.h.t.cpp + ../message_timer_atomic.h.t.cpp + ../message_timer_interrupt.h.t.cpp + ../message_timer_locked.h.t.cpp + ../message_types.h.t.cpp + ../multimap.h.t.cpp + ../multiset.h.t.cpp + ../multi_array.h.t.cpp + ../multi_range.h.t.cpp + ../multi_span.h.t.cpp + ../multi_vector.h.t.cpp + ../murmur3.h.t.cpp + ../mutex.h.t.cpp + ../negative.h.t.cpp + ../nth_type.h.t.cpp + ../nullptr.h.t.cpp + ../null_type.h.t.cpp + ../numeric.h.t.cpp + ../observer.h.t.cpp + ../optional.h.t.cpp + ../overload.h.t.cpp + ../packet.h.t.cpp + ../parameter_pack.h.t.cpp + ../parameter_type.h.t.cpp + ../pearson.h.t.cpp + ../permutations.h.t.cpp + ../placement_new.h.t.cpp + ../platform.h.t.cpp + ../poly_span.h.t.cpp + ../pool.h.t.cpp + ../power.h.t.cpp + ../priority_queue.h.t.cpp + ../pseudo_moving_average.h.t.cpp + ../quantize.h.t.cpp + ../queue.h.t.cpp + ../queue_lockable.h.t.cpp + ../queue_mpmc_mutex.h.t.cpp + ../queue_spsc_atomic.h.t.cpp + ../queue_spsc_isr.h.t.cpp + ../queue_spsc_locked.h.t.cpp + ../radix.h.t.cpp + ../random.h.t.cpp + ../ratio.h.t.cpp + ../reference_counted_message.h.t.cpp + ../reference_counted_message_pool.h.t.cpp + ../reference_counted_object.h.t.cpp + ../reference_flat_map.h.t.cpp + ../reference_flat_multimap.h.t.cpp + ../reference_flat_multiset.h.t.cpp + ../reference_flat_set.h.t.cpp + ../rescale.h.t.cpp + ../result.h.t.cpp + ../rms.h.t.cpp + ../scaled_rounding.h.t.cpp + ../scheduler.h.t.cpp + ../set.h.t.cpp + ../shared_message.h.t.cpp + ../singleton.h.t.cpp + ../smallest.h.t.cpp + ../span.h.t.cpp + ../sqrt.h.t.cpp + ../stack.h.t.cpp + ../standard_deviation.h.t.cpp + ../state_chart.h.t.cpp + ../static_assert.h.t.cpp + ../string.h.t.cpp + ../stringify.h.t.cpp + ../string_stream.h.t.cpp + ../string_utilities.h.t.cpp + ../string_view.h.t.cpp + ../successor.h.t.cpp + ../task.h.t.cpp + ../threshold.h.t.cpp + ../timer.h.t.cpp + ../to_arithmetic.h.t.cpp + ../to_string.h.t.cpp + ../to_u16string.h.t.cpp + ../to_u32string.h.t.cpp + ../to_u8string.h.t.cpp + ../to_wstring.h.t.cpp + ../type_def.h.t.cpp + ../type_lookup.h.t.cpp + ../type_select.h.t.cpp + ../type_traits.h.t.cpp + ../u16format_spec.h.t.cpp + ../u16string.h.t.cpp + ../u16string_stream.h.t.cpp + ../u32format_spec.h.t.cpp + ../u32string.h.t.cpp + ../u32string_stream.h.t.cpp + ../u8format_spec.h.t.cpp + ../u8string.h.t.cpp + ../u8string_stream.h.t.cpp + ../unaligned_type.h.t.cpp + ../unordered_map.h.t.cpp + ../unordered_multimap.h.t.cpp + ../unordered_multiset.h.t.cpp + ../unordered_set.h.t.cpp + ../user_type.h.t.cpp + ../utility.h.t.cpp + ../variance.h.t.cpp + ../variant.h.t.cpp + ../variant_pool.h.t.cpp + ../vector.h.t.cpp + ../version.h.t.cpp + ../visitor.h.t.cpp + ../wformat_spec.h.t.cpp + ../wstring.h.t.cpp + ../wstring_stream.h.t.cpp ) diff --git a/test/syntax_check/c++14/CMakeLists.txt b/test/syntax_check/c++14/CMakeLists.txt index d07f5db1..b7bc68b9 100644 --- a/test/syntax_check/c++14/CMakeLists.txt +++ b/test/syntax_check/c++14/CMakeLists.txt @@ -43,267 +43,272 @@ target_compile_options(t14 -fsyntax-only ) target_sources(t14 PRIVATE etl_profile.h - ../absolute.h.t.cpp - ../algorithm.h.t.cpp - ../alignment.h.t.cpp - ../array.h.t.cpp - ../array_view.h.t.cpp - ../array_wrapper.h.t.cpp - ../atomic.h.t.cpp - ../base64.h.t.cpp - ../basic_format_spec.h.t.cpp - ../basic_string.h.t.cpp - ../basic_string_stream.h.t.cpp - ../binary.h.t.cpp - ../bip_buffer_spsc_atomic.h.t.cpp - ../bit.h.t.cpp - ../bitset_legacy.h.t.cpp - ../bitset_new.h.t.cpp - ../bit_stream.h.t.cpp - ../byte.h.t.cpp - ../byte_stream.h.t.cpp - ../bloom_filter.h.t.cpp - ../bresenham_line.h.t.cpp - ../buffer_descriptors.h.t.cpp - ../callback.h.t.cpp - ../callback_service.h.t.cpp - ../callback_timer.h.t.cpp - ../callback_timer_atomic.h.t.cpp - ../callback_timer_interrupt.h.t.cpp - ../callback_timer_locked.h.t.cpp - ../char_traits.h.t.cpp - ../checksum.h.t.cpp - ../circular_buffer.h.t.cpp - ../circular_iterator.h.t.cpp - ../combinations.h.t.cpp - ../compare.h.t.cpp - ../constant.h.t.cpp - ../container.h.t.cpp - ../correlation.h.t.cpp - ../covariance.h.t.cpp - ../crc16.h.t.cpp - ../crc16_a.h.t.cpp - ../crc16_arc.h.t.cpp - ../crc16_aug_ccitt.h.t.cpp - ../crc16_buypass.h.t.cpp - ../crc16_ccitt.h.t.cpp - ../crc16_cdma2000.h.t.cpp - ../crc16_dds110.h.t.cpp - ../crc16_dectr.h.t.cpp - ../crc16_dectx.h.t.cpp - ../crc16_dnp.h.t.cpp - ../crc16_en13757.h.t.cpp - ../crc16_genibus.h.t.cpp - ../crc16_kermit.h.t.cpp - ../crc16_m17.h.t.cpp - ../crc16_maxim.h.t.cpp - ../crc16_mcrf4xx.h.t.cpp - ../crc16_modbus.h.t.cpp - ../crc16_profibus.h.t.cpp - ../crc16_riello.h.t.cpp - ../crc16_t10dif.h.t.cpp - ../crc16_teledisk.h.t.cpp - ../crc16_tms37157.h.t.cpp - ../crc16_usb.h.t.cpp - ../crc16_x25.h.t.cpp - ../crc16_xmodem.h.t.cpp - ../crc32.h.t.cpp - ../crc32_bzip2.h.t.cpp - ../crc32_c.h.t.cpp - ../crc32_d.h.t.cpp - ../crc32_jamcrc.h.t.cpp - ../crc32_mpeg2.h.t.cpp - ../crc32_posix.h.t.cpp - ../crc32_q.h.t.cpp - ../crc32_xfer.h.t.cpp - ../crc64_ecma.h.t.cpp - ../crc8_ccitt.h.t.cpp - ../crc8_cdma2000.h.t.cpp - ../crc8_darc.h.t.cpp - ../crc8_dvbs2.h.t.cpp - ../crc8_ebu.h.t.cpp - ../crc8_icode.h.t.cpp - ../crc8_itu.h.t.cpp - ../crc8_maxim.h.t.cpp - ../crc8_rohc.h.t.cpp - ../crc8_wcdma.h.t.cpp - ../crc8_j1850.h.t.cpp - ../crc8_j1850_zero.h.t.cpp - ../cyclic_value.h.t.cpp - ../debounce.h.t.cpp - ../debug_count.h.t.cpp - ../delegate.h.t.cpp - ../delegate_service.h.t.cpp - ../deque.h.t.cpp - ../endianness.h.t.cpp - ../enum_type.h.t.cpp - ../error_handler.h.t.cpp - ../exception.h.t.cpp - ../expected.h.t.cpp - ../factorial.h.t.cpp - ../fibonacci.h.t.cpp - ../file_error_numbers.h.t.cpp - ../fixed_iterator.h.t.cpp - ../fixed_sized_memory_block_allocator.h.t.cpp - ../flags.h.t.cpp - ../flat_map.h.t.cpp - ../flat_multimap.h.t.cpp - ../flat_multiset.h.t.cpp - ../flat_set.h.t.cpp - ../fnv_1.h.t.cpp - ../format_spec.h.t.cpp - ../forward_list.h.t.cpp - ../frame_check_sequence.h.t.cpp - ../fsm.h.t.cpp - ../function.h.t.cpp - ../functional.h.t.cpp - ../gamma.h.t.cpp - ../gcd.h.t.cpp - ../generic_pool.h.t.cpp - ../hash.h.t.cpp - ../ihash.h.t.cpp - ../histogram.h.t.cpp - ../imemory_block_allocator.h.t.cpp - ../indirect_vector.h.t.cpp - ../initializer_list.h.t.cpp - ../instance_count.h.t.cpp - ../integral_limits.h.t.cpp - ../intrusive_forward_list.h.t.cpp - ../intrusive_links.h.t.cpp - ../intrusive_list.h.t.cpp - ../intrusive_queue.h.t.cpp - ../intrusive_stack.h.t.cpp - ../io_port.h.t.cpp - ../ipool.h.t.cpp - ../ireference_counted_message_pool.h.t.cpp - ../iterator.h.t.cpp - ../jenkins.h.t.cpp - ../largest.h.t.cpp - ../lcm.h.t.cpp - ../limiter.h.t.cpp - ../limits.h.t.cpp - ../list.h.t.cpp - ../log.h.t.cpp - ../macros.h.t.cpp - ../map.h.t.cpp - ../math.h.t.cpp - ../math_constants.h.t.cpp - ../mean.h.t.cpp - ../mem_cast.h.t.cpp - ../memory.h.t.cpp - ../memory_model.h.t.cpp - ../message.h.t.cpp - ../message_broker.h.t.cpp - ../message_bus.h.t.cpp - ../message_packet.h.t.cpp - ../message_router.h.t.cpp - ../message_router_registry.h.t.cpp - ../message_timer.h.t.cpp - ../message_timer_atomic.h.t.cpp - ../message_timer_interrupt.h.t.cpp - ../message_timer_locked.h.t.cpp - ../message_types.h.t.cpp - ../multimap.h.t.cpp - ../multiset.h.t.cpp - ../multi_array.h.t.cpp - ../multi_range.h.t.cpp - ../multi_span.h.t.cpp - ../multi_vector.h.t.cpp - ../murmur3.h.t.cpp - ../mutex.h.t.cpp - ../negative.h.t.cpp - ../nth_type.h.t.cpp - ../nullptr.h.t.cpp - ../null_type.h.t.cpp - ../numeric.h.t.cpp - ../observer.h.t.cpp - ../optional.h.t.cpp - ../overload.h.t.cpp - ../packet.h.t.cpp - ../parameter_pack.h.t.cpp - ../parameter_type.h.t.cpp - ../pearson.h.t.cpp - ../permutations.h.t.cpp - ../placement_new.h.t.cpp - ../poly_span.h.t.cpp - ../platform.h.t.cpp - ../pool.h.t.cpp - ../power.h.t.cpp - ../priority_queue.h.t.cpp - ../pseudo_moving_average.h.t.cpp - ../quantize.h.t.cpp - ../queue.h.t.cpp - ../queue_lockable.h.t.cpp - ../queue_mpmc_mutex.h.t.cpp - ../queue_spsc_atomic.h.t.cpp - ../queue_spsc_isr.h.t.cpp - ../queue_spsc_locked.h.t.cpp - ../radix.h.t.cpp - ../random.h.t.cpp - ../ratio.h.t.cpp - ../reference_counted_message.h.t.cpp - ../reference_counted_message_pool.h.t.cpp - ../reference_counted_object.h.t.cpp - ../reference_flat_map.h.t.cpp - ../reference_flat_multimap.h.t.cpp - ../reference_flat_multiset.h.t.cpp - ../reference_flat_set.h.t.cpp - ../rescale.h.t.cpp - ../rms.h.t.cpp - ../scaled_rounding.h.t.cpp - ../scheduler.h.t.cpp - ../set.h.t.cpp - ../shared_message.h.t.cpp - ../singleton.h.t.cpp - ../smallest.h.t.cpp - ../span.h.t.cpp - ../sqrt.h.t.cpp - ../stack.h.t.cpp - ../standard_deviation.h.t.cpp - ../state_chart.h.t.cpp - ../static_assert.h.t.cpp - ../string.h.t.cpp - ../string_stream.h.t.cpp - ../string_utilities.h.t.cpp - ../string_view.h.t.cpp - ../successor.h.t.cpp - ../task.h.t.cpp - ../threshold.h.t.cpp - ../timer.h.t.cpp - ../to_arithmetic.h.t.cpp - ../to_string.h.t.cpp - ../to_u8string.h.t.cpp - ../to_u16string.h.t.cpp - ../to_u32string.h.t.cpp - ../to_wstring.h.t.cpp - ../type_def.h.t.cpp - ../type_lookup.h.t.cpp - ../type_select.h.t.cpp - ../type_traits.h.t.cpp - ../u8format_spec.h.t.cpp - ../u8string.h.t.cpp - ../u8string_stream.h.t.cpp - ../u16format_spec.h.t.cpp - ../u16string.h.t.cpp - ../u16string_stream.h.t.cpp - ../u32format_spec.h.t.cpp - ../u32string.h.t.cpp - ../u32string_stream.h.t.cpp - ../unaligned_type.h.t.cpp - ../unordered_map.h.t.cpp - ../unordered_multimap.h.t.cpp - ../unordered_multiset.h.t.cpp - ../unordered_set.h.t.cpp - ../user_type.h.t.cpp - ../utility.h.t.cpp - ../variance.h.t.cpp - ../variant_legacy.h.t.cpp - ../variant_variadic.h.t.cpp - ../variant_pool.h.t.cpp - ../vector.h.t.cpp - ../version.h.t.cpp - ../visitor.h.t.cpp - ../wformat_spec.h.t.cpp - ../wstring.h.t.cpp - ../wstring_stream.h.t.cpp + ../absolute.h.t.cpp + ../algorithm.h.t.cpp + ../alignment.h.t.cpp + ../array.h.t.cpp + ../array_view.h.t.cpp + ../array_wrapper.h.t.cpp + ../atomic.h.t.cpp + ../base64.h.t.cpp + ../base64_decoder.h.t.cpp + ../base64_encoder.h.t.cpp + ../basic_format_spec.h.t.cpp + ../basic_string.h.t.cpp + ../basic_string_stream.h.t.cpp + ../binary.h.t.cpp + ../bip_buffer_spsc_atomic.h.t.cpp + ../bit.h.t.cpp + ../bitset.h.t.cpp + ../bit_stream.h.t.cpp + ../bloom_filter.h.t.cpp + ../bresenham_line.h.t.cpp + ../buffer_descriptors.h.t.cpp + ../byte.h.t.cpp + ../byte_stream.h.t.cpp + ../callback.h.t.cpp + ../callback_service.h.t.cpp + ../callback_timer.h.t.cpp + ../callback_timer_atomic.h.t.cpp + ../callback_timer_interrupt.h.t.cpp + ../callback_timer_locked.h.t.cpp + ../char_traits.h.t.cpp + ../checksum.h.t.cpp + ../circular_buffer.h.t.cpp + ../circular_iterator.h.t.cpp + ../combinations.h.t.cpp + ../compare.h.t.cpp + ../constant.h.t.cpp + ../container.h.t.cpp + ../correlation.h.t.cpp + ../covariance.h.t.cpp + ../crc1.h.t.cpp + ../crc16.h.t.cpp + ../crc16_a.h.t.cpp + ../crc16_arc.h.t.cpp + ../crc16_aug_ccitt.h.t.cpp + ../crc16_buypass.h.t.cpp + ../crc16_ccitt.h.t.cpp + ../crc16_cdma2000.h.t.cpp + ../crc16_dds110.h.t.cpp + ../crc16_dectr.h.t.cpp + ../crc16_dectx.h.t.cpp + ../crc16_dnp.h.t.cpp + ../crc16_en13757.h.t.cpp + ../crc16_genibus.h.t.cpp + ../crc16_kermit.h.t.cpp + ../crc16_m17.h.t.cpp + ../crc16_maxim.h.t.cpp + ../crc16_mcrf4xx.h.t.cpp + ../crc16_modbus.h.t.cpp + ../crc16_profibus.h.t.cpp + ../crc16_riello.h.t.cpp + ../crc16_t10dif.h.t.cpp + ../crc16_teledisk.h.t.cpp + ../crc16_tms37157.h.t.cpp + ../crc16_usb.h.t.cpp + ../crc16_x25.h.t.cpp + ../crc16_xmodem.h.t.cpp + ../crc32.h.t.cpp + ../crc32_bzip2.h.t.cpp + ../crc32_c.h.t.cpp + ../crc32_d.h.t.cpp + ../crc32_jamcrc.h.t.cpp + ../crc32_mpeg2.h.t.cpp + ../crc32_posix.h.t.cpp + ../crc32_q.h.t.cpp + ../crc32_xfer.h.t.cpp + ../crc64_ecma.h.t.cpp + ../crc8_ccitt.h.t.cpp + ../crc8_cdma2000.h.t.cpp + ../crc8_darc.h.t.cpp + ../crc8_dvbs2.h.t.cpp + ../crc8_ebu.h.t.cpp + ../crc8_icode.h.t.cpp + ../crc8_itu.h.t.cpp + ../crc8_j1850.h.t.cpp + ../crc8_j1850_zero.h.t.cpp + ../crc8_maxim.h.t.cpp + ../crc8_rohc.h.t.cpp + ../crc8_wcdma.h.t.cpp + ../cyclic_value.h.t.cpp + ../debounce.h.t.cpp + ../debug_count.h.t.cpp + ../delegate.h.t.cpp + ../delegate_service.h.t.cpp + ../deque.h.t.cpp + ../endianness.h.t.cpp + ../enum_type.h.t.cpp + ../error_handler.h.t.cpp + ../exception.h.t.cpp + ../expected.h.t.cpp + ../factorial.h.t.cpp + ../fibonacci.h.t.cpp + ../file_error_numbers.h.t.cpp + ../fixed_iterator.h.t.cpp + ../fixed_sized_memory_block_allocator.h.t.cpp + ../flags.h.t.cpp + ../flat_map.h.t.cpp + ../flat_multimap.h.t.cpp + ../flat_multiset.h.t.cpp + ../flat_set.h.t.cpp + ../fnv_1.h.t.cpp + ../format_spec.h.t.cpp + ../forward_list.h.t.cpp + ../frame_check_sequence.h.t.cpp + ../fsm.h.t.cpp + ../function.h.t.cpp + ../functional.h.t.cpp + ../gamma.h.t.cpp + ../gcd.h.t.cpp + ../generic_pool.h.t.cpp + ../hash.h.t.cpp + ../hfsm.h.t.cpp + ../histogram.h.t.cpp + ../ihash.h.t.cpp + ../imemory_block_allocator.h.t.cpp + ../indirect_vector.h.t.cpp + ../initializer_list.h.t.cpp + ../instance_count.h.t.cpp + ../integral_limits.h.t.cpp + ../intrusive_forward_list.h.t.cpp + ../intrusive_links.h.t.cpp + ../intrusive_list.h.t.cpp + ../intrusive_queue.h.t.cpp + ../intrusive_stack.h.t.cpp + ../invert.h.t.cpp + ../io_port.h.t.cpp + ../ipool.h.t.cpp + ../ireference_counted_message_pool.h.t.cpp + ../iterator.h.t.cpp + ../jenkins.h.t.cpp + ../largest.h.t.cpp + ../lcm.h.t.cpp + ../limiter.h.t.cpp + ../limits.h.t.cpp + ../list.h.t.cpp + ../log.h.t.cpp + ../macros.h.t.cpp + ../map.h.t.cpp + ../math.h.t.cpp + ../math_constants.h.t.cpp + ../mean.h.t.cpp + ../memory.h.t.cpp + ../memory_model.h.t.cpp + ../mem_cast.h.t.cpp + ../message.h.t.cpp + ../message_broker.h.t.cpp + ../message_bus.h.t.cpp + ../message_packet.h.t.cpp + ../message_router.h.t.cpp + ../message_router_registry.h.t.cpp + ../message_timer.h.t.cpp + ../message_timer_atomic.h.t.cpp + ../message_timer_interrupt.h.t.cpp + ../message_timer_locked.h.t.cpp + ../message_types.h.t.cpp + ../multimap.h.t.cpp + ../multiset.h.t.cpp + ../multi_array.h.t.cpp + ../multi_range.h.t.cpp + ../multi_span.h.t.cpp + ../multi_vector.h.t.cpp + ../murmur3.h.t.cpp + ../mutex.h.t.cpp + ../negative.h.t.cpp + ../nth_type.h.t.cpp + ../nullptr.h.t.cpp + ../null_type.h.t.cpp + ../numeric.h.t.cpp + ../observer.h.t.cpp + ../optional.h.t.cpp + ../overload.h.t.cpp + ../packet.h.t.cpp + ../parameter_pack.h.t.cpp + ../parameter_type.h.t.cpp + ../pearson.h.t.cpp + ../permutations.h.t.cpp + ../placement_new.h.t.cpp + ../platform.h.t.cpp + ../poly_span.h.t.cpp + ../pool.h.t.cpp + ../power.h.t.cpp + ../priority_queue.h.t.cpp + ../pseudo_moving_average.h.t.cpp + ../quantize.h.t.cpp + ../queue.h.t.cpp + ../queue_lockable.h.t.cpp + ../queue_mpmc_mutex.h.t.cpp + ../queue_spsc_atomic.h.t.cpp + ../queue_spsc_isr.h.t.cpp + ../queue_spsc_locked.h.t.cpp + ../radix.h.t.cpp + ../random.h.t.cpp + ../ratio.h.t.cpp + ../reference_counted_message.h.t.cpp + ../reference_counted_message_pool.h.t.cpp + ../reference_counted_object.h.t.cpp + ../reference_flat_map.h.t.cpp + ../reference_flat_multimap.h.t.cpp + ../reference_flat_multiset.h.t.cpp + ../reference_flat_set.h.t.cpp + ../rescale.h.t.cpp + ../result.h.t.cpp + ../rms.h.t.cpp + ../scaled_rounding.h.t.cpp + ../scheduler.h.t.cpp + ../set.h.t.cpp + ../shared_message.h.t.cpp + ../singleton.h.t.cpp + ../smallest.h.t.cpp + ../span.h.t.cpp + ../sqrt.h.t.cpp + ../stack.h.t.cpp + ../standard_deviation.h.t.cpp + ../state_chart.h.t.cpp + ../static_assert.h.t.cpp + ../string.h.t.cpp + ../stringify.h.t.cpp + ../string_stream.h.t.cpp + ../string_utilities.h.t.cpp + ../string_view.h.t.cpp + ../successor.h.t.cpp + ../task.h.t.cpp + ../threshold.h.t.cpp + ../timer.h.t.cpp + ../to_arithmetic.h.t.cpp + ../to_string.h.t.cpp + ../to_u16string.h.t.cpp + ../to_u32string.h.t.cpp + ../to_u8string.h.t.cpp + ../to_wstring.h.t.cpp + ../type_def.h.t.cpp + ../type_lookup.h.t.cpp + ../type_select.h.t.cpp + ../type_traits.h.t.cpp + ../u16format_spec.h.t.cpp + ../u16string.h.t.cpp + ../u16string_stream.h.t.cpp + ../u32format_spec.h.t.cpp + ../u32string.h.t.cpp + ../u32string_stream.h.t.cpp + ../u8format_spec.h.t.cpp + ../u8string.h.t.cpp + ../u8string_stream.h.t.cpp + ../unaligned_type.h.t.cpp + ../unordered_map.h.t.cpp + ../unordered_multimap.h.t.cpp + ../unordered_multiset.h.t.cpp + ../unordered_set.h.t.cpp + ../user_type.h.t.cpp + ../utility.h.t.cpp + ../variance.h.t.cpp + ../variant.h.t.cpp + ../variant_pool.h.t.cpp + ../vector.h.t.cpp + ../version.h.t.cpp + ../visitor.h.t.cpp + ../wformat_spec.h.t.cpp + ../wstring.h.t.cpp + ../wstring_stream.h.t.cpp ) diff --git a/test/syntax_check/c++17/CMakeLists.txt b/test/syntax_check/c++17/CMakeLists.txt index 089b086b..5d8761ab 100644 --- a/test/syntax_check/c++17/CMakeLists.txt +++ b/test/syntax_check/c++17/CMakeLists.txt @@ -43,267 +43,272 @@ target_compile_options(t17 -fsyntax-only ) target_sources(t17 PRIVATE etl_profile.h - ../absolute.h.t.cpp - ../algorithm.h.t.cpp - ../alignment.h.t.cpp - ../array.h.t.cpp - ../array_view.h.t.cpp - ../array_wrapper.h.t.cpp - ../atomic.h.t.cpp - ../base64.h.t.cpp - ../basic_format_spec.h.t.cpp - ../basic_string.h.t.cpp - ../basic_string_stream.h.t.cpp - ../binary.h.t.cpp - ../bip_buffer_spsc_atomic.h.t.cpp - ../bit.h.t.cpp - ../bitset_legacy.h.t.cpp - ../bitset_new.h.t.cpp - ../bit_stream.h.t.cpp - ../byte.h.t.cpp - ../byte_stream.h.t.cpp - ../bloom_filter.h.t.cpp - ../bresenham_line.h.t.cpp - ../buffer_descriptors.h.t.cpp - ../callback.h.t.cpp - ../callback_service.h.t.cpp - ../callback_timer.h.t.cpp - ../callback_timer_atomic.h.t.cpp - ../callback_timer_interrupt.h.t.cpp - ../callback_timer_locked.h.t.cpp - ../char_traits.h.t.cpp - ../checksum.h.t.cpp - ../circular_buffer.h.t.cpp - ../circular_iterator.h.t.cpp - ../combinations.h.t.cpp - ../compare.h.t.cpp - ../constant.h.t.cpp - ../container.h.t.cpp - ../correlation.h.t.cpp - ../covariance.h.t.cpp - ../crc16.h.t.cpp - ../crc16_a.h.t.cpp - ../crc16_arc.h.t.cpp - ../crc16_aug_ccitt.h.t.cpp - ../crc16_buypass.h.t.cpp - ../crc16_ccitt.h.t.cpp - ../crc16_cdma2000.h.t.cpp - ../crc16_dds110.h.t.cpp - ../crc16_dectr.h.t.cpp - ../crc16_dectx.h.t.cpp - ../crc16_dnp.h.t.cpp - ../crc16_en13757.h.t.cpp - ../crc16_genibus.h.t.cpp - ../crc16_kermit.h.t.cpp - ../crc16_m17.h.t.cpp - ../crc16_maxim.h.t.cpp - ../crc16_mcrf4xx.h.t.cpp - ../crc16_modbus.h.t.cpp - ../crc16_profibus.h.t.cpp - ../crc16_riello.h.t.cpp - ../crc16_t10dif.h.t.cpp - ../crc16_teledisk.h.t.cpp - ../crc16_tms37157.h.t.cpp - ../crc16_usb.h.t.cpp - ../crc16_x25.h.t.cpp - ../crc16_xmodem.h.t.cpp - ../crc32.h.t.cpp - ../crc32_bzip2.h.t.cpp - ../crc32_c.h.t.cpp - ../crc32_d.h.t.cpp - ../crc32_jamcrc.h.t.cpp - ../crc32_mpeg2.h.t.cpp - ../crc32_posix.h.t.cpp - ../crc32_q.h.t.cpp - ../crc32_xfer.h.t.cpp - ../crc64_ecma.h.t.cpp - ../crc8_ccitt.h.t.cpp - ../crc8_cdma2000.h.t.cpp - ../crc8_darc.h.t.cpp - ../crc8_dvbs2.h.t.cpp - ../crc8_ebu.h.t.cpp - ../crc8_icode.h.t.cpp - ../crc8_itu.h.t.cpp - ../crc8_maxim.h.t.cpp - ../crc8_rohc.h.t.cpp - ../crc8_wcdma.h.t.cpp - ../crc8_j1850.h.t.cpp - ../crc8_j1850_zero.h.t.cpp - ../cyclic_value.h.t.cpp - ../debounce.h.t.cpp - ../debug_count.h.t.cpp - ../delegate.h.t.cpp - ../delegate_service.h.t.cpp - ../deque.h.t.cpp - ../endianness.h.t.cpp - ../enum_type.h.t.cpp - ../error_handler.h.t.cpp - ../exception.h.t.cpp - ../expected.h.t.cpp - ../factorial.h.t.cpp - ../fibonacci.h.t.cpp - ../file_error_numbers.h.t.cpp - ../fixed_iterator.h.t.cpp - ../fixed_sized_memory_block_allocator.h.t.cpp - ../flags.h.t.cpp - ../flat_map.h.t.cpp - ../flat_multimap.h.t.cpp - ../flat_multiset.h.t.cpp - ../flat_set.h.t.cpp - ../fnv_1.h.t.cpp - ../format_spec.h.t.cpp - ../forward_list.h.t.cpp - ../frame_check_sequence.h.t.cpp - ../fsm.h.t.cpp - ../function.h.t.cpp - ../functional.h.t.cpp - ../gamma.h.t.cpp - ../gcd.h.t.cpp - ../generic_pool.h.t.cpp - ../hash.h.t.cpp - ../ihash.h.t.cpp - ../histogram.h.t.cpp - ../imemory_block_allocator.h.t.cpp - ../indirect_vector.h.t.cpp - ../initializer_list.h.t.cpp - ../instance_count.h.t.cpp - ../integral_limits.h.t.cpp - ../intrusive_forward_list.h.t.cpp - ../intrusive_links.h.t.cpp - ../intrusive_list.h.t.cpp - ../intrusive_queue.h.t.cpp - ../intrusive_stack.h.t.cpp - ../io_port.h.t.cpp - ../ipool.h.t.cpp - ../ireference_counted_message_pool.h.t.cpp - ../iterator.h.t.cpp - ../jenkins.h.t.cpp - ../largest.h.t.cpp - ../lcm.h.t.cpp - ../limiter.h.t.cpp - ../limits.h.t.cpp - ../list.h.t.cpp - ../log.h.t.cpp - ../macros.h.t.cpp - ../map.h.t.cpp - ../math.h.t.cpp - ../math_constants.h.t.cpp - ../mean.h.t.cpp - ../mem_cast.h.t.cpp - ../memory.h.t.cpp - ../memory_model.h.t.cpp - ../message.h.t.cpp - ../message_broker.h.t.cpp - ../message_bus.h.t.cpp - ../message_packet.h.t.cpp - ../message_router.h.t.cpp - ../message_router_registry.h.t.cpp - ../message_timer.h.t.cpp - ../message_timer_atomic.h.t.cpp - ../message_timer_interrupt.h.t.cpp - ../message_timer_locked.h.t.cpp - ../message_types.h.t.cpp - ../multimap.h.t.cpp - ../multiset.h.t.cpp - ../multi_array.h.t.cpp - ../multi_range.h.t.cpp - ../multi_span.h.t.cpp - ../multi_vector.h.t.cpp - ../murmur3.h.t.cpp - ../mutex.h.t.cpp - ../negative.h.t.cpp - ../nth_type.h.t.cpp - ../nullptr.h.t.cpp - ../null_type.h.t.cpp - ../numeric.h.t.cpp - ../observer.h.t.cpp - ../optional.h.t.cpp - ../overload.h.t.cpp - ../packet.h.t.cpp - ../parameter_pack.h.t.cpp - ../parameter_type.h.t.cpp - ../pearson.h.t.cpp - ../permutations.h.t.cpp - ../placement_new.h.t.cpp - ../poly_span.h.t.cpp - ../platform.h.t.cpp - ../pool.h.t.cpp - ../power.h.t.cpp - ../priority_queue.h.t.cpp - ../pseudo_moving_average.h.t.cpp - ../quantize.h.t.cpp - ../queue.h.t.cpp - ../queue_lockable.h.t.cpp - ../queue_mpmc_mutex.h.t.cpp - ../queue_spsc_atomic.h.t.cpp - ../queue_spsc_isr.h.t.cpp - ../queue_spsc_locked.h.t.cpp - ../radix.h.t.cpp - ../random.h.t.cpp - ../ratio.h.t.cpp - ../reference_counted_message.h.t.cpp - ../reference_counted_message_pool.h.t.cpp - ../reference_counted_object.h.t.cpp - ../reference_flat_map.h.t.cpp - ../reference_flat_multimap.h.t.cpp - ../reference_flat_multiset.h.t.cpp - ../reference_flat_set.h.t.cpp - ../rescale.h.t.cpp - ../rms.h.t.cpp - ../scaled_rounding.h.t.cpp - ../scheduler.h.t.cpp - ../set.h.t.cpp - ../shared_message.h.t.cpp - ../singleton.h.t.cpp - ../smallest.h.t.cpp - ../span.h.t.cpp - ../sqrt.h.t.cpp - ../stack.h.t.cpp - ../standard_deviation.h.t.cpp - ../state_chart.h.t.cpp - ../static_assert.h.t.cpp - ../string.h.t.cpp - ../string_stream.h.t.cpp - ../string_utilities.h.t.cpp - ../string_view.h.t.cpp - ../successor.h.t.cpp - ../task.h.t.cpp - ../threshold.h.t.cpp - ../timer.h.t.cpp - ../to_arithmetic.h.t.cpp - ../to_string.h.t.cpp - ../to_u8string.h.t.cpp - ../to_u16string.h.t.cpp - ../to_u32string.h.t.cpp - ../to_wstring.h.t.cpp - ../type_def.h.t.cpp - ../type_lookup.h.t.cpp - ../type_select.h.t.cpp - ../type_traits.h.t.cpp - ../u8format_spec.h.t.cpp - ../u8string.h.t.cpp - ../u8string_stream.h.t.cpp - ../u16format_spec.h.t.cpp - ../u16string.h.t.cpp - ../u16string_stream.h.t.cpp - ../u32format_spec.h.t.cpp - ../u32string.h.t.cpp - ../u32string_stream.h.t.cpp - ../unaligned_type.h.t.cpp - ../unordered_map.h.t.cpp - ../unordered_multimap.h.t.cpp - ../unordered_multiset.h.t.cpp - ../unordered_set.h.t.cpp - ../user_type.h.t.cpp - ../utility.h.t.cpp - ../variance.h.t.cpp - ../variant_legacy.h.t.cpp - ../variant_variadic.h.t.cpp - ../variant_pool.h.t.cpp - ../vector.h.t.cpp - ../version.h.t.cpp - ../visitor.h.t.cpp - ../wformat_spec.h.t.cpp - ../wstring.h.t.cpp - ../wstring_stream.h.t.cpp + ../absolute.h.t.cpp + ../algorithm.h.t.cpp + ../alignment.h.t.cpp + ../array.h.t.cpp + ../array_view.h.t.cpp + ../array_wrapper.h.t.cpp + ../atomic.h.t.cpp + ../base64.h.t.cpp + ../base64_decoder.h.t.cpp + ../base64_encoder.h.t.cpp + ../basic_format_spec.h.t.cpp + ../basic_string.h.t.cpp + ../basic_string_stream.h.t.cpp + ../binary.h.t.cpp + ../bip_buffer_spsc_atomic.h.t.cpp + ../bit.h.t.cpp + ../bitset.h.t.cpp + ../bit_stream.h.t.cpp + ../bloom_filter.h.t.cpp + ../bresenham_line.h.t.cpp + ../buffer_descriptors.h.t.cpp + ../byte.h.t.cpp + ../byte_stream.h.t.cpp + ../callback.h.t.cpp + ../callback_service.h.t.cpp + ../callback_timer.h.t.cpp + ../callback_timer_atomic.h.t.cpp + ../callback_timer_interrupt.h.t.cpp + ../callback_timer_locked.h.t.cpp + ../char_traits.h.t.cpp + ../checksum.h.t.cpp + ../circular_buffer.h.t.cpp + ../circular_iterator.h.t.cpp + ../combinations.h.t.cpp + ../compare.h.t.cpp + ../constant.h.t.cpp + ../container.h.t.cpp + ../correlation.h.t.cpp + ../covariance.h.t.cpp + ../crc1.h.t.cpp + ../crc16.h.t.cpp + ../crc16_a.h.t.cpp + ../crc16_arc.h.t.cpp + ../crc16_aug_ccitt.h.t.cpp + ../crc16_buypass.h.t.cpp + ../crc16_ccitt.h.t.cpp + ../crc16_cdma2000.h.t.cpp + ../crc16_dds110.h.t.cpp + ../crc16_dectr.h.t.cpp + ../crc16_dectx.h.t.cpp + ../crc16_dnp.h.t.cpp + ../crc16_en13757.h.t.cpp + ../crc16_genibus.h.t.cpp + ../crc16_kermit.h.t.cpp + ../crc16_m17.h.t.cpp + ../crc16_maxim.h.t.cpp + ../crc16_mcrf4xx.h.t.cpp + ../crc16_modbus.h.t.cpp + ../crc16_profibus.h.t.cpp + ../crc16_riello.h.t.cpp + ../crc16_t10dif.h.t.cpp + ../crc16_teledisk.h.t.cpp + ../crc16_tms37157.h.t.cpp + ../crc16_usb.h.t.cpp + ../crc16_x25.h.t.cpp + ../crc16_xmodem.h.t.cpp + ../crc32.h.t.cpp + ../crc32_bzip2.h.t.cpp + ../crc32_c.h.t.cpp + ../crc32_d.h.t.cpp + ../crc32_jamcrc.h.t.cpp + ../crc32_mpeg2.h.t.cpp + ../crc32_posix.h.t.cpp + ../crc32_q.h.t.cpp + ../crc32_xfer.h.t.cpp + ../crc64_ecma.h.t.cpp + ../crc8_ccitt.h.t.cpp + ../crc8_cdma2000.h.t.cpp + ../crc8_darc.h.t.cpp + ../crc8_dvbs2.h.t.cpp + ../crc8_ebu.h.t.cpp + ../crc8_icode.h.t.cpp + ../crc8_itu.h.t.cpp + ../crc8_j1850.h.t.cpp + ../crc8_j1850_zero.h.t.cpp + ../crc8_maxim.h.t.cpp + ../crc8_rohc.h.t.cpp + ../crc8_wcdma.h.t.cpp + ../cyclic_value.h.t.cpp + ../debounce.h.t.cpp + ../debug_count.h.t.cpp + ../delegate.h.t.cpp + ../delegate_service.h.t.cpp + ../deque.h.t.cpp + ../endianness.h.t.cpp + ../enum_type.h.t.cpp + ../error_handler.h.t.cpp + ../exception.h.t.cpp + ../expected.h.t.cpp + ../factorial.h.t.cpp + ../fibonacci.h.t.cpp + ../file_error_numbers.h.t.cpp + ../fixed_iterator.h.t.cpp + ../fixed_sized_memory_block_allocator.h.t.cpp + ../flags.h.t.cpp + ../flat_map.h.t.cpp + ../flat_multimap.h.t.cpp + ../flat_multiset.h.t.cpp + ../flat_set.h.t.cpp + ../fnv_1.h.t.cpp + ../format_spec.h.t.cpp + ../forward_list.h.t.cpp + ../frame_check_sequence.h.t.cpp + ../fsm.h.t.cpp + ../function.h.t.cpp + ../functional.h.t.cpp + ../gamma.h.t.cpp + ../gcd.h.t.cpp + ../generic_pool.h.t.cpp + ../hash.h.t.cpp + ../hfsm.h.t.cpp + ../histogram.h.t.cpp + ../ihash.h.t.cpp + ../imemory_block_allocator.h.t.cpp + ../indirect_vector.h.t.cpp + ../initializer_list.h.t.cpp + ../instance_count.h.t.cpp + ../integral_limits.h.t.cpp + ../intrusive_forward_list.h.t.cpp + ../intrusive_links.h.t.cpp + ../intrusive_list.h.t.cpp + ../intrusive_queue.h.t.cpp + ../intrusive_stack.h.t.cpp + ../invert.h.t.cpp + ../io_port.h.t.cpp + ../ipool.h.t.cpp + ../ireference_counted_message_pool.h.t.cpp + ../iterator.h.t.cpp + ../jenkins.h.t.cpp + ../largest.h.t.cpp + ../lcm.h.t.cpp + ../limiter.h.t.cpp + ../limits.h.t.cpp + ../list.h.t.cpp + ../log.h.t.cpp + ../macros.h.t.cpp + ../map.h.t.cpp + ../math.h.t.cpp + ../math_constants.h.t.cpp + ../mean.h.t.cpp + ../memory.h.t.cpp + ../memory_model.h.t.cpp + ../mem_cast.h.t.cpp + ../message.h.t.cpp + ../message_broker.h.t.cpp + ../message_bus.h.t.cpp + ../message_packet.h.t.cpp + ../message_router.h.t.cpp + ../message_router_registry.h.t.cpp + ../message_timer.h.t.cpp + ../message_timer_atomic.h.t.cpp + ../message_timer_interrupt.h.t.cpp + ../message_timer_locked.h.t.cpp + ../message_types.h.t.cpp + ../multimap.h.t.cpp + ../multiset.h.t.cpp + ../multi_array.h.t.cpp + ../multi_range.h.t.cpp + ../multi_span.h.t.cpp + ../multi_vector.h.t.cpp + ../murmur3.h.t.cpp + ../mutex.h.t.cpp + ../negative.h.t.cpp + ../nth_type.h.t.cpp + ../nullptr.h.t.cpp + ../null_type.h.t.cpp + ../numeric.h.t.cpp + ../observer.h.t.cpp + ../optional.h.t.cpp + ../overload.h.t.cpp + ../packet.h.t.cpp + ../parameter_pack.h.t.cpp + ../parameter_type.h.t.cpp + ../pearson.h.t.cpp + ../permutations.h.t.cpp + ../placement_new.h.t.cpp + ../platform.h.t.cpp + ../poly_span.h.t.cpp + ../pool.h.t.cpp + ../power.h.t.cpp + ../priority_queue.h.t.cpp + ../pseudo_moving_average.h.t.cpp + ../quantize.h.t.cpp + ../queue.h.t.cpp + ../queue_lockable.h.t.cpp + ../queue_mpmc_mutex.h.t.cpp + ../queue_spsc_atomic.h.t.cpp + ../queue_spsc_isr.h.t.cpp + ../queue_spsc_locked.h.t.cpp + ../radix.h.t.cpp + ../random.h.t.cpp + ../ratio.h.t.cpp + ../reference_counted_message.h.t.cpp + ../reference_counted_message_pool.h.t.cpp + ../reference_counted_object.h.t.cpp + ../reference_flat_map.h.t.cpp + ../reference_flat_multimap.h.t.cpp + ../reference_flat_multiset.h.t.cpp + ../reference_flat_set.h.t.cpp + ../rescale.h.t.cpp + ../result.h.t.cpp + ../rms.h.t.cpp + ../scaled_rounding.h.t.cpp + ../scheduler.h.t.cpp + ../set.h.t.cpp + ../shared_message.h.t.cpp + ../singleton.h.t.cpp + ../smallest.h.t.cpp + ../span.h.t.cpp + ../sqrt.h.t.cpp + ../stack.h.t.cpp + ../standard_deviation.h.t.cpp + ../state_chart.h.t.cpp + ../static_assert.h.t.cpp + ../string.h.t.cpp + ../stringify.h.t.cpp + ../string_stream.h.t.cpp + ../string_utilities.h.t.cpp + ../string_view.h.t.cpp + ../successor.h.t.cpp + ../task.h.t.cpp + ../threshold.h.t.cpp + ../timer.h.t.cpp + ../to_arithmetic.h.t.cpp + ../to_string.h.t.cpp + ../to_u16string.h.t.cpp + ../to_u32string.h.t.cpp + ../to_u8string.h.t.cpp + ../to_wstring.h.t.cpp + ../type_def.h.t.cpp + ../type_lookup.h.t.cpp + ../type_select.h.t.cpp + ../type_traits.h.t.cpp + ../u16format_spec.h.t.cpp + ../u16string.h.t.cpp + ../u16string_stream.h.t.cpp + ../u32format_spec.h.t.cpp + ../u32string.h.t.cpp + ../u32string_stream.h.t.cpp + ../u8format_spec.h.t.cpp + ../u8string.h.t.cpp + ../u8string_stream.h.t.cpp + ../unaligned_type.h.t.cpp + ../unordered_map.h.t.cpp + ../unordered_multimap.h.t.cpp + ../unordered_multiset.h.t.cpp + ../unordered_set.h.t.cpp + ../user_type.h.t.cpp + ../utility.h.t.cpp + ../variance.h.t.cpp + ../variant.h.t.cpp + ../variant_pool.h.t.cpp + ../vector.h.t.cpp + ../version.h.t.cpp + ../visitor.h.t.cpp + ../wformat_spec.h.t.cpp + ../wstring.h.t.cpp + ../wstring_stream.h.t.cpp ) diff --git a/test/syntax_check/c++20/CMakeLists.txt b/test/syntax_check/c++20/CMakeLists.txt index e40d31ee..f38c48ad 100644 --- a/test/syntax_check/c++20/CMakeLists.txt +++ b/test/syntax_check/c++20/CMakeLists.txt @@ -43,267 +43,272 @@ target_compile_options(t20 -fsyntax-only ) target_sources(t20 PRIVATE etl_profile.h - ../absolute.h.t.cpp - ../algorithm.h.t.cpp - ../alignment.h.t.cpp - ../array.h.t.cpp - ../array_view.h.t.cpp - ../array_wrapper.h.t.cpp - ../atomic.h.t.cpp - ../base64.h.t.cpp - ../basic_format_spec.h.t.cpp - ../basic_string.h.t.cpp - ../basic_string_stream.h.t.cpp - ../binary.h.t.cpp - ../bip_buffer_spsc_atomic.h.t.cpp - ../bit.h.t.cpp - ../bitset_legacy.h.t.cpp - ../bitset_new.h.t.cpp - ../bit_stream.h.t.cpp - ../byte.h.t.cpp - ../byte_stream.h.t.cpp - ../bloom_filter.h.t.cpp - ../bresenham_line.h.t.cpp - ../buffer_descriptors.h.t.cpp - ../callback.h.t.cpp - ../callback_service.h.t.cpp - ../callback_timer.h.t.cpp - ../callback_timer_atomic.h.t.cpp - ../callback_timer_interrupt.h.t.cpp - ../callback_timer_locked.h.t.cpp - ../char_traits.h.t.cpp - ../checksum.h.t.cpp - ../circular_buffer.h.t.cpp - ../circular_iterator.h.t.cpp - ../combinations.h.t.cpp - ../compare.h.t.cpp - ../constant.h.t.cpp - ../container.h.t.cpp - ../correlation.h.t.cpp - ../covariance.h.t.cpp - ../crc16.h.t.cpp - ../crc16_a.h.t.cpp - ../crc16_arc.h.t.cpp - ../crc16_aug_ccitt.h.t.cpp - ../crc16_buypass.h.t.cpp - ../crc16_ccitt.h.t.cpp - ../crc16_cdma2000.h.t.cpp - ../crc16_dds110.h.t.cpp - ../crc16_dectr.h.t.cpp - ../crc16_dectx.h.t.cpp - ../crc16_dnp.h.t.cpp - ../crc16_en13757.h.t.cpp - ../crc16_genibus.h.t.cpp - ../crc16_kermit.h.t.cpp - ../crc16_m17.h.t.cpp - ../crc16_maxim.h.t.cpp - ../crc16_mcrf4xx.h.t.cpp - ../crc16_modbus.h.t.cpp - ../crc16_profibus.h.t.cpp - ../crc16_riello.h.t.cpp - ../crc16_t10dif.h.t.cpp - ../crc16_teledisk.h.t.cpp - ../crc16_tms37157.h.t.cpp - ../crc16_usb.h.t.cpp - ../crc16_x25.h.t.cpp - ../crc16_xmodem.h.t.cpp - ../crc32.h.t.cpp - ../crc32_bzip2.h.t.cpp - ../crc32_c.h.t.cpp - ../crc32_d.h.t.cpp - ../crc32_jamcrc.h.t.cpp - ../crc32_mpeg2.h.t.cpp - ../crc32_posix.h.t.cpp - ../crc32_q.h.t.cpp - ../crc32_xfer.h.t.cpp - ../crc64_ecma.h.t.cpp - ../crc8_ccitt.h.t.cpp - ../crc8_cdma2000.h.t.cpp - ../crc8_darc.h.t.cpp - ../crc8_dvbs2.h.t.cpp - ../crc8_ebu.h.t.cpp - ../crc8_icode.h.t.cpp - ../crc8_itu.h.t.cpp - ../crc8_maxim.h.t.cpp - ../crc8_rohc.h.t.cpp - ../crc8_wcdma.h.t.cpp - ../crc8_j1850.h.t.cpp - ../crc8_j1850_zero.h.t.cpp - ../cyclic_value.h.t.cpp - ../debounce.h.t.cpp - ../debug_count.h.t.cpp - ../delegate.h.t.cpp - ../delegate_service.h.t.cpp - ../deque.h.t.cpp - ../endianness.h.t.cpp - ../enum_type.h.t.cpp - ../error_handler.h.t.cpp - ../exception.h.t.cpp - ../expected.h.t.cpp - ../factorial.h.t.cpp - ../fibonacci.h.t.cpp - ../file_error_numbers.h.t.cpp - ../fixed_iterator.h.t.cpp - ../fixed_sized_memory_block_allocator.h.t.cpp - ../flags.h.t.cpp - ../flat_map.h.t.cpp - ../flat_multimap.h.t.cpp - ../flat_multiset.h.t.cpp - ../flat_set.h.t.cpp - ../fnv_1.h.t.cpp - ../format_spec.h.t.cpp - ../forward_list.h.t.cpp - ../frame_check_sequence.h.t.cpp - ../fsm.h.t.cpp - ../function.h.t.cpp - ../functional.h.t.cpp - ../gamma.h.t.cpp - ../gcd.h.t.cpp - ../generic_pool.h.t.cpp - ../hash.h.t.cpp - ../ihash.h.t.cpp - ../histogram.h.t.cpp - ../imemory_block_allocator.h.t.cpp - ../indirect_vector.h.t.cpp - ../initializer_list.h.t.cpp - ../instance_count.h.t.cpp - ../integral_limits.h.t.cpp - ../intrusive_forward_list.h.t.cpp - ../intrusive_links.h.t.cpp - ../intrusive_list.h.t.cpp - ../intrusive_queue.h.t.cpp - ../intrusive_stack.h.t.cpp - ../io_port.h.t.cpp - ../ipool.h.t.cpp - ../ireference_counted_message_pool.h.t.cpp - ../iterator.h.t.cpp - ../jenkins.h.t.cpp - ../largest.h.t.cpp - ../lcm.h.t.cpp - ../limiter.h.t.cpp - ../limits.h.t.cpp - ../list.h.t.cpp - ../log.h.t.cpp - ../macros.h.t.cpp - ../map.h.t.cpp - ../math.h.t.cpp - ../math_constants.h.t.cpp - ../mean.h.t.cpp - ../mem_cast.h.t.cpp - ../memory.h.t.cpp - ../memory_model.h.t.cpp - ../message.h.t.cpp - ../message_broker.h.t.cpp - ../message_bus.h.t.cpp - ../message_packet.h.t.cpp - ../message_router.h.t.cpp - ../message_router_registry.h.t.cpp - ../message_timer.h.t.cpp - ../message_timer_atomic.h.t.cpp - ../message_timer_interrupt.h.t.cpp - ../message_timer_locked.h.t.cpp - ../message_types.h.t.cpp - ../multimap.h.t.cpp - ../multiset.h.t.cpp - ../multi_array.h.t.cpp - ../multi_range.h.t.cpp - ../multi_span.h.t.cpp - ../multi_vector.h.t.cpp - ../murmur3.h.t.cpp - ../mutex.h.t.cpp - ../negative.h.t.cpp - ../nth_type.h.t.cpp - ../nullptr.h.t.cpp - ../null_type.h.t.cpp - ../numeric.h.t.cpp - ../observer.h.t.cpp - ../optional.h.t.cpp - ../overload.h.t.cpp - ../packet.h.t.cpp - ../parameter_pack.h.t.cpp - ../parameter_type.h.t.cpp - ../pearson.h.t.cpp - ../permutations.h.t.cpp - ../placement_new.h.t.cpp - ../poly_span.h.t.cpp - ../platform.h.t.cpp - ../pool.h.t.cpp - ../power.h.t.cpp - ../priority_queue.h.t.cpp - ../pseudo_moving_average.h.t.cpp - ../quantize.h.t.cpp - ../queue.h.t.cpp - ../queue_lockable.h.t.cpp - ../queue_mpmc_mutex.h.t.cpp - ../queue_spsc_atomic.h.t.cpp - ../queue_spsc_isr.h.t.cpp - ../queue_spsc_locked.h.t.cpp - ../radix.h.t.cpp - ../random.h.t.cpp - ../ratio.h.t.cpp - ../reference_counted_message.h.t.cpp - ../reference_counted_message_pool.h.t.cpp - ../reference_counted_object.h.t.cpp - ../reference_flat_map.h.t.cpp - ../reference_flat_multimap.h.t.cpp - ../reference_flat_multiset.h.t.cpp - ../reference_flat_set.h.t.cpp - ../rescale.h.t.cpp - ../rms.h.t.cpp - ../scaled_rounding.h.t.cpp - ../scheduler.h.t.cpp - ../set.h.t.cpp - ../shared_message.h.t.cpp - ../singleton.h.t.cpp - ../smallest.h.t.cpp - ../span.h.t.cpp - ../sqrt.h.t.cpp - ../stack.h.t.cpp - ../standard_deviation.h.t.cpp - ../state_chart.h.t.cpp - ../static_assert.h.t.cpp - ../string.h.t.cpp - ../string_stream.h.t.cpp - ../string_utilities.h.t.cpp - ../string_view.h.t.cpp - ../successor.h.t.cpp - ../task.h.t.cpp - ../threshold.h.t.cpp - ../timer.h.t.cpp - ../to_arithmetic.h.t.cpp - ../to_string.h.t.cpp - ../to_u8string.h.t.cpp - ../to_u16string.h.t.cpp - ../to_u32string.h.t.cpp - ../to_wstring.h.t.cpp - ../type_def.h.t.cpp - ../type_lookup.h.t.cpp - ../type_select.h.t.cpp - ../type_traits.h.t.cpp - ../u8format_spec.h.t.cpp - ../u8string.h.t.cpp - ../u8string_stream.h.t.cpp - ../u16format_spec.h.t.cpp - ../u16string.h.t.cpp - ../u16string_stream.h.t.cpp - ../u32format_spec.h.t.cpp - ../u32string.h.t.cpp - ../u32string_stream.h.t.cpp - ../unaligned_type.h.t.cpp - ../unordered_map.h.t.cpp - ../unordered_multimap.h.t.cpp - ../unordered_multiset.h.t.cpp - ../unordered_set.h.t.cpp - ../user_type.h.t.cpp - ../utility.h.t.cpp - ../variance.h.t.cpp - ../variant_legacy.h.t.cpp - ../variant_variadic.h.t.cpp - ../variant_pool.h.t.cpp - ../vector.h.t.cpp - ../version.h.t.cpp - ../visitor.h.t.cpp - ../wformat_spec.h.t.cpp - ../wstring.h.t.cpp - ../wstring_stream.h.t.cpp + ../absolute.h.t.cpp + ../algorithm.h.t.cpp + ../alignment.h.t.cpp + ../array.h.t.cpp + ../array_view.h.t.cpp + ../array_wrapper.h.t.cpp + ../atomic.h.t.cpp + ../base64.h.t.cpp + ../base64_decoder.h.t.cpp + ../base64_encoder.h.t.cpp + ../basic_format_spec.h.t.cpp + ../basic_string.h.t.cpp + ../basic_string_stream.h.t.cpp + ../binary.h.t.cpp + ../bip_buffer_spsc_atomic.h.t.cpp + ../bit.h.t.cpp + ../bitset.h.t.cpp + ../bit_stream.h.t.cpp + ../bloom_filter.h.t.cpp + ../bresenham_line.h.t.cpp + ../buffer_descriptors.h.t.cpp + ../byte.h.t.cpp + ../byte_stream.h.t.cpp + ../callback.h.t.cpp + ../callback_service.h.t.cpp + ../callback_timer.h.t.cpp + ../callback_timer_atomic.h.t.cpp + ../callback_timer_interrupt.h.t.cpp + ../callback_timer_locked.h.t.cpp + ../char_traits.h.t.cpp + ../checksum.h.t.cpp + ../circular_buffer.h.t.cpp + ../circular_iterator.h.t.cpp + ../combinations.h.t.cpp + ../compare.h.t.cpp + ../constant.h.t.cpp + ../container.h.t.cpp + ../correlation.h.t.cpp + ../covariance.h.t.cpp + ../crc1.h.t.cpp + ../crc16.h.t.cpp + ../crc16_a.h.t.cpp + ../crc16_arc.h.t.cpp + ../crc16_aug_ccitt.h.t.cpp + ../crc16_buypass.h.t.cpp + ../crc16_ccitt.h.t.cpp + ../crc16_cdma2000.h.t.cpp + ../crc16_dds110.h.t.cpp + ../crc16_dectr.h.t.cpp + ../crc16_dectx.h.t.cpp + ../crc16_dnp.h.t.cpp + ../crc16_en13757.h.t.cpp + ../crc16_genibus.h.t.cpp + ../crc16_kermit.h.t.cpp + ../crc16_m17.h.t.cpp + ../crc16_maxim.h.t.cpp + ../crc16_mcrf4xx.h.t.cpp + ../crc16_modbus.h.t.cpp + ../crc16_profibus.h.t.cpp + ../crc16_riello.h.t.cpp + ../crc16_t10dif.h.t.cpp + ../crc16_teledisk.h.t.cpp + ../crc16_tms37157.h.t.cpp + ../crc16_usb.h.t.cpp + ../crc16_x25.h.t.cpp + ../crc16_xmodem.h.t.cpp + ../crc32.h.t.cpp + ../crc32_bzip2.h.t.cpp + ../crc32_c.h.t.cpp + ../crc32_d.h.t.cpp + ../crc32_jamcrc.h.t.cpp + ../crc32_mpeg2.h.t.cpp + ../crc32_posix.h.t.cpp + ../crc32_q.h.t.cpp + ../crc32_xfer.h.t.cpp + ../crc64_ecma.h.t.cpp + ../crc8_ccitt.h.t.cpp + ../crc8_cdma2000.h.t.cpp + ../crc8_darc.h.t.cpp + ../crc8_dvbs2.h.t.cpp + ../crc8_ebu.h.t.cpp + ../crc8_icode.h.t.cpp + ../crc8_itu.h.t.cpp + ../crc8_j1850.h.t.cpp + ../crc8_j1850_zero.h.t.cpp + ../crc8_maxim.h.t.cpp + ../crc8_rohc.h.t.cpp + ../crc8_wcdma.h.t.cpp + ../cyclic_value.h.t.cpp + ../debounce.h.t.cpp + ../debug_count.h.t.cpp + ../delegate.h.t.cpp + ../delegate_service.h.t.cpp + ../deque.h.t.cpp + ../endianness.h.t.cpp + ../enum_type.h.t.cpp + ../error_handler.h.t.cpp + ../exception.h.t.cpp + ../expected.h.t.cpp + ../factorial.h.t.cpp + ../fibonacci.h.t.cpp + ../file_error_numbers.h.t.cpp + ../fixed_iterator.h.t.cpp + ../fixed_sized_memory_block_allocator.h.t.cpp + ../flags.h.t.cpp + ../flat_map.h.t.cpp + ../flat_multimap.h.t.cpp + ../flat_multiset.h.t.cpp + ../flat_set.h.t.cpp + ../fnv_1.h.t.cpp + ../format_spec.h.t.cpp + ../forward_list.h.t.cpp + ../frame_check_sequence.h.t.cpp + ../fsm.h.t.cpp + ../function.h.t.cpp + ../functional.h.t.cpp + ../gamma.h.t.cpp + ../gcd.h.t.cpp + ../generic_pool.h.t.cpp + ../hash.h.t.cpp + ../hfsm.h.t.cpp + ../histogram.h.t.cpp + ../ihash.h.t.cpp + ../imemory_block_allocator.h.t.cpp + ../indirect_vector.h.t.cpp + ../initializer_list.h.t.cpp + ../instance_count.h.t.cpp + ../integral_limits.h.t.cpp + ../intrusive_forward_list.h.t.cpp + ../intrusive_links.h.t.cpp + ../intrusive_list.h.t.cpp + ../intrusive_queue.h.t.cpp + ../intrusive_stack.h.t.cpp + ../invert.h.t.cpp + ../io_port.h.t.cpp + ../ipool.h.t.cpp + ../ireference_counted_message_pool.h.t.cpp + ../iterator.h.t.cpp + ../jenkins.h.t.cpp + ../largest.h.t.cpp + ../lcm.h.t.cpp + ../limiter.h.t.cpp + ../limits.h.t.cpp + ../list.h.t.cpp + ../log.h.t.cpp + ../macros.h.t.cpp + ../map.h.t.cpp + ../math.h.t.cpp + ../math_constants.h.t.cpp + ../mean.h.t.cpp + ../memory.h.t.cpp + ../memory_model.h.t.cpp + ../mem_cast.h.t.cpp + ../message.h.t.cpp + ../message_broker.h.t.cpp + ../message_bus.h.t.cpp + ../message_packet.h.t.cpp + ../message_router.h.t.cpp + ../message_router_registry.h.t.cpp + ../message_timer.h.t.cpp + ../message_timer_atomic.h.t.cpp + ../message_timer_interrupt.h.t.cpp + ../message_timer_locked.h.t.cpp + ../message_types.h.t.cpp + ../multimap.h.t.cpp + ../multiset.h.t.cpp + ../multi_array.h.t.cpp + ../multi_range.h.t.cpp + ../multi_span.h.t.cpp + ../multi_vector.h.t.cpp + ../murmur3.h.t.cpp + ../mutex.h.t.cpp + ../negative.h.t.cpp + ../nth_type.h.t.cpp + ../nullptr.h.t.cpp + ../null_type.h.t.cpp + ../numeric.h.t.cpp + ../observer.h.t.cpp + ../optional.h.t.cpp + ../overload.h.t.cpp + ../packet.h.t.cpp + ../parameter_pack.h.t.cpp + ../parameter_type.h.t.cpp + ../pearson.h.t.cpp + ../permutations.h.t.cpp + ../placement_new.h.t.cpp + ../platform.h.t.cpp + ../poly_span.h.t.cpp + ../pool.h.t.cpp + ../power.h.t.cpp + ../priority_queue.h.t.cpp + ../pseudo_moving_average.h.t.cpp + ../quantize.h.t.cpp + ../queue.h.t.cpp + ../queue_lockable.h.t.cpp + ../queue_mpmc_mutex.h.t.cpp + ../queue_spsc_atomic.h.t.cpp + ../queue_spsc_isr.h.t.cpp + ../queue_spsc_locked.h.t.cpp + ../radix.h.t.cpp + ../random.h.t.cpp + ../ratio.h.t.cpp + ../reference_counted_message.h.t.cpp + ../reference_counted_message_pool.h.t.cpp + ../reference_counted_object.h.t.cpp + ../reference_flat_map.h.t.cpp + ../reference_flat_multimap.h.t.cpp + ../reference_flat_multiset.h.t.cpp + ../reference_flat_set.h.t.cpp + ../rescale.h.t.cpp + ../result.h.t.cpp + ../rms.h.t.cpp + ../scaled_rounding.h.t.cpp + ../scheduler.h.t.cpp + ../set.h.t.cpp + ../shared_message.h.t.cpp + ../singleton.h.t.cpp + ../smallest.h.t.cpp + ../span.h.t.cpp + ../sqrt.h.t.cpp + ../stack.h.t.cpp + ../standard_deviation.h.t.cpp + ../state_chart.h.t.cpp + ../static_assert.h.t.cpp + ../string.h.t.cpp + ../stringify.h.t.cpp + ../string_stream.h.t.cpp + ../string_utilities.h.t.cpp + ../string_view.h.t.cpp + ../successor.h.t.cpp + ../task.h.t.cpp + ../threshold.h.t.cpp + ../timer.h.t.cpp + ../to_arithmetic.h.t.cpp + ../to_string.h.t.cpp + ../to_u16string.h.t.cpp + ../to_u32string.h.t.cpp + ../to_u8string.h.t.cpp + ../to_wstring.h.t.cpp + ../type_def.h.t.cpp + ../type_lookup.h.t.cpp + ../type_select.h.t.cpp + ../type_traits.h.t.cpp + ../u16format_spec.h.t.cpp + ../u16string.h.t.cpp + ../u16string_stream.h.t.cpp + ../u32format_spec.h.t.cpp + ../u32string.h.t.cpp + ../u32string_stream.h.t.cpp + ../u8format_spec.h.t.cpp + ../u8string.h.t.cpp + ../u8string_stream.h.t.cpp + ../unaligned_type.h.t.cpp + ../unordered_map.h.t.cpp + ../unordered_multimap.h.t.cpp + ../unordered_multiset.h.t.cpp + ../unordered_set.h.t.cpp + ../user_type.h.t.cpp + ../utility.h.t.cpp + ../variance.h.t.cpp + ../variant.h.t.cpp + ../variant_pool.h.t.cpp + ../vector.h.t.cpp + ../version.h.t.cpp + ../visitor.h.t.cpp + ../wformat_spec.h.t.cpp + ../wstring.h.t.cpp + ../wstring_stream.h.t.cpp ) diff --git a/test/syntax_check/crc1.h.t.cpp b/test/syntax_check/crc1.h.t.cpp new file mode 100644 index 00000000..a9a4f866 --- /dev/null +++ b/test/syntax_check/crc1.h.t.cpp @@ -0,0 +1,29 @@ +/****************************************************************************** +The MIT License(MIT) + +Embedded Template Library. +https://github.com/ETLCPP/etl +https://www.etlcpp.com + +Copyright(c) 2024 John Wellbelove + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files(the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and / or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions : + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +******************************************************************************/ + +#include diff --git a/test/syntax_check/crc8_ccitt.h.t.cpp b/test/syntax_check/crc8_ccitt.h.t.cpp index 70b4edc4..745f5d2c 100644 --- a/test/syntax_check/crc8_ccitt.h.t.cpp +++ b/test/syntax_check/crc8_ccitt.h.t.cpp @@ -5,7 +5,7 @@ Embedded Template Library. https://github.com/ETLCPP/etl https://www.etlcpp.com -Copyright(c) 2021 Bo Rydberg +Copyright(c) 2024 John Wellbelove Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files(the "Software"), to deal diff --git a/test/syntax_check/hfsm.h.t.cpp b/test/syntax_check/hfsm.h.t.cpp new file mode 100644 index 00000000..966203ff --- /dev/null +++ b/test/syntax_check/hfsm.h.t.cpp @@ -0,0 +1,29 @@ +/****************************************************************************** +The MIT License(MIT) + +Embedded Template Library. +https://github.com/ETLCPP/etl +https://www.etlcpp.com + +Copyright(c) 2024 John Wellbelove + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files(the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and / or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions : + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +******************************************************************************/ + +#include diff --git a/test/syntax_check/result.h.t.cpp b/test/syntax_check/result.h.t.cpp new file mode 100644 index 00000000..493c92f3 --- /dev/null +++ b/test/syntax_check/result.h.t.cpp @@ -0,0 +1,29 @@ +/****************************************************************************** +The MIT License(MIT) + +Embedded Template Library. +https://github.com/ETLCPP/etl +https://www.etlcpp.com + +Copyright(c) 2024 John Wellbelove + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files(the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and / or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions : + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +******************************************************************************/ + +#include diff --git a/test/syntax_check/stringify.h.t.cpp b/test/syntax_check/stringify.h.t.cpp new file mode 100644 index 00000000..313a0520 --- /dev/null +++ b/test/syntax_check/stringify.h.t.cpp @@ -0,0 +1,29 @@ +/****************************************************************************** +The MIT License(MIT) + +Embedded Template Library. +https://github.com/ETLCPP/etl +https://www.etlcpp.com + +Copyright(c) 2024 John Wellbelove + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files(the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and / or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions : + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +******************************************************************************/ + +#include diff --git a/test/test_mem_type.cpp b/test/test_mem_type.cpp deleted file mode 100644 index b0d1db30..00000000 --- a/test/test_mem_type.cpp +++ /dev/null @@ -1,88 +0,0 @@ -/****************************************************************************** -The MIT License(MIT) - -Embedded Template Library. -https://github.com/ETLCPP/etl -https://www.etlcpp.com - -Copyright(c) 2021 jwellbelove - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files(the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and / or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions : - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. -******************************************************************************/ - -#include "unit_test_framework.h" - -#include "etl/experimental/mem_type.h" -#include "etl/largest.h" - -#include -#include -#include -#include - -namespace -{ - struct Data - { - char c; - short s; - std::array a; - }; - - // Test variant types. - using MemType = etl::mem_type::size, - etl::largest::alignment>; - - SUITE(test_mem_type) - { - TEST(test_alignment) - { - MemType memType; - - CHECK(alignof(char) <= MemType::Alignment); - CHECK(alignof(short) <= MemType::Alignment); - CHECK(alignof(Data) <= MemType::Alignment); - - CHECK(alignof(char) <= memType.Alignment); - CHECK(alignof(short) <= memType.Alignment); - CHECK(alignof(Data) <= memType.Alignment); - - CHECK(alignof(char) <= memType.alignment()); - CHECK(alignof(short) <= memType.alignment()); - CHECK(alignof(Data) <= memType.alignment()); - } - - TEST(test_size) - { - MemType memType; - - CHECK(sizeof(char) <= MemType::Size); - CHECK(sizeof(short) <= MemType::Size); - CHECK(sizeof(Data) <= MemType::Size); - - CHECK(sizeof(char) <= memType.Size); - CHECK(sizeof(short) <= memType.Size); - CHECK(sizeof(Data) <= memType.Size); - - CHECK(sizeof(char) <= memType.size()); - CHECK(sizeof(short) <= memType.size()); - CHECK(sizeof(Data) <= memType.size()); - } - }; -} diff --git a/test/test_overload.cpp b/test/test_overload.cpp index 68da87db..298c8c32 100644 --- a/test/test_overload.cpp +++ b/test/test_overload.cpp @@ -61,9 +61,9 @@ namespace struct Visitor { - void operator ()(int i) { result.bi = true; } - void operator ()(double d) { result.bd = true; } - void operator ()(const std::string& s) { result.bs = true; } + void operator ()(int) { result.bi = true; } + void operator ()(double) { result.bd = true; } + void operator ()(const std::string&) { result.bs = true; } }; template @@ -77,18 +77,18 @@ namespace //************************************************************************* TEST(test_overload_lambdas_make_overload) { - auto overload = etl::make_overload([](int i) { result.bi = true; }, - [](double d) { result.bd = true; }, - [](const std::string& s) { result.bs = true; }); + auto overload = etl::make_overload([](int) { result.bi = true; }, + [](double) { result.bd = true; }, + [](const std::string&) { result.bs = true; }); result.clear(); - Function(int(1), overload); + Function(1, overload); CHECK(result.bi == true); CHECK(result.bd == false); CHECK(result.bs == false); result.clear(); - Function(double(2.0), overload); + Function(2.0, overload); CHECK(result.bi == false); CHECK(result.bd == true); CHECK(result.bs == false); @@ -105,22 +105,22 @@ namespace TEST(test_overload_lambdas_initializer_list) { result.clear(); - Function(int(1), etl::overload + Function(1, etl::overload { - [](int i) { result.bi = true; }, - [](double d) { result.bd = true; }, - [](const std::string& s) { result.bs = true; } + [](int) { result.bi = true; }, + [](double) { result.bd = true; }, + [](const std::string&) { result.bs = true; } }); CHECK(result.bi == true); CHECK(result.bd == false); CHECK(result.bs == false); result.clear(); - Function(double(2.0), etl::overload + Function(2.0, etl::overload { - [](int i) { result.bi = true; }, - [](double d) { result.bd = true; }, - [](const std::string& s) { result.bs = true; } + [](int) { result.bi = true; }, + [](double) { result.bd = true; }, + [](const std::string&) { result.bs = true; } }); CHECK(result.bi == false); CHECK(result.bd == true); @@ -129,9 +129,9 @@ namespace result.clear(); Function(std::string("3"), etl::overload { - [](int i) { result.bi = true; }, - [](double d) { result.bd = true; }, - [](const std::string& s) { result.bs = true; } + [](int) { result.bi = true; }, + [](double) { result.bd = true; }, + [](const std::string&) { result.bs = true; } }); CHECK(result.bi == false); CHECK(result.bd == false); @@ -145,13 +145,13 @@ namespace auto overload = etl::make_overload(Visitor()); result.clear(); - Function(int(1), overload); + Function(1, overload); CHECK(result.bi == true); CHECK(result.bd == false); CHECK(result.bs == false); result.clear(); - Function(double(2.0), overload); + Function(2.0, overload); CHECK(result.bi == false); CHECK(result.bd == true); CHECK(result.bs == false); diff --git a/test/vs2022/etl.vcxproj b/test/vs2022/etl.vcxproj index c0aa5d92..7506cfa1 100644 --- a/test/vs2022/etl.vcxproj +++ b/test/vs2022/etl.vcxproj @@ -3818,6 +3818,62 @@ true true + + true + true + true + true + true + true + true + true + true + true + true + true + true + true + true + true + true + true + true + true + true + true + true + true + true + true + + + true + true + true + true + true + true + true + true + true + true + true + true + true + true + true + true + true + true + true + true + true + true + true + true + true + true + true true @@ -3908,6 +3964,34 @@ true true + + true + true + true + true + true + true + true + true + true + true + true + true + true + true + true + true + true + true + true + true + true + true + true + true + true + true + true true @@ -4268,6 +4352,34 @@ true true + + true + true + true + true + true + true + true + true + true + true + true + true + true + true + true + true + true + true + true + true + true + true + true + true + true + true + true true @@ -5483,6 +5595,34 @@ true true + + true + true + true + true + true + true + true + true + true + true + true + true + true + true + true + true + true + true + true + true + true + true + true + true + true + true + true true @@ -6818,6 +6958,34 @@ true true + + true + true + true + true + true + true + true + true + true + true + true + true + true + true + true + true + true + true + true + true + true + true + true + true + true + true + true true @@ -7028,6 +7196,34 @@ true true + + true + true + true + true + true + true + true + true + true + true + true + true + true + true + true + true + true + true + true + true + true + true + true + true + true + true + true true @@ -8857,6 +9053,9 @@ + + + diff --git a/test/vs2022/etl.vcxproj.filters b/test/vs2022/etl.vcxproj.filters index 37ae37e6..2da095b9 100644 --- a/test/vs2022/etl.vcxproj.filters +++ b/test/vs2022/etl.vcxproj.filters @@ -3365,6 +3365,27 @@ Tests\Codecs\Base64 + + Tests\Syntax Checks\Source + + + Tests\Syntax Checks\Source + + + Tests\Syntax Checks\Source + + + Tests\Syntax Checks\Source + + + Tests\Syntax Checks\Source + + + Tests\Syntax Checks\Source + + + Tests\Syntax Checks\Source + @@ -3511,6 +3532,15 @@ Resource Files\CI\Github + + Tests\Scripts + + + Tests\Scripts + + + Tests\Scripts +