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

Unified Diff: src/base/bits.h

Issue 1365803004: [presubmit] Fix whitespace/semicolon linter violations. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 3 months 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 | « src/arm64/lithium-codegen-arm64.cc ('k') | src/base/platform/condition-variable.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/base/bits.h
diff --git a/src/base/bits.h b/src/base/bits.h
index abcfd9a9eddce4a45671712d7abbb5da6f0d5fbf..f5710dfb5c964f665b97aeba7513f43e2b0e43d9 100644
--- a/src/base/bits.h
+++ b/src/base/bits.h
@@ -105,8 +105,8 @@ inline unsigned CountTrailingZeros32(uint32_t value) {
#else
if (value == 0) return 32;
unsigned count = 0;
- for (value ^= value - 1; value >>= 1; ++count)
- ;
+ for (value ^= value - 1; value >>= 1; ++count) {
+ }
return count;
#endif
}
@@ -121,8 +121,8 @@ inline unsigned CountTrailingZeros64(uint64_t value) {
#else
if (value == 0) return 64;
unsigned count = 0;
- for (value ^= value - 1; value >>= 1; ++count)
- ;
+ for (value ^= value - 1; value >>= 1; ++count) {
+ }
return count;
#endif
}
« no previous file with comments | « src/arm64/lithium-codegen-arm64.cc ('k') | src/base/platform/condition-variable.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698