Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2709)

Unified Diff: runtime/vm/freelist.h

Issue 2481873005: clang-format runtime/vm (Closed)
Patch Set: Merge Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « runtime/vm/flow_graph_type_propagator.cc ('k') | runtime/vm/freelist.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/freelist.h
diff --git a/runtime/vm/freelist.h b/runtime/vm/freelist.h
index 22744a1c38440d2b720ee1d5515d4eb0fa8789df..068c4e21e84514e2dc1aee6aaa6a55cd8fb93e6d 100644
--- a/runtime/vm/freelist.h
+++ b/runtime/vm/freelist.h
@@ -22,16 +22,10 @@ namespace dart {
// A FreeListElement never has its header mark bit set.
class FreeListElement {
public:
- FreeListElement* next() const {
- return next_;
- }
- uword next_address() const {
- return reinterpret_cast<uword>(&next_);
- }
+ FreeListElement* next() const { return next_; }
+ uword next_address() const { return reinterpret_cast<uword>(&next_); }
- void set_next(FreeListElement* next) {
- next_ = next;
- }
+ void set_next(FreeListElement* next) { next_ = next; }
intptr_t Size() {
intptr_t size = RawObject::SizeTag::decode(tags_);
@@ -48,7 +42,7 @@ class FreeListElement {
// Used to allocate class for free list elements in Object::InitOnce.
class FakeInstance {
public:
- FakeInstance() { }
+ FakeInstance() {}
static cpp_vtable vtable() { return 0; }
static intptr_t InstanceSize() { return 0; }
static intptr_t NextFieldOffset() { return -kWordSize; }
« no previous file with comments | « runtime/vm/flow_graph_type_propagator.cc ('k') | runtime/vm/freelist.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698