diff options
author | Brian Carlstrom <bdc@google.com> | 2013-07-17 17:44:30 -0700 |
---|---|---|
committer | Brian Carlstrom <bdc@google.com> | 2013-07-17 21:46:11 -0700 |
commit | 2ce745c06271d5223d57dbf08117b20d5b60694a (patch) | |
tree | 08ca327d1f1c8266fafb11422cfad6982f21e0bb /runtime/mirror/class-inl.h | |
parent | fc0e3219edc9a5bf81b166e82fd5db2796eb6a0d (diff) | |
download | art-2ce745c06271d5223d57dbf08117b20d5b60694a.zip art-2ce745c06271d5223d57dbf08117b20d5b60694a.tar.gz art-2ce745c06271d5223d57dbf08117b20d5b60694a.tar.bz2 |
Fix cpplint whitespace/braces issues
Change-Id: Ide80939faf8e8690d8842dde8133902ac725ed1a
Diffstat (limited to 'runtime/mirror/class-inl.h')
-rw-r--r-- | runtime/mirror/class-inl.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/runtime/mirror/class-inl.h b/runtime/mirror/class-inl.h index d323c33..52906a2 100644 --- a/runtime/mirror/class-inl.h +++ b/runtime/mirror/class-inl.h @@ -75,7 +75,7 @@ inline AbstractMethod* Class::GetDirectMethod(int32_t i) const } inline void Class::SetDirectMethod(uint32_t i, AbstractMethod* f) // TODO: uint16_t - SHARED_LOCKS_REQUIRED(Locks::mutator_lock_){ + SHARED_LOCKS_REQUIRED(Locks::mutator_lock_) { ObjectArray<AbstractMethod>* direct_methods = GetFieldObject<ObjectArray<AbstractMethod>*>( OFFSET_OF_OBJECT_MEMBER(Class, direct_methods_), false); @@ -308,13 +308,13 @@ inline size_t Class::NumInstanceFields() const { } inline Field* Class::GetInstanceField(uint32_t i) const // TODO: uint16_t - SHARED_LOCKS_REQUIRED(Locks::mutator_lock_){ + SHARED_LOCKS_REQUIRED(Locks::mutator_lock_) { DCHECK_NE(NumInstanceFields(), 0U); return GetIFields()->Get(i); } inline void Class::SetInstanceField(uint32_t i, Field* f) // TODO: uint16_t - SHARED_LOCKS_REQUIRED(Locks::mutator_lock_){ + SHARED_LOCKS_REQUIRED(Locks::mutator_lock_) { ObjectArray<Field>* ifields= GetFieldObject<ObjectArray<Field>*>( OFFSET_OF_OBJECT_MEMBER(Class, ifields_), false); ifields->Set(i, f); |