ast-experimental
Last change
on this file since ded6c2a6 was
11df881,
checked in by Andrew Beach <ajbeach@…>, 2 years ago
|
Updated documentation on pre-resolver passes, moving code to headers instead of uses. Note that some comments were just copied over, I don't know if they are accurate.
|
-
Property mode set to
100644
|
File size:
922 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 | // FixNames.h -- Adjustments to typed declarations. |
---|
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 Oct 26 13:47:00 2021 |
---|
13 | // Update Count : 4 |
---|
14 | // |
---|
15 | |
---|
16 | #pragma once |
---|
17 | |
---|
18 | #include <list> // for list |
---|
19 | |
---|
20 | class Declaration; |
---|
21 | namespace ast { |
---|
22 | class TranslationUnit; |
---|
23 | } |
---|
24 | |
---|
25 | namespace CodeGen { |
---|
26 | /// mangles object and function names |
---|
27 | void fixNames( std::list< Declaration* > & translationUnit ); |
---|
28 | /// Sets scope levels and fills in main's default return. |
---|
29 | void fixNames( ast::TranslationUnit & translationUnit ); |
---|
30 | } // namespace CodeGen |
---|
31 | |
---|
32 | // Local Variables: // |
---|
33 | // tab-width: 4 // |
---|
34 | // mode: c++ // |
---|
35 | // compile-command: "make install" // |
---|
36 | // End: // |
---|
Note: See
TracBrowser
for help on using the repository browser.