source: src/CodeGen/GenType.h @ 76f7fc7

ADTarm-ehast-experimentalcleanup-dtorsenumforall-pointer-decayjacob/cs343-translationjenkins-sandboxnew-astnew-ast-unique-exprpthread-emulationqualifiedEnum
Last change on this file since 76f7fc7 was 42a36d9, checked in by Andrew Beach <ajbeach@…>, 6 years ago

Created CodeGen::Options which hold some flags for code generation.

  • Property mode set to 100644
File size: 967 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// GenType.h --
8//
9// Author           : Richard C. Bilson
10// Created On       : Mon May 18 07:44:20 2015
11// Last Modified By : Andrew Beach
12// Last Modified On : Tue Apr 30 11:47:00 2019
13// Update Count     : 3
14//
15
16#pragma once
17
18#include <string>  // for string
19
20#include "CodeGen/Options.h" // for Options
21
22class Type;
23
24namespace CodeGen {
25        std::string genType( Type *type, const std::string &baseString, const Options &options );
26        std::string genType( Type *type, const std::string &baseString, bool pretty = false, bool genC = false, bool lineMarks = false );
27  std::string genPrettyType( Type * type, const std::string & baseString );
28} // namespace CodeGen
29
30// Local Variables: //
31// tab-width: 4 //
32// mode: c++ //
33// compile-command: "make install" //
34// End: //
Note: See TracBrowser for help on using the repository browser.