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

Unified Diff: runtime/vm/il_printer.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/heap_test.cc ('k') | runtime/vm/il_printer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/il_printer.h
diff --git a/runtime/vm/il_printer.h b/runtime/vm/il_printer.h
index 88496fb30ece1c702bd9246d870622c97dd85a81..7b27a6174faad8a22e51b4d95672cb1f47e539af 100644
--- a/runtime/vm/il_printer.h
+++ b/runtime/vm/il_printer.h
@@ -13,9 +13,7 @@ namespace dart {
class BufferFormatter : public ValueObject {
public:
BufferFormatter(char* buffer, intptr_t size)
- : position_(0),
- buffer_(buffer),
- size_(size) { }
+ : position_(0), buffer_(buffer), size_(size) {}
void VPrint(const char* format, va_list args);
void Print(const char* format, ...) PRINTF_ATTRIBUTE(2, 3);
@@ -37,11 +35,11 @@ class FlowGraphPrinter : public ValueObject {
public:
static const intptr_t kPrintAll = -1;
- FlowGraphPrinter(const FlowGraph& flow_graph,
- bool print_locations = false)
+ explicit FlowGraphPrinter(const FlowGraph& flow_graph,
+ bool print_locations = false)
: function_(flow_graph.function()),
block_order_(flow_graph.reverse_postorder()),
- print_locations_(print_locations) { }
+ print_locations_(print_locations) {}
// Print the instructions in a block terminated by newlines. Add "goto N"
// to the end of the block if it ends with an unconditional jump to
« no previous file with comments | « runtime/vm/heap_test.cc ('k') | runtime/vm/il_printer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698