ART: Fix macro parentheses warnings
Change code for types. Add NOLINT where there's no better way.
Bug: 32619234
Test: m
Change-Id: Ie5d9cc576b72c4a1bb1d9e4b439333702800abb9
diff --git a/runtime/entrypoints/quick/quick_field_entrypoints.cc b/runtime/entrypoints/quick/quick_field_entrypoints.cc
index b298db6..b13103d 100644
--- a/runtime/entrypoints/quick/quick_field_entrypoints.cc
+++ b/runtime/entrypoints/quick/quick_field_entrypoints.cc
@@ -79,12 +79,12 @@
field_idx, referrer, Static ## PrimitiveOrObject ## Read, \
sizeof(PrimitiveType)); \
if (LIKELY(field != nullptr)) { \
- return field->Get ## Kind (field->GetDeclaringClass())Ptr; \
+ return field->Get ## Kind (field->GetDeclaringClass())Ptr; /* NOLINT */ \
} \
field = FindFieldFromCode<Static ## PrimitiveOrObject ## Read, true>( \
field_idx, referrer, self, sizeof(PrimitiveType)); \
if (LIKELY(field != nullptr)) { \
- return field->Get ## Kind (field->GetDeclaringClass())Ptr; \
+ return field->Get ## Kind (field->GetDeclaringClass())Ptr; /* NOLINT */ \
} \
/* Will throw exception by checking with Thread::Current. */ \
return 0; \
@@ -100,12 +100,12 @@
field_idx, referrer, Instance ## PrimitiveOrObject ## Read, \
sizeof(PrimitiveType)); \
if (LIKELY(field != nullptr) && obj != nullptr) { \
- return field->Get ## Kind (obj)Ptr; \
+ return field->Get ## Kind (obj)Ptr; /* NOLINT */ \
} \
field = FindInstanceField<Instance ## PrimitiveOrObject ## Read, true>( \
field_idx, referrer, self, sizeof(PrimitiveType), &obj); \
if (LIKELY(field != nullptr)) { \
- return field->Get ## Kind (obj)Ptr; \
+ return field->Get ## Kind (obj)Ptr; /* NOLINT */ \
} \
/* Will throw exception by checking with Thread::Current. */ \
return 0; \