source: src/CodeGen/Options.h @ 60a8062

ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationjenkins-sandboxnew-astnew-ast-unique-exprpthread-emulationqualifiedEnum
Last change on this file since 60a8062 was 60a8062, checked in by Peter A. Buhr <pabuhr@…>, 4 years ago

rewrite most of OperatorTable? and change caller modules to use new interface

  • Property mode set to 100644
File size: 909 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 : Peter A. Buhr
12// Last Modified On : Sat Feb 15 18:37:06 2020
13// Update Count     : 3
14//
15
16#pragma once
17
18struct Options {
19        // External Options: Same thoughout a pass.
20        bool pretty;
21        bool genC;
22        bool lineMarks;
23        bool printExprTypes;
24
25        // Internal Options: Changed on some recurisive calls.
26        bool anonymousUnused = false;
27
28        Options(bool pretty, bool genC, bool lineMarks, bool printExprTypes) :
29                pretty(pretty), genC(genC), lineMarks(lineMarks), printExprTypes(printExprTypes)
30                {}
31};
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.