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

Unified Diff: crosstest/test_stacksave_main.c

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_stacksave.c ('k') | crosstest/test_sync_atomic.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: crosstest/test_stacksave_main.c
diff --git a/crosstest/test_stacksave_main.c b/crosstest/test_stacksave_main.c
index a5ab2483b27a1256403d63091566cd41487c5919..0691025de2f3c3136f3e624b00e782c6c3ce156b 100644
--- a/crosstest/test_stacksave_main.c
+++ b/crosstest/test_stacksave_main.c
@@ -31,12 +31,10 @@ int main(int argc, char **argv) {
const char *Name;
FuncType FuncLlc;
FuncType FuncSz;
- } Funcs[] = {
- { "test_basic_vla", test_basic_vla, Subzero_test_basic_vla },
- { "test_vla_in_loop", test_vla_in_loop, Subzero_test_vla_in_loop },
- { "test_two_vlas_in_loops", test_two_vlas_in_loops,
- Subzero_test_two_vlas_in_loops }
- };
+ } Funcs[] = {{"test_basic_vla", test_basic_vla, Subzero_test_basic_vla},
+ {"test_vla_in_loop", test_vla_in_loop, Subzero_test_vla_in_loop},
+ {"test_two_vlas_in_loops", test_two_vlas_in_loops,
+ Subzero_test_two_vlas_in_loops}};
const static size_t NumFuncs = sizeof(Funcs) / sizeof(*Funcs);
const uint32_t size_to_test = 128;
for (size_t f = 0; f < NumFuncs; ++f) {
@@ -55,7 +53,7 @@ int main(int argc, char **argv) {
}
}
}
- printf("TotalTests=%zu Passes=%zu Failures=%zu\n",
- TotalTests, Passes, Failures);
+ printf("TotalTests=%zu Passes=%zu Failures=%zu\n", TotalTests, Passes,
+ Failures);
return Failures;
}
« no previous file with comments | « crosstest/test_stacksave.c ('k') | crosstest/test_sync_atomic.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698