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

Unified Diff: runtime/vm/unibrow.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/type_table.h ('k') | runtime/vm/unibrow.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/unibrow.h
diff --git a/runtime/vm/unibrow.h b/runtime/vm/unibrow.h
index f4ac7b53a6c5a42e2d00c734b5bf915643c93188..565a9a871cfdb99c22432b15a992889255f05825 100644
--- a/runtime/vm/unibrow.h
+++ b/runtime/vm/unibrow.h
@@ -23,16 +23,16 @@ namespace unibrow {
template <class T, intptr_t size = 256>
class Mapping {
public:
- inline Mapping() { }
+ inline Mapping() {}
inline intptr_t get(int32_t c, int32_t n, int32_t* result);
+
private:
friend class Test;
intptr_t CalculateValue(int32_t c, int32_t n, int32_t* result);
struct CacheEntry {
- inline CacheEntry() : code_point_(kNoChar), offset_(0) { }
+ inline CacheEntry() : code_point_(kNoChar), offset_(0) {}
inline CacheEntry(int32_t code_point, signed offset)
- : code_point_(code_point),
- offset_(offset) { }
+ : code_point_(code_point), offset_(offset) {}
int32_t code_point_;
signed offset_;
static const intptr_t kNoChar = (1 << 21) - 1;
« no previous file with comments | « runtime/vm/type_table.h ('k') | runtime/vm/unibrow.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698