summaryrefslogtreecommitdiff
path: root/runtime/interpreter/unstarted_runtime.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/interpreter/unstarted_runtime.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/interpreter/unstarted_runtime.cc')
-rw-r--r--runtime/interpreter/unstarted_runtime.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/runtime/interpreter/unstarted_runtime.cc b/runtime/interpreter/unstarted_runtime.cc
index 62051ee9db..cec6f1dc8d 100644
--- a/runtime/interpreter/unstarted_runtime.cc
+++ b/runtime/interpreter/unstarted_runtime.cc
@@ -2163,6 +2163,7 @@ using JNIHandler = void(*)(Thread* self,
uint32_t* args,
JValue* result);
+// NOLINTNEXTLINE
#define ONE_PLUS(ShortNameIgnored, DescriptorIgnored, NameIgnored, SignatureIgnored) 1 +
static constexpr size_t kInvokeHandlersSize = UNSTARTED_RUNTIME_DIRECT_LIST(ONE_PLUS) 0;
static constexpr size_t kJniHandlersSize = UNSTARTED_RUNTIME_JNI_LIST(ONE_PLUS) 0;