diff options
author | agri <agri@yandex-team.ru> | 2022-02-10 16:48:12 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:48:12 +0300 |
commit | d3530b2692e400bd4d29bd4f07cafaee139164e7 (patch) | |
tree | b7ae636a74490e649a2ed0fdd5361f1bec83b9f9 /util/system/compiler.h | |
parent | 0f4c5d1e8c0672bf0a1f2f2d8acac5ba24772435 (diff) | |
download | ydb-d3530b2692e400bd4d29bd4f07cafaee139164e7.tar.gz |
Restoring authorship annotation for <agri@yandex-team.ru>. Commit 1 of 2.
Diffstat (limited to 'util/system/compiler.h')
-rw-r--r-- | util/system/compiler.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/util/system/compiler.h b/util/system/compiler.h index b373edcc466..cec05dd024a 100644 --- a/util/system/compiler.h +++ b/util/system/compiler.h @@ -319,7 +319,7 @@ _YandexAbort(); #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) #if defined(__CUDACC__) && !defined(noexcept) @@ -327,15 +327,15 @@ _YandexAbort(); #endif #endif -#if defined(__GNUC__) +#if defined(__GNUC__) #define Y_COLD __attribute__((cold)) #define Y_LEAF __attribute__((leaf)) #define Y_WRAPPER __attribute__((artificial)) -#else +#else #define Y_COLD #define Y_LEAF #define Y_WRAPPER -#endif +#endif /** * @def Y_PRAGMA |