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

Unified Diff: runtime/vm/code_descriptors.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/clustered_snapshot.cc ('k') | runtime/vm/code_descriptors.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/code_descriptors.h
diff --git a/runtime/vm/code_descriptors.h b/runtime/vm/code_descriptors.h
index ef56938e988543564f2b63dc2729349c4a15b079..58f1af7b7b1aca453b1708a719ae155e76f34e91 100644
--- a/runtime/vm/code_descriptors.h
+++ b/runtime/vm/code_descriptors.h
@@ -16,12 +16,12 @@ namespace dart {
class DescriptorList : public ZoneAllocated {
public:
explicit DescriptorList(intptr_t initial_capacity)
- : encoded_data_(initial_capacity),
- prev_pc_offset(0),
- prev_deopt_id(0),
- prev_token_pos(0) {}
+ : encoded_data_(initial_capacity),
+ prev_pc_offset(0),
+ prev_deopt_id(0),
+ prev_token_pos(0) {}
- ~DescriptorList() { }
+ ~DescriptorList() {}
void AddDescriptor(RawPcDescriptors::Kind kind,
intptr_t pc_offset,
@@ -45,11 +45,9 @@ class DescriptorList : public ZoneAllocated {
class CodeSourceMapBuilder : public ZoneAllocated {
public:
explicit CodeSourceMapBuilder(intptr_t initial_capacity = 64)
- : encoded_data_(initial_capacity),
- prev_pc_offset(0),
- prev_token_pos(0) {}
+ : encoded_data_(initial_capacity), prev_pc_offset(0), prev_token_pos(0) {}
- ~CodeSourceMapBuilder() { }
+ ~CodeSourceMapBuilder() {}
void AddEntry(intptr_t pc_offset, TokenPosition token_pos);
@@ -70,8 +68,8 @@ class StackmapTableBuilder : public ZoneAllocated {
StackmapTableBuilder()
: stack_map_(Stackmap::ZoneHandle()),
list_(GrowableObjectArray::ZoneHandle(
- GrowableObjectArray::New(Heap::kOld))) { }
- ~StackmapTableBuilder() { }
+ GrowableObjectArray::New(Heap::kOld))) {}
+ ~StackmapTableBuilder() {}
void AddEntry(intptr_t pc_offset,
BitmapBuilder* bitmap,
@@ -94,17 +92,15 @@ class StackmapTableBuilder : public ZoneAllocated {
class ExceptionHandlerList : public ZoneAllocated {
public:
struct HandlerDesc {
- intptr_t outer_try_index; // Try block in which this try block is nested.
- intptr_t pc_offset; // Handler PC offset value.
- const Array* handler_types; // Catch clause guards.
+ intptr_t outer_try_index; // Try block in which this try block is nested.
+ intptr_t pc_offset; // Handler PC offset value.
+ const Array* handler_types; // Catch clause guards.
bool needs_stacktrace;
};
ExceptionHandlerList() : list_() {}
- intptr_t Length() const {
- return list_.length();
- }
+ intptr_t Length() const { return list_.length(); }
void AddPlaceHolder() {
struct HandlerDesc data;
« no previous file with comments | « runtime/vm/clustered_snapshot.cc ('k') | runtime/vm/code_descriptors.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698