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 d3d8c3f was
51b7345,
checked in by Peter A. Buhr <pabuhr@…>, 10 years ago
|
initial commit
|
-
Property mode set to
100644
|
File size:
1.1 KB
|
Line | |
---|
1 | /* |
---|
2 | * This file is part of the Cforall project |
---|
3 | * |
---|
4 | * $Id: FixFunction.h,v 1.3 2005/08/29 20:14:17 rcbilson Exp $ |
---|
5 | * |
---|
6 | */ |
---|
7 | |
---|
8 | #ifndef SYMTAB_FIXFUNCTION_H |
---|
9 | #define SYMTAB_FIXFUNCTION_H |
---|
10 | |
---|
11 | #include "SynTree/Mutator.h" |
---|
12 | |
---|
13 | namespace SymTab { |
---|
14 | |
---|
15 | class FixFunction : public Mutator |
---|
16 | { |
---|
17 | typedef Mutator Parent; |
---|
18 | |
---|
19 | public: |
---|
20 | FixFunction(); |
---|
21 | |
---|
22 | bool get_isVoid() const { return isVoid; } |
---|
23 | void set_isVoid( bool newValue ) { isVoid = newValue; } |
---|
24 | |
---|
25 | private: |
---|
26 | virtual DeclarationWithType* mutate(FunctionDecl *functionDecl); |
---|
27 | |
---|
28 | virtual Type* mutate(VoidType *voidType); |
---|
29 | virtual Type* mutate(BasicType *basicType); |
---|
30 | virtual Type* mutate(PointerType *pointerType); |
---|
31 | virtual Type* mutate(ArrayType *arrayType); |
---|
32 | virtual Type* mutate(StructInstType *aggregateUseType); |
---|
33 | virtual Type* mutate(UnionInstType *aggregateUseType); |
---|
34 | virtual Type* mutate(EnumInstType *aggregateUseType); |
---|
35 | virtual Type* mutate(ContextInstType *aggregateUseType); |
---|
36 | virtual Type* mutate(TypeInstType *aggregateUseType); |
---|
37 | virtual Type* mutate(TupleType *tupleType); |
---|
38 | |
---|
39 | bool isVoid; |
---|
40 | }; |
---|
41 | |
---|
42 | } // namespace SymTab |
---|
43 | |
---|
44 | #endif /* #ifndef SYMTAB_FIXFUNCTION_H */ |
---|
Note: See
TracBrowser
for help on using the repository browser.