Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-18 09:54:06

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 #ifndef CATCH_UNIQUE_NAME_HPP_INCLUDED
0009 #define CATCH_UNIQUE_NAME_HPP_INCLUDED
0010 
0011 #include <catch2/internal/catch_config_counter.hpp>
0012 #define INTERNAL_CATCH_UNIQUE_NAME_LINE2( name, line ) name##line
0013 #define INTERNAL_CATCH_UNIQUE_NAME_LINE( name, line ) INTERNAL_CATCH_UNIQUE_NAME_LINE2( name, line )
0014 #ifdef CATCH_CONFIG_COUNTER
0015 #  define INTERNAL_CATCH_UNIQUE_NAME( name ) INTERNAL_CATCH_UNIQUE_NAME_LINE( name, __COUNTER__ )
0016 #else
0017 #  define INTERNAL_CATCH_UNIQUE_NAME( name ) INTERNAL_CATCH_UNIQUE_NAME_LINE( name, __LINE__ )
0018 #endif
0019 
0020 #endif // CATCH_UNIQUE_NAME_HPP_INCLUDED