source: src/CodeGen/Options.hpp @ ce0b8b8

Last change on this file since ce0b8b8 was c92bdcc, checked in by Andrew Beach <ajbeach@…>, 6 months ago

Updated the rest of the names in src/ (except for the generated files).

  • 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.