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

Unified Diff: runtime/vm/dart_entry.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/dart_api_state.cc ('k') | runtime/vm/dart_entry.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/dart_entry.h
diff --git a/runtime/vm/dart_entry.h b/runtime/vm/dart_entry.h
index e1d4f1ad0f763dfe29eb3ec87150e5df9f19711c..2a52eeca005eb11a97f226625cc03f3697fe8fcb 100644
--- a/runtime/vm/dart_entry.h
+++ b/runtime/vm/dart_entry.h
@@ -51,8 +51,7 @@ class ArgumentsDescriptor : public ValueObject {
// Allocate and return an arguments descriptor. The first
// (count - optional_arguments_names.Length()) arguments are
// positional and the remaining ones are named optional arguments.
- static RawArray* New(intptr_t count,
- const Array& optional_arguments_names);
+ static RawArray* New(intptr_t count, const Array& optional_arguments_names);
// Allocate and return an arguments descriptor that has no optional
// arguments. All arguments are positional.
@@ -61,9 +60,7 @@ class ArgumentsDescriptor : public ValueObject {
// Initialize the preallocated fixed length arguments descriptors cache.
static void InitOnce();
- enum {
- kCachedDescriptorCount = 32
- };
+ enum { kCachedDescriptorCount = 32 };
private:
// Absolute indexes into the array.
@@ -89,15 +86,11 @@ class ArgumentsDescriptor : public ValueObject {
// Used by Simulator to parse argument descriptors.
static intptr_t name_index(intptr_t index) {
- return kFirstNamedEntryIndex +
- (index * kNamedEntrySize) +
- kNameOffset;
+ return kFirstNamedEntryIndex + (index * kNamedEntrySize) + kNameOffset;
}
static intptr_t position_index(intptr_t index) {
- return kFirstNamedEntryIndex +
- (index * kNamedEntrySize) +
- kPositionOffset;
+ return kFirstNamedEntryIndex + (index * kNamedEntrySize) + kPositionOffset;
}
const Array& array_;
« no previous file with comments | « runtime/vm/dart_api_state.cc ('k') | runtime/vm/dart_entry.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698