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

Unified Diff: crosstest/mem_intrin.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 | « Makefile.standalone ('k') | crosstest/mem_intrin_main.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: crosstest/mem_intrin.cpp
diff --git a/crosstest/mem_intrin.cpp b/crosstest/mem_intrin.cpp
index 4a65995e5859f3dc09a42a523b831d052621cd97..612edce481722e3cba8804d1e3a7b1ddec13bc43 100644
--- a/crosstest/mem_intrin.cpp
+++ b/crosstest/mem_intrin.cpp
@@ -14,9 +14,8 @@ typedef int elem_t;
/*
* Reset buf to the sequence of bytes: n, n+1, n+2 ... length - 1
*/
-static void __attribute__((noinline)) reset_buf(uint8_t *buf,
- uint8_t init,
- size_t length) {
+static void __attribute__((noinline))
+reset_buf(uint8_t *buf, uint8_t init, size_t length) {
size_t i;
size_t v = init;
for (i = 0; i < length; ++i)
@@ -27,8 +26,8 @@ static void __attribute__((noinline)) reset_buf(uint8_t *buf,
* (Not doing a fletcher-32 checksum, since we are working with
* smaller buffers, whose total won't approach 2**16).
*/
-static int __attribute__((noinline)) fletcher_checksum(uint8_t *buf,
- size_t length) {
+static int __attribute__((noinline))
+fletcher_checksum(uint8_t *buf, size_t length) {
size_t i;
int sum = 0;
int sum_of_sums = 0;
« no previous file with comments | « Makefile.standalone ('k') | crosstest/mem_intrin_main.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698