ADTaaron-thesisarm-ehast-experimentalcleanup-dtorsdeferred_resndemanglerenumforall-pointer-decayjacob/cs343-translationjenkins-sandboxnew-astnew-ast-unique-exprnew-envno_listpersistent-indexerpthread-emulationqualifiedEnumresolv-newwith_gc
Last change
on this file since 0ec9229 was
6b0b624,
checked in by Peter A. Buhr <pabuhr@…>, 7 years ago
|
change #ifndef to #pragma once
|
-
Property mode set to
100644
|
File size:
905 bytes
|
Rev | Line | |
---|
[71f4e4f] | 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 | // FixInit.h -- |
---|
| 8 | // |
---|
| 9 | // Author : Rob Schluntz |
---|
| 10 | // Created On : Wed Jan 13 16:29:30 2016 |
---|
[6b0b624] | 11 | // Last Modified By : Peter A. Buhr |
---|
| 12 | // Last Modified On : Sat Jul 22 09:31:06 2017 |
---|
| 13 | // Update Count : 6 |
---|
[71f4e4f] | 14 | // |
---|
| 15 | |
---|
[6b0b624] | 16 | #pragma once |
---|
[71f4e4f] | 17 | |
---|
| 18 | #include <string> |
---|
| 19 | #include <list> |
---|
| 20 | |
---|
| 21 | #include "SynTree/SynTree.h" |
---|
| 22 | #include "SynTree/Declaration.h" |
---|
| 23 | #include "SynTree/Mutator.h" |
---|
| 24 | |
---|
| 25 | namespace InitTweak { |
---|
| 26 | /// replace constructor initializers with expression statements |
---|
| 27 | /// and unwrap basic C-style initializers |
---|
[6cf27a07] | 28 | void fix( std::list< Declaration * > & translationUnit, const std::string & name, bool inLibrary ); |
---|
[71f4e4f] | 29 | } // namespace |
---|
| 30 | |
---|
| 31 | // Local Variables: // |
---|
| 32 | // tab-width: 4 // |
---|
| 33 | // mode: c++ // |
---|
| 34 | // compile-command: "make install" // |
---|
| 35 | // End: // |
---|
Note: See
TracBrowser
for help on using the repository browser.