|
||||
File indexing completed on 2025-01-18 09:54:05
0001 0002 // Copyright Catch2 Authors 0003 // Distributed under the Boost Software License, Version 1.0. 0004 // (See accompanying file LICENSE.txt or copy at 0005 // https://www.boost.org/LICENSE_1_0.txt) 0006 0007 // SPDX-License-Identifier: BSL-1.0 0008 0009 /** \file 0010 * Wrapper for the CONFIG configuration option 0011 * 0012 * When generating internal unique names, there are two options. Either 0013 * we mix in the current line number, or mix in an incrementing number. 0014 * We prefer the latter, using `__COUNTER__`, but users might want to 0015 * use the former. 0016 */ 0017 0018 #ifndef CATCH_CONFIG_COUNTER_HPP_INCLUDED 0019 #define CATCH_CONFIG_COUNTER_HPP_INCLUDED 0020 0021 #include <catch2/catch_user_config.hpp> 0022 0023 #if ( !defined(__JETBRAINS_IDE__) || __JETBRAINS_IDE__ >= 20170300L ) 0024 #define CATCH_INTERNAL_CONFIG_COUNTER 0025 #endif 0026 0027 #if defined( CATCH_INTERNAL_CONFIG_COUNTER ) && \ 0028 !defined( CATCH_CONFIG_NO_COUNTER ) && \ 0029 !defined( CATCH_CONFIG_COUNTER ) 0030 # define CATCH_CONFIG_COUNTER 0031 #endif 0032 0033 0034 #endif // CATCH_CONFIG_COUNTER_HPP_INCLUDED
[ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
This page was automatically generated by the 2.3.7 LXR engine. The LXR team |