source: src/SymTab/FixFunction.h @ 76f2e97f

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

licencing: seventh groups of files

  • Property mode set to 100644
File size: 1.4 KB
RevLine 
[0dd3a2f]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// FixFunction.h --
8//
9// Author           : Richard C. Bilson
10// Created On       : Sun May 17 17:02:08 2015
11// Last Modified By : Peter A. Buhr
12// Last Modified On : Sun May 17 17:03:43 2015
13// Update Count     : 2
14//
15
16#ifndef FIXFUNCTION_H
17#define FIXFUNCTION_H
[51b7345]18
19#include "SynTree/Mutator.h"
20
21namespace SymTab {
[0dd3a2f]22        class FixFunction : public Mutator {
23                typedef Mutator Parent;
24          public:
25                FixFunction();
26
27                bool get_isVoid() const { return isVoid; }
28                void set_isVoid( bool newValue ) { isVoid = newValue; }
29          private:
30                virtual DeclarationWithType* mutate(FunctionDecl *functionDecl);
31
32                virtual Type* mutate(VoidType *voidType);
33                virtual Type* mutate(BasicType *basicType);
34                virtual Type* mutate(PointerType *pointerType);
35                virtual Type* mutate(ArrayType *arrayType);
36                virtual Type* mutate(StructInstType *aggregateUseType);
37                virtual Type* mutate(UnionInstType *aggregateUseType);
38                virtual Type* mutate(EnumInstType *aggregateUseType);
39                virtual Type* mutate(ContextInstType *aggregateUseType);
40                virtual Type* mutate(TypeInstType *aggregateUseType);
41                virtual Type* mutate(TupleType *tupleType);
[51b7345]42 
[0dd3a2f]43                bool isVoid;
44        };
[51b7345]45} // namespace SymTab
46
[0dd3a2f]47#endif // FIXFUNCTION_H
48
49// Local Variables: //
50// tab-width: 4 //
51// mode: c++ //
52// compile-command: "make install" //
53// End: //
Note: See TracBrowser for help on using the repository browser.