ADT
arm-eh
ast-experimental
enum
forall-pointer-decay
jacob/cs343-translation
new-ast-unique-expr
pthread-emulation
qualifiedEnum
Last change
on this file since 361bf01 was b3a0df6, checked in by Fangren Yu <f37yu@…>, 5 years ago |
attempt to fix sizeType in new ast
|
-
Property mode
set to
100644
|
File size:
873 bytes
|
Rev | Line | |
---|
[1be1e5a] | 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 | // TranslationUnit.hpp --
|
---|
| 8 | //
|
---|
| 9 | // Author : Andrew Beach
|
---|
| 10 | // Created On : Tue Jun 11 15:30:00 2019
|
---|
| 11 | // Last Modified By : Andrew Beach
|
---|
| 12 | // Last Modified On : Tue Jun 11 15:42:00 2019
|
---|
| 13 | // Update Count : 0
|
---|
| 14 | //
|
---|
| 15 |
|
---|
| 16 | #pragma once
|
---|
| 17 |
|
---|
| 18 | #include <map>
|
---|
| 19 | #include <vector>
|
---|
| 20 |
|
---|
| 21 | #include "Fwd.hpp"
|
---|
| 22 |
|
---|
| 23 | namespace ast {
|
---|
| 24 |
|
---|
| 25 | struct TranslationUnit {
|
---|
| 26 | std::list< ptr< Decl > > decls;
|
---|
| 27 |
|
---|
| 28 | struct Globals {
|
---|
| 29 | std::map< UniqueId, Decl * > idMap;
|
---|
| 30 |
|
---|
[b3a0df6] | 31 | const Type * sizeType;
|
---|
| 32 | const FunctionDecl * dereference;
|
---|
| 33 | const StructDecl * dtorStruct;
|
---|
| 34 | const FunctionDecl * dtorDestroy;
|
---|
[1be1e5a] | 35 | } global;
|
---|
| 36 | };
|
---|
| 37 |
|
---|
| 38 | }
|
---|
| 39 |
|
---|
| 40 | // Local Variables: //
|
---|
| 41 | // tab-width: 4 //
|
---|
| 42 | // mode: c++ //
|
---|
| 43 | // compile-command: "make install" //
|
---|
| 44 | // End: //
|
---|
Note:
See
TracBrowser
for help on using the repository browser.