mirror of
https://github.com/ETLCPP/etl.git
synced 2026-06-15 08:26:04 +08:00
Remove unnecessary includes (#1434)
Co-authored-by: John Wellbelove <jwellbelove@users.noreply.github.com>
This commit is contained in:
parent
fdfd17a1c2
commit
e8206cca83
@ -51,7 +51,7 @@ SOFTWARE.
|
||||
#include "type_traits.h"
|
||||
#include "utility.h"
|
||||
|
||||
#include <stdint.h>
|
||||
#include <stddef.h>
|
||||
#include <string.h>
|
||||
|
||||
#include "private/minmax_push.h"
|
||||
|
||||
@ -35,10 +35,7 @@ SOFTWARE.
|
||||
#include "algorithm.h"
|
||||
#include "error_handler.h"
|
||||
#include "exception.h"
|
||||
#include "functional.h"
|
||||
#include "initializer_list.h"
|
||||
#include "iterator.h"
|
||||
#include "nth_type.h"
|
||||
#include "parameter_type.h"
|
||||
#include "static_assert.h"
|
||||
#include "type_traits.h"
|
||||
|
||||
@ -31,11 +31,8 @@ SOFTWARE.
|
||||
#include "error_handler.h"
|
||||
#include "exception.h"
|
||||
#include "integral_limits.h"
|
||||
#include "static_assert.h"
|
||||
#include "type_traits.h"
|
||||
|
||||
#include <stdint.h>
|
||||
|
||||
/**************************************************************************************************************************************************************************
|
||||
* See https://en.wikipedia.org/wiki/Base64
|
||||
*
|
||||
|
||||
@ -34,7 +34,6 @@ SOFTWARE.
|
||||
///\ingroup string
|
||||
|
||||
#include "platform.h"
|
||||
#include "static_assert.h"
|
||||
#include "type_traits.h"
|
||||
#include "utility.h"
|
||||
|
||||
|
||||
@ -39,7 +39,6 @@ SOFTWARE.
|
||||
#include "error_handler.h"
|
||||
#include "exception.h"
|
||||
#include "flags.h"
|
||||
#include "functional.h"
|
||||
#include "integral_limits.h"
|
||||
#include "iterator.h"
|
||||
#include "memory.h"
|
||||
|
||||
@ -51,7 +51,6 @@ SOFTWARE.
|
||||
#include "utility.h"
|
||||
|
||||
#include <stddef.h>
|
||||
#include <stdint.h>
|
||||
|
||||
#if ETL_HAS_ATOMIC
|
||||
|
||||
|
||||
@ -33,10 +33,10 @@ SOFTWARE.
|
||||
|
||||
#include "platform.h"
|
||||
#include "iterator.h"
|
||||
#include "static_assert.h"
|
||||
#include "type_traits.h"
|
||||
#include "utility.h"
|
||||
|
||||
#include <stddef.h>
|
||||
#include <stdint.h>
|
||||
|
||||
namespace etl
|
||||
|
||||
@ -36,10 +36,9 @@ SOFTWARE.
|
||||
#include "array.h"
|
||||
#include "cyclic_value.h"
|
||||
#include "delegate.h"
|
||||
#include "static_assert.h"
|
||||
#include "type_traits.h"
|
||||
|
||||
#include <cstring>
|
||||
#include <stddef.h>
|
||||
|
||||
#if ETL_USING_CPP11
|
||||
|
||||
|
||||
@ -40,13 +40,11 @@ SOFTWARE.
|
||||
#include "integral_limits.h"
|
||||
#include "iterator.h"
|
||||
#include "memory.h"
|
||||
#include "nullptr.h"
|
||||
#include "optional.h"
|
||||
#include "span.h"
|
||||
#include "type_traits.h"
|
||||
|
||||
#include <limits.h>
|
||||
#include <stdint.h>
|
||||
#include <stddef.h>
|
||||
|
||||
namespace etl
|
||||
{
|
||||
|
||||
@ -33,8 +33,6 @@ SOFTWARE.
|
||||
#include "algorithm.h"
|
||||
#include "delegate.h"
|
||||
#include "error_handler.h"
|
||||
#include "function.h"
|
||||
#include "nullptr.h"
|
||||
#include "placement_new.h"
|
||||
#include "static_assert.h"
|
||||
#include "timer.h"
|
||||
|
||||
@ -33,7 +33,6 @@ SOFTWARE.
|
||||
#include "algorithm.h"
|
||||
#include "delegate.h"
|
||||
#include "error_handler.h"
|
||||
#include "nullptr.h"
|
||||
#include "placement_new.h"
|
||||
#include "static_assert.h"
|
||||
#include "timer.h"
|
||||
|
||||
@ -33,7 +33,6 @@ SOFTWARE.
|
||||
#include "algorithm.h"
|
||||
#include "delegate.h"
|
||||
#include "error_handler.h"
|
||||
#include "nullptr.h"
|
||||
#include "placement_new.h"
|
||||
#include "static_assert.h"
|
||||
#include "timer.h"
|
||||
|
||||
@ -34,6 +34,4 @@ SOFTWARE.
|
||||
#include "platform.h"
|
||||
#include "iterator.h"
|
||||
|
||||
#include <stddef.h>
|
||||
|
||||
#endif
|
||||
|
||||
@ -38,11 +38,8 @@ SOFTWARE.
|
||||
#include "platform.h"
|
||||
#include "algorithm.h"
|
||||
#include "exception.h"
|
||||
#include "static_assert.h"
|
||||
#include "type_traits.h"
|
||||
|
||||
#include <stddef.h>
|
||||
|
||||
namespace etl
|
||||
{
|
||||
//***************************************************************************
|
||||
|
||||
@ -32,9 +32,6 @@ SOFTWARE.
|
||||
#define ETL_DEBOUNCE_INCLUDED
|
||||
|
||||
#include "platform.h"
|
||||
#include "static_assert.h"
|
||||
|
||||
#include <stdint.h>
|
||||
|
||||
namespace etl
|
||||
{
|
||||
|
||||
@ -34,9 +34,10 @@ SOFTWARE.
|
||||
#include "platform.h"
|
||||
#include "array.h"
|
||||
#include "delegate.h"
|
||||
#include "nullptr.h"
|
||||
#include "static_assert.h"
|
||||
|
||||
#include <stddef.h>
|
||||
|
||||
namespace etl
|
||||
{
|
||||
//***************************************************************************
|
||||
|
||||
@ -44,7 +44,6 @@ SOFTWARE.
|
||||
#include "utility.h"
|
||||
|
||||
#include <stddef.h>
|
||||
#include <stdint.h>
|
||||
|
||||
#include "private/minmax_push.h"
|
||||
|
||||
|
||||
@ -39,8 +39,6 @@ SOFTWARE.
|
||||
#include "type_traits.h"
|
||||
|
||||
#include <stddef.h>
|
||||
#include <stdint.h>
|
||||
#include <string.h>
|
||||
|
||||
namespace etl
|
||||
{
|
||||
|
||||
@ -34,7 +34,6 @@ SOFTWARE.
|
||||
#include "platform.h"
|
||||
#include "frame_check_sequence.h"
|
||||
#include "ihash.h"
|
||||
#include "static_assert.h"
|
||||
#include "type_traits.h"
|
||||
|
||||
#include <stdint.h>
|
||||
|
||||
@ -36,7 +36,6 @@ SOFTWARE.
|
||||
#include "type_traits.h"
|
||||
|
||||
#include <math.h>
|
||||
#include <stdint.h>
|
||||
|
||||
namespace etl
|
||||
{
|
||||
|
||||
@ -36,8 +36,6 @@ SOFTWARE.
|
||||
#include "exception.h"
|
||||
#include "utility.h"
|
||||
|
||||
#include <stdint.h>
|
||||
|
||||
///\defgroup ihash Common data for all hash type classes.
|
||||
///\ingroup hash
|
||||
|
||||
|
||||
@ -31,7 +31,8 @@ SOFTWARE.
|
||||
|
||||
#include "platform.h"
|
||||
#include "integral_limits.h"
|
||||
#include "static_assert.h"
|
||||
|
||||
#include <stddef.h>
|
||||
|
||||
namespace etl
|
||||
{
|
||||
|
||||
@ -35,7 +35,6 @@ SOFTWARE.
|
||||
#include "type_traits.h"
|
||||
|
||||
#include <limits.h>
|
||||
#include <stddef.h>
|
||||
|
||||
#include "private/minmax_push.h"
|
||||
|
||||
|
||||
@ -39,7 +39,7 @@ SOFTWARE.
|
||||
#include "type_traits.h"
|
||||
#include "utility.h"
|
||||
|
||||
#include <assert.h>
|
||||
#include <stddef.h>
|
||||
|
||||
//*****************************************************************************
|
||||
// Note:
|
||||
|
||||
@ -35,8 +35,6 @@ SOFTWARE.
|
||||
#include "functional.h"
|
||||
#include "limits.h"
|
||||
|
||||
#include <stdint.h>
|
||||
|
||||
namespace etl
|
||||
{
|
||||
//***************************************************************************
|
||||
|
||||
@ -37,9 +37,10 @@ SOFTWARE.
|
||||
#include "iterator.h"
|
||||
#include "memory.h"
|
||||
#include "placement_new.h"
|
||||
#include "static_assert.h"
|
||||
#include "utility.h"
|
||||
|
||||
#include <stddef.h>
|
||||
|
||||
#define ETL_POOL_CPP03_CODE 0
|
||||
|
||||
namespace etl
|
||||
|
||||
@ -36,7 +36,6 @@ SOFTWARE.
|
||||
#include "frame_check_sequence.h"
|
||||
#include "ihash.h"
|
||||
#include "iterator.h"
|
||||
#include "static_assert.h"
|
||||
#include "type_traits.h"
|
||||
|
||||
#include <stdint.h>
|
||||
|
||||
@ -36,8 +36,6 @@ SOFTWARE.
|
||||
#include "functional.h"
|
||||
#include "type_traits.h"
|
||||
|
||||
#include <stdint.h>
|
||||
|
||||
namespace etl
|
||||
{
|
||||
namespace private_limiter
|
||||
|
||||
@ -43,7 +43,6 @@ SOFTWARE.
|
||||
#include <float.h>
|
||||
#include <limits.h>
|
||||
#include <math.h>
|
||||
#include <stdint.h>
|
||||
|
||||
#include "private/minmax_push.h"
|
||||
|
||||
|
||||
@ -42,7 +42,6 @@ SOFTWARE.
|
||||
|
||||
#include "private/addressof.h"
|
||||
|
||||
#include <assert.h>
|
||||
#include <string.h>
|
||||
|
||||
#if defined(ETL_IN_UNIT_TEST) || ETL_USING_STL
|
||||
|
||||
@ -36,8 +36,6 @@ SOFTWARE.
|
||||
#include "static_assert.h"
|
||||
#include "type_traits.h"
|
||||
|
||||
#include <stdint.h>
|
||||
|
||||
namespace etl
|
||||
{
|
||||
//***************************************************************************
|
||||
|
||||
@ -36,8 +36,6 @@ SOFTWARE.
|
||||
#include "nullptr.h"
|
||||
#include "span.h"
|
||||
|
||||
#include <stdint.h>
|
||||
|
||||
namespace etl
|
||||
{
|
||||
//***************************************************************************
|
||||
|
||||
@ -36,10 +36,9 @@ SOFTWARE.
|
||||
#include "message.h"
|
||||
#include "message_router.h"
|
||||
#include "message_types.h"
|
||||
#include "nullptr.h"
|
||||
#include "vector.h"
|
||||
|
||||
#include <stdint.h>
|
||||
#include <stddef.h>
|
||||
|
||||
namespace etl
|
||||
{
|
||||
|
||||
@ -39,8 +39,6 @@ SOFTWARE.
|
||||
#include "type_list.h"
|
||||
#include "utility.h"
|
||||
|
||||
#include <stdint.h>
|
||||
|
||||
namespace etl
|
||||
{
|
||||
#if ETL_USING_CPP17 && !defined(ETL_MESSAGE_PACKET_FORCE_CPP03_IMPLEMENTATION)
|
||||
|
||||
@ -38,14 +38,12 @@ SOFTWARE.
|
||||
#include "message.h"
|
||||
#include "message_packet.h"
|
||||
#include "message_types.h"
|
||||
#include "nullptr.h"
|
||||
#include "placement_new.h"
|
||||
#include "shared_message.h"
|
||||
#include "successor.h"
|
||||
#include "type_list.h"
|
||||
#include "type_traits.h"
|
||||
|
||||
#include <stdint.h>
|
||||
#include <stddef.h>
|
||||
|
||||
namespace etl
|
||||
{
|
||||
|
||||
@ -38,7 +38,7 @@ SOFTWARE.
|
||||
#include "memory.h"
|
||||
#include "message_router.h"
|
||||
|
||||
#include <stdint.h>
|
||||
#include <stddef.h>
|
||||
|
||||
namespace etl
|
||||
{
|
||||
|
||||
@ -35,7 +35,6 @@ SOFTWARE.
|
||||
#include "error_handler.h"
|
||||
#include "exception.h"
|
||||
#include "memory.h"
|
||||
#include "static_assert.h"
|
||||
#include "type_traits.h"
|
||||
|
||||
namespace etl
|
||||
|
||||
@ -32,7 +32,7 @@ SOFTWARE.
|
||||
#include "platform.h"
|
||||
#include "type_traits.h"
|
||||
|
||||
#include <stdint.h>
|
||||
#include <stddef.h>
|
||||
|
||||
#if ETL_CPP11_SUPPORTED
|
||||
namespace etl
|
||||
|
||||
@ -35,8 +35,9 @@ SOFTWARE.
|
||||
#include "functional.h"
|
||||
#include "type_traits.h"
|
||||
|
||||
#include <stddef.h>
|
||||
|
||||
////#include <math.h>
|
||||
#include <stdint.h>
|
||||
|
||||
namespace etl
|
||||
{
|
||||
|
||||
@ -44,7 +44,6 @@ SOFTWARE.
|
||||
#include "utility.h"
|
||||
|
||||
#include <stddef.h>
|
||||
#include <stdint.h>
|
||||
|
||||
//*****************************************************************************
|
||||
///\defgroup queue queue
|
||||
|
||||
@ -32,7 +32,6 @@ SOFTWARE.
|
||||
#define ETL_QUEUE_LOCKABLE_INCLUDED
|
||||
|
||||
#include "platform.h"
|
||||
#include "function.h"
|
||||
#include "integral_limits.h"
|
||||
#include "memory.h"
|
||||
#include "memory_model.h"
|
||||
@ -42,7 +41,6 @@ SOFTWARE.
|
||||
#include "utility.h"
|
||||
|
||||
#include <stddef.h>
|
||||
#include <stdint.h>
|
||||
|
||||
namespace etl
|
||||
{
|
||||
|
||||
@ -41,7 +41,6 @@ SOFTWARE.
|
||||
#include "utility.h"
|
||||
|
||||
#include <stddef.h>
|
||||
#include <stdint.h>
|
||||
|
||||
#if ETL_HAS_ATOMIC
|
||||
|
||||
|
||||
@ -41,7 +41,6 @@ SOFTWARE.
|
||||
#include "utility.h"
|
||||
|
||||
#include <stddef.h>
|
||||
#include <stdint.h>
|
||||
|
||||
namespace etl
|
||||
{
|
||||
|
||||
@ -42,7 +42,6 @@ SOFTWARE.
|
||||
#include "utility.h"
|
||||
|
||||
#include <stddef.h>
|
||||
#include <stdint.h>
|
||||
|
||||
namespace etl
|
||||
{
|
||||
|
||||
@ -37,7 +37,6 @@ SOFTWARE.
|
||||
|
||||
#include "type_traits.h"
|
||||
|
||||
#include <stddef.h>
|
||||
#include <stdint.h>
|
||||
|
||||
///\defgroup ratio ratio
|
||||
|
||||
@ -37,7 +37,6 @@ SOFTWARE.
|
||||
#include "type_traits.h"
|
||||
|
||||
// #include <math.h>
|
||||
#include <stdint.h>
|
||||
|
||||
namespace etl
|
||||
{
|
||||
|
||||
@ -33,7 +33,6 @@ SOFTWARE.
|
||||
|
||||
#include "platform.h"
|
||||
#include "absolute.h"
|
||||
#include "static_assert.h"
|
||||
#include "type_traits.h"
|
||||
|
||||
namespace etl
|
||||
|
||||
@ -44,7 +44,6 @@ SOFTWARE.
|
||||
#include "utility.h"
|
||||
|
||||
#include <stddef.h>
|
||||
#include <stdint.h>
|
||||
|
||||
//*****************************************************************************
|
||||
///\defgroup stack stack
|
||||
|
||||
@ -39,7 +39,7 @@ SOFTWARE.
|
||||
#include "optional.h"
|
||||
|
||||
#include <ctype.h>
|
||||
#include <stdint.h>
|
||||
#include <stddef.h>
|
||||
|
||||
#include "private/minmax_push.h"
|
||||
|
||||
|
||||
@ -36,7 +36,6 @@ SOFTWARE.
|
||||
#include "type_traits.h"
|
||||
|
||||
// #include <math.h>
|
||||
#include <stdint.h>
|
||||
|
||||
namespace etl
|
||||
{
|
||||
|
||||
@ -32,10 +32,10 @@ SOFTWARE.
|
||||
#include "platform.h"
|
||||
#include "integral_limits.h"
|
||||
#include "null_type.h"
|
||||
#include "static_assert.h"
|
||||
#include "type_traits.h"
|
||||
|
||||
#include <limits.h>
|
||||
#include <stddef.h>
|
||||
|
||||
namespace etl
|
||||
{
|
||||
//***************************************************************************
|
||||
|
||||
@ -31,8 +31,10 @@ SOFTWARE.
|
||||
|
||||
#include "platform.h"
|
||||
#include "null_type.h"
|
||||
#include "static_assert.h"
|
||||
#include "type_traits.h"
|
||||
|
||||
#include <stddef.h>
|
||||
|
||||
namespace etl
|
||||
{
|
||||
#if ETL_USING_CPP11 && !defined(ETL_TYPE_SELECT_FORCE_CPP03_IMPLEMENTATION)
|
||||
|
||||
@ -43,7 +43,6 @@ SOFTWARE.
|
||||
#include "intrusive_forward_list.h"
|
||||
#include "iterator.h"
|
||||
#include "nth_type.h"
|
||||
#include "nullptr.h"
|
||||
#include "parameter_type.h"
|
||||
#include "placement_new.h"
|
||||
#include "pool.h"
|
||||
|
||||
@ -42,7 +42,6 @@ SOFTWARE.
|
||||
#include "intrusive_forward_list.h"
|
||||
#include "iterator.h"
|
||||
#include "nth_type.h"
|
||||
#include "nullptr.h"
|
||||
#include "parameter_type.h"
|
||||
#include "placement_new.h"
|
||||
#include "pool.h"
|
||||
|
||||
@ -42,7 +42,6 @@ SOFTWARE.
|
||||
#include "intrusive_forward_list.h"
|
||||
#include "iterator.h"
|
||||
#include "nth_type.h"
|
||||
#include "nullptr.h"
|
||||
#include "parameter_type.h"
|
||||
#include "placement_new.h"
|
||||
#include "pool.h"
|
||||
|
||||
@ -42,7 +42,6 @@ SOFTWARE.
|
||||
#include "intrusive_forward_list.h"
|
||||
#include "iterator.h"
|
||||
#include "nth_type.h"
|
||||
#include "nullptr.h"
|
||||
#include "parameter_type.h"
|
||||
#include "placement_new.h"
|
||||
#include "pool.h"
|
||||
|
||||
@ -35,7 +35,7 @@ SOFTWARE.
|
||||
#include "static_assert.h"
|
||||
#include "type_traits.h"
|
||||
|
||||
#include <stdint.h>
|
||||
#include <stddef.h>
|
||||
|
||||
namespace etl
|
||||
{
|
||||
|
||||
@ -40,7 +40,6 @@ SOFTWARE.
|
||||
#include "debug_count.h"
|
||||
#include "error_handler.h"
|
||||
#include "exception.h"
|
||||
#include "functional.h"
|
||||
#include "initializer_list.h"
|
||||
#include "iterator.h"
|
||||
#include "memory.h"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user