diff options
| author | mikhnenko <[email protected]> | 2025-10-15 22:59:56 +0300 |
|---|---|---|
| committer | mikhnenko <[email protected]> | 2025-10-15 23:35:39 +0300 |
| commit | 52bb9813716cd4308702d44d69fb3a448500f50f (patch) | |
| tree | 35fc63e39ca8b27e3765c63745d7c5b909272947 /library/cpp | |
| parent | f03ef7b80d614aed4a9d53aa1876073203ebd272 (diff) | |
Mute or fix some checks improved in clang-tidy20 in library
commit_hash:e93b9ad8b27da3da2372b00bf59ae87a98d0b862
Diffstat (limited to 'library/cpp')
| -rw-r--r-- | library/cpp/testing/unittest/registar.h | 2 | ||||
| -rw-r--r-- | library/cpp/yt/logging/logger.h | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/library/cpp/testing/unittest/registar.h b/library/cpp/testing/unittest/registar.h index c6c1281b4db..b3b206ec5c1 100644 --- a/library/cpp/testing/unittest/registar.h +++ b/library/cpp/testing/unittest/registar.h @@ -714,6 +714,7 @@ public: \ //values #define UNIT_ASSERT_VALUES_EQUAL_IMPL(A, B, C, EQflag, EQstr, NEQstr) \ do { \ + /* NOLINTBEGIN(bugprone-reserved-identifier, readability-identifier-naming) */ \ TString _as; \ TString _bs; \ TString _asInd; \ @@ -727,6 +728,7 @@ public: \ } \ UNIT_FAIL_IMPL("assertion failed", failMsg); \ } \ + /* NOLINTEND(bugprone-reserved-identifier, readability-identifier-naming) */ \ } while (false) #define UNIT_ASSERT_VALUES_EQUAL_C(A, B, C) \ diff --git a/library/cpp/yt/logging/logger.h b/library/cpp/yt/logging/logger.h index d46cf10d841..4f23c9e3caa 100644 --- a/library/cpp/yt/logging/logger.h +++ b/library/cpp/yt/logging/logger.h @@ -363,6 +363,7 @@ void LogStructuredEvent( #define YT_LOG_EVENT(logger, level, ...) \ do { \ + /* NOLINTBEGIN(bugprone-reserved-identifier, readability-identifier-naming) */ \ const auto& logger__ = (logger)(); \ auto level__ = (level); \ auto location__ = __LOCATION__; \ @@ -397,6 +398,7 @@ void LogStructuredEvent( location__, \ anchor__, \ std::move(message__.MessageRef)); \ + /* NOLINTEND(bugprone-reserved-identifier, readability-identifier-naming) */ \ } while (false) #define YT_LOG_EVENT_WITH_DYNAMIC_ANCHOR(logger, level, anchor, ...) \ |
