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

Unified Diff: runtime/vm/verifier.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/uri_test.cc ('k') | runtime/vm/verifier.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/verifier.h
diff --git a/runtime/vm/verifier.h b/runtime/vm/verifier.h
index bade6abc6088ee9e8e1972de824ec8636e0a439c..e9497385463d60406451590a5d33ff312dedd242 100644
--- a/runtime/vm/verifier.h
+++ b/runtime/vm/verifier.h
@@ -18,22 +18,17 @@ class ObjectSet;
class RawObject;
-enum MarkExpectation {
- kForbidMarked,
- kAllowMarked,
- kRequireMarked
-};
+enum MarkExpectation { kForbidMarked, kAllowMarked, kRequireMarked };
class VerifyObjectVisitor : public ObjectVisitor {
public:
VerifyObjectVisitor(Isolate* isolate,
- ObjectSet* allocated_set,
- MarkExpectation mark_expectation)
+ ObjectSet* allocated_set,
+ MarkExpectation mark_expectation)
: isolate_(isolate),
allocated_set_(allocated_set),
- mark_expectation_(mark_expectation) {
- }
+ mark_expectation_(mark_expectation) {}
virtual void VisitObject(RawObject* obj);
@@ -50,9 +45,7 @@ class VerifyObjectVisitor : public ObjectVisitor {
class VerifyPointersVisitor : public ObjectPointerVisitor {
public:
explicit VerifyPointersVisitor(Isolate* isolate, ObjectSet* allocated_set)
- : ObjectPointerVisitor(isolate),
- allocated_set_(allocated_set) {
- }
+ : ObjectPointerVisitor(isolate), allocated_set_(allocated_set) {}
virtual void VisitPointers(RawObject** first, RawObject** last);
@@ -67,9 +60,7 @@ class VerifyPointersVisitor : public ObjectPointerVisitor {
class VerifyWeakPointersVisitor : public HandleVisitor {
public:
explicit VerifyWeakPointersVisitor(VerifyPointersVisitor* visitor)
- : HandleVisitor(Thread::Current()),
- visitor_(visitor) {
- }
+ : HandleVisitor(Thread::Current()), visitor_(visitor) {}
virtual void VisitHandle(uword addr);
« no previous file with comments | « runtime/vm/uri_test.cc ('k') | runtime/vm/verifier.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698