ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationjenkins-sandboxnew-astnew-ast-unique-exprpthread-emulationqualifiedEnum
Last change
on this file since 4864a73 was
76f7fc7,
checked in by Andrew Beach <ajbeach@…>, 6 years ago
|
Reduced cases where unused is placed on anonymous objects. Regenerated tests.
|
-
Property mode set to
100644
|
File size:
962 bytes
|
Line | |
---|
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 |
---|
11 | // Last Modified By : Andrew Beach |
---|
12 | // Last Modified On : Thr May 2 10:45:00 2019 |
---|
13 | // Update Count : 2 |
---|
14 | // |
---|
15 | |
---|
16 | #pragma once |
---|
17 | |
---|
18 | namespace CodeGen { |
---|
19 | struct Options { |
---|
20 | // External Options: Same thoughout a pass. |
---|
21 | bool pretty; |
---|
22 | bool genC; |
---|
23 | bool lineMarks; |
---|
24 | bool printExprTypes; |
---|
25 | |
---|
26 | // Internal Options: Changed on some recurisive calls. |
---|
27 | bool anonymousUnused = false; |
---|
28 | |
---|
29 | Options(bool pretty, bool genC, bool lineMarks, bool printExprTypes) : |
---|
30 | pretty(pretty), genC(genC), lineMarks(lineMarks), printExprTypes(printExprTypes) |
---|
31 | {} |
---|
32 | }; |
---|
33 | } // namespace CodeGen |
---|
34 | |
---|
35 | // Local Variables: // |
---|
36 | // tab-width: 4 // |
---|
37 | // mode: c++ // |
---|
38 | // compile-command: "make install" // |
---|
39 | // End: // |
---|
Note: See
TracBrowser
for help on using the repository browser.