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

Side by Side Diff: src/IceTypes.h

Issue 1202253002: Includes module header first. (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: Changes All Subzero includes to match LLVM style guide. Created 5 years, 6 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
OLDNEW
1 //===- subzero/src/IceTypes.h - Primitive ICE types -------------*- C++ -*-===// 1 //===- subzero/src/IceTypes.h - Primitive ICE types -------------*- 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 a few properties of the primitive types allowed 10 // This file declares a few properties of the primitive types allowed
11 // in Subzero. Every Subzero source file is expected to include 11 // in Subzero. Every Subzero source file is expected to include
12 // IceTypes.h. 12 // IceTypes.h.
13 // 13 //
14 //===----------------------------------------------------------------------===// 14 //===----------------------------------------------------------------------===//
15 15
16 #ifndef SUBZERO_SRC_ICETYPES_H 16 #ifndef SUBZERO_SRC_ICETYPES_H
17 #define SUBZERO_SRC_ICETYPES_H 17 #define SUBZERO_SRC_ICETYPES_H
18 18
19 #include "IceDefs.h"
19 #include "IceTypes.def" 20 #include "IceTypes.def"
20 21
21 namespace Ice { 22 namespace Ice {
22 23
23 enum Type { 24 enum Type {
24 #define X(tag, size, align, elts, elty, str) tag, 25 #define X(tag, size, align, elts, elty, str) tag,
25 ICETYPE_TABLE 26 ICETYPE_TABLE
26 #undef X 27 #undef X
27 IceType_NUM 28 IceType_NUM
28 }; 29 };
(...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after
153 }; 154 };
154 155
155 inline Ostream &operator<<(Ostream &Stream, const FuncSigType &Sig) { 156 inline Ostream &operator<<(Ostream &Stream, const FuncSigType &Sig) {
156 Sig.dump(Stream); 157 Sig.dump(Stream);
157 return Stream; 158 return Stream;
158 } 159 }
159 160
160 } // end of namespace Ice 161 } // end of namespace Ice
161 162
162 #endif // SUBZERO_SRC_ICETYPES_H 163 #endif // SUBZERO_SRC_ICETYPES_H
OLDNEW
« src/IceTargetLoweringARM32.cpp ('K') | « src/IceTypeConverter.cpp ('k') | src/IceTypes.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698