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

Unified Diff: crosstest/test_stacksave.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.h ('k') | crosstest/test_stacksave_main.c » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: crosstest/test_stacksave.c
diff --git a/crosstest/test_stacksave.c b/crosstest/test_stacksave.c
index b0e9b5e2be9f943c314c511e79d1bfe8dea6b07a..665488049cce2ea4296f4aba36a05c118b645a3d 100644
--- a/crosstest/test_stacksave.c
+++ b/crosstest/test_stacksave.c
@@ -29,9 +29,7 @@ uint32_t test_basic_vla(uint32_t size, uint32_t start, uint32_t inc) {
return (vla[start] << 2) + (vla[mid] << 1) + vla[size - 1];
}
-static uint32_t __attribute__((noinline)) foo(uint32_t x) {
- return x * x;
-}
+static uint32_t __attribute__((noinline)) foo(uint32_t x) { return x * x; }
/* NOTE: This has 1 stacksave, because the vla is in a loop and should
* be freed before the next iteration.
« no previous file with comments | « crosstest/test_stacksave.h ('k') | crosstest/test_stacksave_main.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698