/ externals / catch / src / catch2 / internal / catch_preprocessor_internal_stringify.hpp
catch_preprocessor_internal_stringify.hpp
 1  
 2  //              Copyright Catch2 Authors
 3  // Distributed under the Boost Software License, Version 1.0.
 4  //   (See accompanying file LICENSE.txt or copy at
 5  //        https://www.boost.org/LICENSE_1_0.txt)
 6  
 7  // SPDX-License-Identifier: BSL-1.0
 8  #ifndef CATCH_PREPROCESSOR_INTERNAL_STRINGIFY_HPP_INCLUDED
 9  #define CATCH_PREPROCESSOR_INTERNAL_STRINGIFY_HPP_INCLUDED
10  
11  #include <catch2/catch_user_config.hpp>
12  
13  #if !defined(CATCH_CONFIG_DISABLE_STRINGIFICATION)
14    #define CATCH_INTERNAL_STRINGIFY(...) #__VA_ARGS__##_catch_sr
15  #else
16    #define CATCH_INTERNAL_STRINGIFY(...) "Disabled by CATCH_CONFIG_DISABLE_STRINGIFICATION"_catch_sr
17  #endif
18  
19  #endif // CATCH_PREPROCESSOR_INTERNAL_STRINGIFY_HPP_INCLUDED