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

Unified Diff: runtime/vm/atomic_test.cc

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/atomic.h ('k') | runtime/vm/atomic_win.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/atomic_test.cc
diff --git a/runtime/vm/atomic_test.cc b/runtime/vm/atomic_test.cc
index 262a3284b909e1b5f6726dea50a8a97484d03b99..3a95a64f60dba57f6af66dae904fb359b9918024 100644
--- a/runtime/vm/atomic_test.cc
+++ b/runtime/vm/atomic_test.cc
@@ -65,8 +65,8 @@ UNIT_TEST_CASE(LoadRelaxed) {
TEST_CASE(CompareAndSwapWord) {
uword old_value = 42;
uword new_value = 100;
- uword result = AtomicOperations::CompareAndSwapWord(
- &old_value, old_value, new_value);
+ uword result =
+ AtomicOperations::CompareAndSwapWord(&old_value, old_value, new_value);
EXPECT_EQ(static_cast<uword>(42), result);
}
@@ -74,8 +74,8 @@ TEST_CASE(CompareAndSwapWord) {
TEST_CASE(CompareAndSwapUint32) {
uint32_t old_value = 42;
uint32_t new_value = 100;
- uint32_t result = AtomicOperations::CompareAndSwapUint32(
- &old_value, old_value, new_value);
+ uint32_t result =
+ AtomicOperations::CompareAndSwapUint32(&old_value, old_value, new_value);
EXPECT_EQ(static_cast<uint32_t>(42), result);
}
« no previous file with comments | « runtime/vm/atomic.h ('k') | runtime/vm/atomic_win.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698