mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-23 16:12:01 +00:00
ignore clang-tidy for IntNode in gtest_coordination
This commit is contained in:
parent
afd8a321b4
commit
0d19f2a485
@ -832,14 +832,7 @@ TEST_P(CoordinationTest, ChangelogTestLostFiles)
|
||||
struct IntNode
|
||||
{
|
||||
int value;
|
||||
#ifdef __clang__
|
||||
#pragma clang diagnostic push
|
||||
#pragma clang diagnostic ignored "-Wgoogle-explicit-constructor"
|
||||
#endif
|
||||
IntNode(int value_) : value(value_) { }
|
||||
#ifdef __clang__
|
||||
#pragma clang diagnostic pop
|
||||
#endif
|
||||
IntNode(int value_) : value(value_) { } // NOLINT(google-explicit-constructor)
|
||||
UInt64 sizeInBytes() const { return sizeof value; }
|
||||
IntNode & operator=(int rhs)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user