mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-24 00:22:29 +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
|
struct IntNode
|
||||||
{
|
{
|
||||||
int value;
|
int value;
|
||||||
#ifdef __clang__
|
IntNode(int value_) : value(value_) { } // NOLINT(google-explicit-constructor)
|
||||||
#pragma clang diagnostic push
|
|
||||||
#pragma clang diagnostic ignored "-Wgoogle-explicit-constructor"
|
|
||||||
#endif
|
|
||||||
IntNode(int value_) : value(value_) { }
|
|
||||||
#ifdef __clang__
|
|
||||||
#pragma clang diagnostic pop
|
|
||||||
#endif
|
|
||||||
UInt64 sizeInBytes() const { return sizeof value; }
|
UInt64 sizeInBytes() const { return sizeof value; }
|
||||||
IntNode & operator=(int rhs)
|
IntNode & operator=(int rhs)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user