Suppress clang-tidy performance warnings in libmemunreachable.
Bug: 30413862 Change-Id: If3ed64d2e1ca1f46599de9fe97c769f468ee1a68 Test: build with WITH_TIDY=1
This commit is contained in:
parent
02ccdc5db9
commit
223bb4e21d
1 changed files with 1 additions and 1 deletions
|
@ -160,7 +160,7 @@ TEST_F(AllocatorTest, shared) {
|
|||
|
||||
Allocator<int>::shared_ptr ptr = allocator.make_shared(0);
|
||||
{
|
||||
auto ptr2 = ptr;
|
||||
auto ptr2 = ptr; // NOLINT, test copy of ptr
|
||||
}
|
||||
ASSERT_NE(ptr, nullptr);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue