File indexing completed on 2025-01-18 09:54:06
0001
0002
0003
0004
0005
0006
0007
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