source: src/CodeGen/Options.h @ 7a15b7e

ADTast-experimentalenumforall-pointer-decaypthread-emulationqualifiedEnum
Last change on this file since 7a15b7e was 60a8062, checked in by Peter A. Buhr <pabuhr@…>, 5 years ago

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

  • Property mode set to 100644
File size: 909 bytes
RevLine 
[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]18struct 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.