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

Unified Diff: runtime/vm/token_position.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/token.cc ('k') | runtime/vm/type_table.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/token_position.cc
diff --git a/runtime/vm/token_position.cc b/runtime/vm/token_position.cc
index cfda6af70b05bbbb7a305f6f0a1365e2b4efe4c4..b94ddffddf3096d7a2be61135f5b1f4c161207b6 100644
--- a/runtime/vm/token_position.cc
+++ b/runtime/vm/token_position.cc
@@ -8,17 +8,14 @@
namespace dart {
-
TokenPosition TokenPosition::SnapshotDecode(int32_t value) {
return TokenPosition(static_cast<intptr_t>(value));
}
-
int32_t TokenPosition::SnapshotEncode() {
return static_cast<int32_t>(value_);
}
-
bool TokenPosition::IsSynthetic() const {
if (value_ >= kMinSourcePos) {
return false;
@@ -29,7 +26,6 @@ bool TokenPosition::IsSynthetic() const {
return false;
}
-
#define DEFINE_VALUES(name, value) \
const TokenPosition TokenPosition::k##name = TokenPosition(value);
SENTINEL_TOKEN_DESCRIPTORS(DEFINE_VALUES);
@@ -38,7 +34,6 @@ const TokenPosition TokenPosition::kMinSource = TokenPosition(kMinSourcePos);
const TokenPosition TokenPosition::kMaxSource = TokenPosition(kMaxSourcePos);
-
const char* TokenPosition::ToCString() const {
switch (value_) {
#define DEFINE_CASE(name, value) \
« no previous file with comments | « runtime/vm/token.cc ('k') | runtime/vm/type_table.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698