summaryrefslogtreecommitdiff
path: root/runtime/handle.cc
diff options
context:
space:
mode:
author Stefano Cianciulli <scianciulli@google.com> 2022-06-07 08:27:24 +0000
committer Stefano Cianciulli <scianciulli@google.com> 2022-06-08 08:33:49 +0000
commit2be604b200429433dac28ad4bf562d849cda642e (patch)
tree37d860138a48f140add2897add3f3e374a7e3e21 /runtime/handle.cc
parent13ede9cc6e51aee7984e4a53b1b53d0fba712c8a (diff)
Fix bugprone-macro-parentheses clang-tidy issues
This CL also fixes a performance-unnecessary-copy-initialization issue which was present on the master branch and prevented m tidy-art to complete successfully. Test: m tidy-art Bug: 213953102 Change-Id: I821d797be4a866d9e1546e62bafa5a8bb0ac0578
Diffstat (limited to 'runtime/handle.cc')
-rw-r--r--runtime/handle.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/runtime/handle.cc b/runtime/handle.cc
index af77e2362b..e9c91135f5 100644
--- a/runtime/handle.cc
+++ b/runtime/handle.cc
@@ -42,6 +42,7 @@
namespace art {
+// NOLINTBEGIN(bugprone-macro-parentheses)
#define MAKE_OBJECT_FOR_GDB(ROOT, NAME, MIRROR) \
template <> MIRROR* Handle<MIRROR>::GetFromGdb() { \
return Get(); \
@@ -53,5 +54,6 @@ namespace art {
CLASS_MIRROR_ROOT_LIST(MAKE_OBJECT_FOR_GDB)
#undef MAKE_OBJECT_FOR_GDB
+// NOLINTEND(bugprone-macro-parentheses)
} // namespace art