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

Unified Diff: runtime/vm/object_graph.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/object.cc ('k') | runtime/vm/object_graph.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/object_graph.h
diff --git a/runtime/vm/object_graph.h b/runtime/vm/object_graph.h
index e42e419ceec65cadcf34ef6276aa235458eff913..cae668a527c4fb550cacfa03703b73aaa3c10310 100644
--- a/runtime/vm/object_graph.h
+++ b/runtime/vm/object_graph.h
@@ -29,9 +29,10 @@ class ObjectGraph : public StackResource {
bool MoveToParent();
// Offset into parent for the pointer to current object. -1 if no parent.
intptr_t OffsetFromParentInWords() const;
+
private:
StackIterator(const Stack* stack, intptr_t index)
- : stack_(stack), index_(index) { }
+ : stack_(stack), index_(index) {}
const Stack* stack_;
intptr_t index_;
friend class ObjectGraph::Stack;
@@ -46,7 +47,7 @@ class ObjectGraph : public StackResource {
kBacktrack, // Ignore this object's pointers.
kAbort, // Terminate the entire search immediately.
};
- virtual ~Visitor() { }
+ virtual ~Visitor() {}
// Visits the object pointed to by *it. The iterator is only valid
// during this call. This method must not allocate from the heap or
// trigger GC in any way.
« no previous file with comments | « runtime/vm/object.cc ('k') | runtime/vm/object_graph.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698