summaryrefslogtreecommitdiff
path: root/libnativeloader/native_loader_test.h
diff options
context:
space:
mode:
author Stefano Cianciulli <scianciulli@google.com> 2022-06-09 14:46:08 +0000
committer Stefano Cianciulli <scianciulli@google.com> 2022-06-20 08:55:03 +0000
commit86c4b39d929c37b2899b41c030c9756ea336333f (patch)
treefc98573796877f6159fe81467943e80df94078cf /libnativeloader/native_loader_test.h
parentbc0318ab1496e2468223be3ad76738d7b8ee7579 (diff)
Fix modernize-use-using clang-tidy issues
All the // NOLINT comments introduced in this CL were meant to disable only the modernize-use-using checks, but changing the comment to be // NOLINT(modernize-use-using) as explained in https://clang.llvm.org/extra/clang-tidy/#suppressing-undesired-diagnostics will make cpplint throw an error, as also cpplint uses the // NOLINT(...) notation to suppress unwanted warnings. Test: m tidy-art Test: art/libnativebridge/tests/runtests.sh Bug: 213953102 Change-Id: I9a992e0f0ecd06f7e64fd0bbf473bec4582370f6
Diffstat (limited to 'libnativeloader/native_loader_test.h')
-rw-r--r--libnativeloader/native_loader_test.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libnativeloader/native_loader_test.h b/libnativeloader/native_loader_test.h
index 5c51f00e82..30b2f84cd2 100644
--- a/libnativeloader/native_loader_test.h
+++ b/libnativeloader/native_loader_test.h
@@ -42,7 +42,7 @@ class Platform {
// Instead of having two set of mock APIs for the two, define only one set with an additional
// argument 'bool bridged' to identify the context (i.e., called for libdl_android or
// libnativebridge).
- typedef char* mock_namespace_handle;
+ using mock_namespace_handle = char*;
virtual bool mock_init_anonymous_namespace(bool bridged, const char* sonames,
const char* search_paths) = 0;
virtual mock_namespace_handle mock_create_namespace(