diff options
author | Chih-Hung Hsieh <chh@google.com> | 2016-07-27 16:01:41 -0700 |
---|---|---|
committer | Chih-Hung Hsieh <chh@google.com> | 2016-07-27 16:01:41 -0700 |
commit | 223bb4e21dab1d298473208ed91aca99a58b2a1b (patch) | |
tree | 1fddf8cab0ec69fe6e50e2bea1b89324cd85c907 /libmemunreachable | |
parent | 02ccdc5db9bb39488a3fe22a907b3211c3a464b9 (diff) | |
download | core-223bb4e21dab1d298473208ed91aca99a58b2a1b.tar.gz core-223bb4e21dab1d298473208ed91aca99a58b2a1b.tar.bz2 core-223bb4e21dab1d298473208ed91aca99a58b2a1b.zip |
Suppress clang-tidy performance warnings in libmemunreachable.
Bug: 30413862
Change-Id: If3ed64d2e1ca1f46599de9fe97c769f468ee1a68
Test: build with WITH_TIDY=1
Diffstat (limited to 'libmemunreachable')
-rw-r--r-- | libmemunreachable/tests/Allocator_test.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libmemunreachable/tests/Allocator_test.cpp b/libmemunreachable/tests/Allocator_test.cpp index fa76ae034..21c821890 100644 --- a/libmemunreachable/tests/Allocator_test.cpp +++ b/libmemunreachable/tests/Allocator_test.cpp @@ -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); } |