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

Unified Diff: runtime/vm/benchmark_test.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/become.cc ('k') | runtime/vm/benchmark_test.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/benchmark_test.h
diff --git a/runtime/vm/benchmark_test.h b/runtime/vm/benchmark_test.h
index db0c1f6e44cc4a83582365b7b2e5602e683f8d68..b51c64c0432bf7632da0fda2fa0193d17a3dbf41 100644
--- a/runtime/vm/benchmark_test.h
+++ b/runtime/vm/benchmark_test.h
@@ -34,7 +34,8 @@ extern const uint8_t* isolate_snapshot_buffer;
#define BENCHMARK_HELPER(name, kind) \
void Dart_Benchmark##name(Benchmark* benchmark); \
static Benchmark kRegister##name(Dart_Benchmark##name, #name, kind); \
- static void Dart_BenchmarkHelper##name(Benchmark* benchmark, Thread* thread);\
+ static void Dart_BenchmarkHelper##name(Benchmark* benchmark, \
+ Thread* thread); \
void Dart_Benchmark##name(Benchmark* benchmark) { \
FLAG_old_gen_growth_space_ratio = 100; \
BenchmarkIsolateScope __isolate__(benchmark); \
@@ -57,15 +58,15 @@ inline Dart_Handle NewString(const char* str) {
class Benchmark {
public:
- typedef void (RunEntry)(Benchmark* benchmark);
-
- Benchmark(RunEntry* run, const char* name, const char* score_kind) :
- run_(run),
- name_(name),
- score_kind_(score_kind),
- score_(0),
- isolate_(NULL),
- next_(NULL) {
+ typedef void(RunEntry)(Benchmark* benchmark);
+
+ Benchmark(RunEntry* run, const char* name, const char* score_kind)
+ : run_(run),
+ name_(name),
+ score_kind_(score_kind),
+ score_(0),
+ isolate_(NULL),
+ next_(NULL) {
if (first_ == NULL) {
first_ = this;
} else {
« no previous file with comments | « runtime/vm/become.cc ('k') | runtime/vm/benchmark_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698