source:
src/CodeGen/Options.hpp@
6fe4a7f
| Last change on this file since 6fe4a7f was c92bdcc, checked in by , 18 months ago | |
|---|---|
|
|
| File size: 909 bytes | |
| Rev | Line | |
|---|---|---|
| [42a36d9] | 1 | // |
| 2 | // Cforall Version 1.0.0 Copyright (C) 2015 University of Waterloo | |
| 3 | // | |
| 4 | // The contents of this file are covered under the licence agreement in the | |
| 5 | // file "LICENCE" distributed with Cforall. | |
| 6 | // | |
| 7 | // Options.h -- | |
| 8 | // | |
| 9 | // Author : Andrew Beach | |
| 10 | // Created On : Tue Apr 30 11:36:00 2019 | |
| [60a8062] | 11 | // Last Modified By : Peter A. Buhr |
| 12 | // Last Modified On : Sat Feb 15 18:37:06 2020 | |
| 13 | // Update Count : 3 | |
| [42a36d9] | 14 | // |
| 15 | ||
| 16 | #pragma once | |
| 17 | ||
| [60a8062] | 18 | struct Options { |
| 19 | // External Options: Same thoughout a pass. | |
| 20 | bool pretty; | |
| 21 | bool genC; | |
| 22 | bool lineMarks; | |
| 23 | bool printExprTypes; | |
| [42a36d9] | 24 | |
| [60a8062] | 25 | // Internal Options: Changed on some recurisive calls. |
| 26 | bool anonymousUnused = false; | |
| [da09ba1] | 27 | |
| [60a8062] | 28 | Options(bool pretty, bool genC, bool lineMarks, bool printExprTypes) : |
| 29 | pretty(pretty), genC(genC), lineMarks(lineMarks), printExprTypes(printExprTypes) | |
| [42a36d9] | 30 | {} |
| [60a8062] | 31 | }; |
| [42a36d9] | 32 | |
| 33 | // Local Variables: // | |
| 34 | // tab-width: 4 // | |
| 35 | // mode: c++ // | |
| 36 | // compile-command: "make install" // | |
| 37 | // End: // |
Note:
See TracBrowser
for help on using the repository browser.