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

Unified Diff: runtime/platform/hashmap.h

Issue 2470663006: Add .clang-format and run clang-format on runtime/platform. (Closed)
Patch Set: Remove default override for short functions 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/platform/globals.h ('k') | runtime/platform/memory_sanitizer.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/platform/hashmap.h
diff --git a/runtime/platform/hashmap.h b/runtime/platform/hashmap.h
index 1cd8a4a2331da44dfa5cd4ee233e5b499cfee24e..1fd1235153dda9e5e3b02ad6685dd311a689cc92 100644
--- a/runtime/platform/hashmap.h
+++ b/runtime/platform/hashmap.h
@@ -11,9 +11,9 @@ namespace dart {
class HashMap {
public:
- typedef bool (*MatchFun) (void* key1, void* key2);
+ typedef bool (*MatchFun)(void* key1, void* key2);
- typedef void (*ClearFun) (void* value);
+ typedef void (*ClearFun)(void* value);
// initial_capacity is the size of the initial hash map;
// it must be a power of 2 (and thus must not be 0).
@@ -21,9 +21,7 @@ class HashMap {
~HashMap();
- static bool SamePointerValue(void* key1, void* key2) {
- return key1 == key2;
- }
+ static bool SamePointerValue(void* key1, void* key2) { return key1 == key2; }
static uint32_t StringHash(char* key) {
uint32_t hash_ = 0;
« no previous file with comments | « runtime/platform/globals.h ('k') | runtime/platform/memory_sanitizer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698