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

Unified Diff: crosstest/test_global.cpp

Issue 877003003: Subzero: Use a "known" version of clang-format. (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: Add a clang-format blacklist. Fix formatting "errors". Created 5 years, 11 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 | « crosstest/test_fcmp_main.cpp ('k') | crosstest/test_global_main.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: crosstest/test_global.cpp
diff --git a/crosstest/test_global.cpp b/crosstest/test_global.cpp
index f28afb89337803905846e1df386b3302ae60ce5f..b2f52b09e412a1d9a1c1f63cefb53dba3c3de070 100644
--- a/crosstest/test_global.cpp
+++ b/crosstest/test_global.cpp
@@ -29,7 +29,7 @@ extern uint8_t *ExternName5;
int ArrayInitPartial[10] = {60, 70, 80, 90, 100};
int ArrayInitFull[] = {10, 20, 30, 40, 50};
const int ArrayConst[] = {-10, -20, -30};
-static double ArrayDouble[10] = { 0.5, 1.5, 2.5, 3.5 };
+static double ArrayDouble[10] = {0.5, 1.5, 2.5, 3.5};
static struct {
int Array1[5];
@@ -43,12 +43,12 @@ static struct {
} NestedStuff;
uint8_t *Pointer5;
} StructEx = {
- { 10, 20, 30, 40, 50 },
- ExternName1,
- { 0.5, 1.5, 2.5 },
- ExternName4,
- { ExternName3, {1000, 1010, 1020}, ExternName2 },
- ExternName5,
+ {10, 20, 30, 40, 50},
+ ExternName1,
+ {0.5, 1.5, 2.5},
+ ExternName4,
+ {ExternName3, {1000, 1010, 1020}, ExternName2},
+ ExternName5,
};
#define ARRAY(a) \
@@ -67,7 +67,7 @@ struct {
ARRAY(ArrayDouble),
{(uint8_t *)(ArrayInitPartial + 2),
sizeof(ArrayInitPartial) - 2 * sizeof(int)},
- { (uint8_t*)(&StructEx), sizeof(StructEx) },
+ {(uint8_t *)(&StructEx), sizeof(StructEx)},
};
size_t NumArraysElements = sizeof(Arrays) / sizeof(*Arrays);
« no previous file with comments | « crosstest/test_fcmp_main.cpp ('k') | crosstest/test_global_main.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698