80136a1e41
The static analyzer complains that this memory is leaked regardless of how I try to work around it (unless we escape the memory by using a global or something, but...). Basically, as long as there's some sort of operation on the reinterpret_cast'ed pointer, it complains. If we remove the bitwise negations, it doesn't. Doing so would presumably defeat the purpose of this test, though, so add a NOLINT. Bug: 27101951 Test: mma. No more static analyzer warning for this file. Change-Id: If9008946a2145d17b8651535141bfd7ec9224739 |
||
---|---|---|
.. | ||
Allocator_test.cpp | ||
AndroidTest.xml | ||
Binder_test.cpp | ||
DisableMalloc_test.cpp | ||
HeapWalker_test.cpp | ||
HostMallocStub.cpp | ||
LeakFolding_test.cpp | ||
MemUnreachable_test.cpp | ||
ThreadCapture_test.cpp |