summaryrefslogtreecommitdiff
path: root/runtime/interpreter/interpreter_common.cc
diff options
context:
space:
mode:
author Andreas Gampe <agampe@google.com> 2018-10-18 13:22:23 -0700
committer Andreas Gampe <agampe@google.com> 2018-10-19 12:14:10 -0700
commit584771b5a85843700289ffcd36a46f3b187ca349 (patch)
treea88996e445a1a2aee66e15ee58b977891ddf9618 /runtime/interpreter/interpreter_common.cc
parent6bc39b1e080d574a0ed0c4dabe4d0895dd40456c (diff)
ART: Fix tidy bugprone-macro-parentheses
Add parens where necessary, add NOLINT for the cases where it's wrong. Bug: 32619234 Test: WITH_TIDY=1 mmma art Change-Id: If56ce51c078e9adf26b9469a01c95a857aac66a4
Diffstat (limited to 'runtime/interpreter/interpreter_common.cc')
-rw-r--r--runtime/interpreter/interpreter_common.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/interpreter/interpreter_common.cc b/runtime/interpreter/interpreter_common.cc
index b17023208e..cb91953458 100644
--- a/runtime/interpreter/interpreter_common.cc
+++ b/runtime/interpreter/interpreter_common.cc
@@ -1071,7 +1071,7 @@ static bool PackCollectorArrayForBootstrapMethod(Thread* self,
return true;
#define COLLECT_REFERENCE_ARRAY(T, Type) \
- Handle<mirror::ObjectArray<T>> array = \
+ Handle<mirror::ObjectArray<T>> array = /* NOLINT */ \
hs.NewHandle(mirror::ObjectArray<T>::Alloc(self, \
array_type, \
array_length)); \