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

Unified Diff: runtime/vm/report.cc

Issue 2974233002: VM: Re-format to use at most one newline between functions (Closed)
Patch Set: Rebase and merge Created 3 years, 5 months 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/regexp_parser.cc ('k') | runtime/vm/resolver.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/report.cc
diff --git a/runtime/vm/report.cc b/runtime/vm/report.cc
index ba87b5ee260fb611ab946da5270240cda9eee658..4b45c37abf2620959c9f93e61ec7fbd6d40a8db7 100644
--- a/runtime/vm/report.cc
+++ b/runtime/vm/report.cc
@@ -85,8 +85,8 @@ RawString* Report::PrependSnippet(Kind kind,
result = String::ConcatAll(strs, Heap::kOld);
} else {
// Token position is unknown.
- result = String::NewFormatted(Heap::kOld, "'%s': %s: ",
- script_url.ToCString(), message_header);
+ result = String::NewFormatted(
+ Heap::kOld, "'%s': %s: ", script_url.ToCString(), message_header);
result = String::Concat(result, message, Heap::kOld);
}
} else {
@@ -98,13 +98,11 @@ RawString* Report::PrependSnippet(Kind kind,
return result.raw();
}
-
void Report::LongJump(const Error& error) {
Thread::Current()->long_jump_base()->Jump(1, error);
UNREACHABLE();
}
-
void Report::LongJumpF(const Error& prev_error,
const Script& script,
TokenPosition token_pos,
@@ -117,7 +115,6 @@ void Report::LongJumpF(const Error& prev_error,
UNREACHABLE();
}
-
void Report::LongJumpV(const Error& prev_error,
const Script& script,
TokenPosition token_pos,
@@ -130,7 +127,6 @@ void Report::LongJumpV(const Error& prev_error,
UNREACHABLE();
}
-
void Report::MessageF(Kind kind,
const Script& script,
TokenPosition token_pos,
@@ -143,7 +139,6 @@ void Report::MessageF(Kind kind,
va_end(args);
}
-
void Report::MessageV(Kind kind,
const Script& script,
TokenPosition token_pos,
« no previous file with comments | « runtime/vm/regexp_parser.cc ('k') | runtime/vm/resolver.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698