Suppress clang-tidy performance warnings in libmemunreachable.

Bug: 30413862
Change-Id: If3ed64d2e1ca1f46599de9fe97c769f468ee1a68
Test: build with WITH_TIDY=1
This commit is contained in:
Chih-Hung Hsieh 2016-07-27 16:01:41 -07:00
parent 02ccdc5db9
commit 223bb4e21d

View file

@ -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);
}