LCOV - code coverage report
Current view: top level - zephyr/sys - check.h Coverage Total Hit
Test: new.info Lines: 0.0 % 2 0
Test Date: 2025-09-05 16:43:28

            Line data    Source code
       1            0 : /*
       2              :  * Copyright (c) 2019 Intel Corporation
       3              :  *
       4              :  * SPDX-License-Identifier: Apache-2.0
       5              :  */
       6              : 
       7              : 
       8              : #ifndef ZEPHYR_INCLUDE_SYS_CHECK_H_
       9              : #define ZEPHYR_INCLUDE_SYS_CHECK_H_
      10              : 
      11              : #include <zephyr/sys/__assert.h>
      12              : 
      13              : #if defined(CONFIG_ASSERT_ON_ERRORS)
      14              : #define CHECKIF(expr) \
      15              :         __ASSERT_NO_MSG(!(expr));   \
      16              :         if (0)
      17              : #elif defined(CONFIG_NO_RUNTIME_CHECKS)
      18              : #define CHECKIF(...) \
      19              :         if (0)
      20              : #else
      21            0 : #define CHECKIF(expr) \
      22              :         if (expr)
      23              : #endif
      24              : 
      25              : 
      26              : #endif /* ZEPHYR_INCLUDE_SYS_CHECK_H_ */
        

Generated by: LCOV version 2.0-1