diff options
author | somov <[email protected]> | 2022-02-10 16:45:47 +0300 |
---|---|---|
committer | Daniil Cherednik <[email protected]> | 2022-02-10 16:45:47 +0300 |
commit | a5950576e397b1909261050b8c7da16db58f10b1 (patch) | |
tree | 7ba7677f6a4c3e19e2cefab34d16df2c8963b4d4 /util/system/compiler.h | |
parent | 81eddc8c0b55990194e112b02d127b87d54164a9 (diff) |
Restoring authorship annotation for <[email protected]>. Commit 1 of 2.
Diffstat (limited to 'util/system/compiler.h')
-rw-r--r-- | util/system/compiler.h | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/util/system/compiler.h b/util/system/compiler.h index b373edcc466..f473deab059 100644 --- a/util/system/compiler.h +++ b/util/system/compiler.h @@ -307,26 +307,26 @@ _YandexAbort(); #if defined(_MSC_VER) #define __PRETTY_FUNCTION__ __FUNCSIG__ #endif - -#if defined(__GNUC__) + +#if defined(__GNUC__) #define Y_WEAK __attribute__((weak)) -#else +#else #define Y_WEAK -#endif +#endif -#if defined(__CUDACC_VER_MAJOR__) +#if defined(__CUDACC_VER_MAJOR__) #define Y_CUDA_AT_LEAST(x, y) (__CUDACC_VER_MAJOR__ > x || (__CUDACC_VER_MAJOR__ == x && __CUDACC_VER_MINOR__ >= y)) -#else +#else #define Y_CUDA_AT_LEAST(x, y) 0 #endif -// NVidia CUDA C++ Compiler did not know about noexcept keyword until version 9.0 -#if !Y_CUDA_AT_LEAST(9, 0) +// NVidia CUDA C++ Compiler did not know about noexcept keyword until version 9.0 +#if !Y_CUDA_AT_LEAST(9, 0) #if defined(__CUDACC__) && !defined(noexcept) #define noexcept throw() #endif -#endif - +#endif + #if defined(__GNUC__) #define Y_COLD __attribute__((cold)) #define Y_LEAF __attribute__((leaf)) |