aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/yt/misc
diff options
context:
space:
mode:
authorlukyan <lukyan@yandex-team.ru>2022-02-10 16:48:13 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:48:13 +0300
commit3e359c7e6344b01b8d0b0fc619297ffdc2644c49 (patch)
tree84fef6ce6ee76479e37582b357af732385cffdcf /library/cpp/yt/misc
parenta02ea31d51f94b7edb98c6ab1322bf26ca04beb5 (diff)
downloadydb-3e359c7e6344b01b8d0b0fc619297ffdc2644c49.tar.gz
Restoring authorship annotation for <lukyan@yandex-team.ru>. Commit 1 of 2.
Diffstat (limited to 'library/cpp/yt/misc')
-rw-r--r--library/cpp/yt/misc/port.h6
-rw-r--r--library/cpp/yt/misc/source_location.cpp2
-rw-r--r--library/cpp/yt/misc/ya.make42
3 files changed, 25 insertions, 25 deletions
diff --git a/library/cpp/yt/misc/port.h b/library/cpp/yt/misc/port.h
index b24ac50995..3e5e7be617 100644
--- a/library/cpp/yt/misc/port.h
+++ b/library/cpp/yt/misc/port.h
@@ -59,12 +59,12 @@
#if defined(__GNUC__) || defined(__clang__)
#define PER_THREAD __thread
#define ATTRIBUTE_NO_SANITIZE_ADDRESS __attribute__((no_sanitize_address))
- // Prevent GCC from throwing out functions in release builds.
- #define ATTRIBUTE_USED __attribute__((used))
+ // Prevent GCC from throwing out functions in release builds.
+ #define ATTRIBUTE_USED __attribute__((used))
#elif defined(_MSC_VER)
#define PER_THREAD __declspec(thread)
#define ATTRIBUTE_NO_SANITIZE_ADDRESS
- #define ATTRIBUTE_USED
+ #define ATTRIBUTE_USED
#else
#error Unsupported compiler
#endif
diff --git a/library/cpp/yt/misc/source_location.cpp b/library/cpp/yt/misc/source_location.cpp
index 8d22d43636..e65a382b1b 100644
--- a/library/cpp/yt/misc/source_location.cpp
+++ b/library/cpp/yt/misc/source_location.cpp
@@ -27,7 +27,7 @@ bool TSourceLocation::operator<(const TSourceLocation& other) const
const char* otherFileName = other.FileName_ ? other.FileName_ : "";
int fileNameResult = strcmp(fileName, otherFileName);
if (fileNameResult != 0) {
- return fileNameResult < 0;
+ return fileNameResult < 0;
}
if (Line_ < other.Line_) {
diff --git a/library/cpp/yt/misc/ya.make b/library/cpp/yt/misc/ya.make
index bb76711ddd..9d75f7b9dc 100644
--- a/library/cpp/yt/misc/ya.make
+++ b/library/cpp/yt/misc/ya.make
@@ -1,26 +1,26 @@
-LIBRARY()
-
-OWNER(g:yt)
-
-SRCS(
+LIBRARY()
+
+OWNER(g:yt)
+
+SRCS(
guid.cpp
- source_location.cpp
-)
-
-PEERDIR(
+ source_location.cpp
+)
+
+PEERDIR(
library/cpp/yt/exception
-)
-
-CHECK_DEPENDENT_DIRS(
- ALLOW_ONLY ALL
- build
- contrib
- library
- util
- yt/yt/library/small_containers
-)
-
-END()
+)
+
+CHECK_DEPENDENT_DIRS(
+ ALLOW_ONLY ALL
+ build
+ contrib
+ library
+ util
+ yt/yt/library/small_containers
+)
+
+END()
RECURSE_FOR_TESTS(
unittests