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

Side by Side Diff: crosstest/test_bitmanip.h

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 unified diff | Download patch
« no previous file with comments | « crosstest/test_arith_main.cpp ('k') | crosstest/test_bitmanip_main.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 //===- subzero/crosstest/test_bitmanip.h - Test prototypes ---*- C++ -*----===// 1 //===- subzero/crosstest/test_bitmanip.h - Test prototypes ---*- C++ -*----===//
2 // 2 //
3 // The Subzero Code Generator 3 // The Subzero Code Generator
4 // 4 //
5 // This file is distributed under the University of Illinois Open Source 5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details. 6 // License. See LICENSE.TXT for details.
7 // 7 //
8 //===----------------------------------------------------------------------===// 8 //===----------------------------------------------------------------------===//
9 // 9 //
10 // This file declares the function prototypes for cross testing bit 10 // This file declares the function prototypes for cross testing bit
11 // manipulation intrinsics. 11 // manipulation intrinsics.
12 // 12 //
13 //===----------------------------------------------------------------------===// 13 //===----------------------------------------------------------------------===//
14 14
15 #include "test_bitmanip.def" 15 #include "test_bitmanip.def"
16 16
17 #define X(inst, type) \ 17 #define X(inst, type) \
18 type test_##inst(type a); \ 18 type test_##inst(type a); \
19 type test_alloca_##inst(type a); \ 19 type test_alloca_##inst(type a); \
20 type test_const_##inst(type ignored); \ 20 type test_const_##inst(type ignored); \
21 type my_##inst(type a); 21 type my_##inst(type a);
22 22
23 FOR_ALL_BMI_OP_TYPES(X) 23 FOR_ALL_BMI_OP_TYPES(X)
24 #undef X 24 #undef X
25 25
26 #define X(type, builtin_name) \ 26 #define X(type, builtin_name) \
27 type test_bswap(type); \ 27 type test_bswap(type); \
28 type test_bswap_alloca(type); 28 type test_bswap_alloca(type);
29 BSWAP_TABLE 29 BSWAP_TABLE
30 #undef X 30 #undef X
OLDNEW
« no previous file with comments | « crosstest/test_arith_main.cpp ('k') | crosstest/test_bitmanip_main.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698