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

Unified Diff: runtime/lib/errors.cc

Issue 2468093007: clang-format runtime/lib (Closed)
Patch Set: 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/lib/double.cc ('k') | runtime/lib/function.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/lib/errors.cc
diff --git a/runtime/lib/errors.cc b/runtime/lib/errors.cc
index 75f354d4f94ed60ebee55ff347dd6d845340d156..390079fa7d46f8dfc05777a9f0b733c41973d812 100644
--- a/runtime/lib/errors.cc
+++ b/runtime/lib/errors.cc
@@ -26,8 +26,8 @@ static RawScript* FindScript(DartFrameIterator* iterator) {
StackFrame* stack_frame = iterator->NextFrame();
Code& code = Code::Handle();
Function& func = Function::Handle();
- const Class& assert_error_class = Class::Handle(
- Library::LookupCoreClass(Symbols::AssertionError()));
+ const Class& assert_error_class =
+ Class::Handle(Library::LookupCoreClass(Symbols::AssertionError()));
ASSERT(!assert_error_class.IsNull());
bool hit_assertion_error = false;
while (stack_frame != NULL) {
@@ -84,8 +84,8 @@ DEFINE_NATIVE_ENTRY(AssertionError_throwNew, 2) {
script.GetTokenLocation(assertion_end, &to_line, &to_column);
// The snippet will extract the correct assertion code even if the source
// is generated.
- args.SetAt(0, String::Handle(
- script.GetSnippet(from_line, from_column, to_line, to_column)));
+ args.SetAt(0, String::Handle(script.GetSnippet(from_line, from_column,
+ to_line, to_column)));
// Initialize location arguments starting at position 1.
// Do not set a column if the source has been generated as it will be wrong.
@@ -118,8 +118,8 @@ DEFINE_NATIVE_ENTRY(TypeError_throwNew, 5) {
const String& dst_name = String::CheckedHandle(arguments->NativeArgAt(3));
const String& error_msg = String::CheckedHandle(arguments->NativeArgAt(4));
const AbstractType& src_type = AbstractType::Handle(src_value.GetType());
- Exceptions::CreateAndThrowTypeError(
- location, src_type, dst_type, dst_name, error_msg);
+ Exceptions::CreateAndThrowTypeError(location, src_type, dst_type, dst_name,
+ error_msg);
UNREACHABLE();
return Object::null();
}
« no previous file with comments | « runtime/lib/double.cc ('k') | runtime/lib/function.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698