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

Unified Diff: runtime/vm/class_finalizer_test.cc

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/class_finalizer.cc ('k') | runtime/vm/class_table.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/class_finalizer_test.cc
diff --git a/runtime/vm/class_finalizer_test.cc b/runtime/vm/class_finalizer_test.cc
index 8de73e5fd467d1c9357676b6573f5faf3c339bdd..d2acc4a731724422677f9dc76fbf27946e6da3fc 100644
--- a/runtime/vm/class_finalizer_test.cc
+++ b/runtime/vm/class_finalizer_test.cc
@@ -11,12 +11,11 @@ namespace dart {
static RawClass* CreateTestClass(const char* name) {
- const String& class_name = String::Handle(Symbols::New(Thread::Current(),
- name));
+ const String& class_name =
+ String::Handle(Symbols::New(Thread::Current(), name));
const Script& script = Script::Handle();
- const Class& cls = Class::Handle(
- Class::New(Library::Handle(), class_name, script,
- TokenPosition::kNoSource));
+ const Class& cls = Class::Handle(Class::New(
+ Library::Handle(), class_name, script, TokenPosition::kNoSource));
cls.set_interfaces(Object::empty_array());
cls.SetFunctions(Object::empty_array());
cls.SetFields(Object::empty_array());
@@ -95,15 +94,13 @@ TEST_CASE(ClassFinalize_Resolve) {
lib.AddClass(rhb);
lib.AddClass(sbb);
const String& superclass_name = String::Handle(sbb.Name());
- const UnresolvedClass& unresolved = UnresolvedClass::Handle(
- UnresolvedClass::New(LibraryPrefix::Handle(),
- superclass_name,
- TokenPosition::kNoSource));
+ const UnresolvedClass& unresolved =
+ UnresolvedClass::Handle(UnresolvedClass::New(
+ LibraryPrefix::Handle(), superclass_name, TokenPosition::kNoSource));
const TypeArguments& type_arguments = TypeArguments::Handle();
- rhb.set_super_type(Type::Handle(
- Type::New(Object::Handle(unresolved.raw()),
- type_arguments,
- TokenPosition::kNoSource)));
+ rhb.set_super_type(
+ Type::Handle(Type::New(Object::Handle(unresolved.raw()), type_arguments,
+ TokenPosition::kNoSource)));
EXPECT(ClassFinalizer::ProcessPendingClasses());
}
« no previous file with comments | « runtime/vm/class_finalizer.cc ('k') | runtime/vm/class_table.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698