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

Side by Side Diff: src/IceBuildDefs.h

Issue 1520383002: add todo for ALLOW_LLVM_CL (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: Created 5 years 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 | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 //===- subzero/src/IceBuildDefs.h - Translator build defines ----*- C++ -*-===// 1 //===- subzero/src/IceBuildDefs.h - Translator build defines ----*- 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 /// \file 10 /// \file
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
70 if you don't build that variant, you don't even know if the code would 70 if you don't build that variant, you don't even know if the code would
71 compile unless you build with that variant. 71 compile unless you build with that variant.
72 72
73 **/ 73 **/
74 74
75 namespace BuildDefs { 75 namespace BuildDefs {
76 76
77 // The ALLOW_* etc. symbols must be #defined to zero or non-zero. 77 // The ALLOW_* etc. symbols must be #defined to zero or non-zero.
78 constexpr bool dump() { return ALLOW_DUMP; } 78 constexpr bool dump() { return ALLOW_DUMP; }
79 /// Return true if ALLOW_LLVM_CL is defined as a non-zero value 79 /// Return true if ALLOW_LLVM_CL is defined as a non-zero value
80 // TODO(stichnot): this ALLOW_LLVM_CL is a TBD option which will
81 // allow for replacement of llvm:cl command line processor with a
82 // smaller footprint version for Subzero.
80 constexpr bool llvmCl() { return ALLOW_LLVM_CL; } 83 constexpr bool llvmCl() { return ALLOW_LLVM_CL; }
81 /// Return true if ALLOW_LLVM_IR is defined as a non-zero value 84 /// Return true if ALLOW_LLVM_IR is defined as a non-zero value
82 constexpr bool llvmIr() { return ALLOW_LLVM_IR; } 85 constexpr bool llvmIr() { return ALLOW_LLVM_IR; }
83 /// Return true if ALLOW_LLVM_IR_AS_INPUT is defined as a non-zero value 86 /// Return true if ALLOW_LLVM_IR_AS_INPUT is defined as a non-zero value
84 constexpr bool llvmIrAsInput() { return ALLOW_LLVM_IR_AS_INPUT; } 87 constexpr bool llvmIrAsInput() { return ALLOW_LLVM_IR_AS_INPUT; }
85 /// Return true if ALLOW_MINIMAL_BUILD is defined as a non-zero value 88 /// Return true if ALLOW_MINIMAL_BUILD is defined as a non-zero value
86 constexpr bool minimal() { return ALLOW_MINIMAL_BUILD; } 89 constexpr bool minimal() { return ALLOW_MINIMAL_BUILD; }
87 90
88 /// Return true if NDEBUG is defined 91 /// Return true if NDEBUG is defined
89 constexpr bool asserts() { 92 constexpr bool asserts() {
(...skipping 19 matching lines...) Expand all
109 return true; 112 return true;
110 #else // !ALLOW_EXTRA_VALIDATION 113 #else // !ALLOW_EXTRA_VALIDATION
111 return false; 114 return false;
112 #endif // !ALLOW_EXTRA_VALIDATION 115 #endif // !ALLOW_EXTRA_VALIDATION
113 } 116 }
114 117
115 } // end of namespace BuildDefs 118 } // end of namespace BuildDefs
116 } // end of namespace Ice 119 } // end of namespace Ice
117 120
118 #endif // SUBZERO_SRC_ICEBUILDDEFS_H 121 #endif // SUBZERO_SRC_ICEBUILDDEFS_H
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698