source: src/CodeGen/OperatorTable.h @ 03e5d14

ADTaaron-thesisarm-ehast-experimentalcleanup-dtorsctordeferred_resndemanglerenumforall-pointer-decaygc_noraiijacob/cs343-translationjenkins-sandboxmemorynew-astnew-ast-unique-exprnew-envno_listpersistent-indexerpthread-emulationqualifiedEnumresolv-newwith_gc
Last change on this file since 03e5d14 was de62360d, checked in by Peter A. Buhr <pabuhr@…>, 9 years ago

fix computed goto, fixed -std=, implicit typedefs for enum and aggregates, add _Noreturn _Thread_local

  • Property mode set to 100644
File size: 1.0 KB
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// OperatorTable.h --
8//
9// Author           : Richard C. Bilson
10// Created On       : Mon May 18 07:44:20 2015
11// Last Modified By : Peter A. Buhr
12// Last Modified On : Tue Jun 23 16:09:27 2015
13// Update Count     : 3
14//
15
16#ifndef _OPERATORTABLE_H
17#define _OPERATORTABLE_H
18
19#include <string>
20
21namespace CodeGen {
22        enum OperatorType {
23                OT_INDEX,
24                OT_CALL,
25                OT_PREFIX,
26                OT_POSTFIX,
27                OT_INFIX,
28                OT_PREFIXASSIGN,
29                OT_POSTFIXASSIGN,
30                OT_INFIXASSIGN,
31                OT_LABELADDRESS,
32                OT_CONSTANT
33        };
34
35        struct OperatorInfo {
36                std::string inputName;
37                std::string symbol;
38                std::string outputName;
39                OperatorType type;
40        };
41
42        bool operatorLookup( std::string funcName, OperatorInfo &info );
43} // namespace CodeGen
44
45#endif // _OPERATORTABLE_H
46
47// Local Variables: //
48// tab-width: 4 //
49// mode: c++ //
50// compile-command: "make install" //
51// End: //
Note: See TracBrowser for help on using the repository browser.