ADTarm-ehast-experimentalcleanup-dtorsenumforall-pointer-decayjacob/cs343-translationjenkins-sandboxnew-astnew-ast-unique-exprpthread-emulationqualifiedEnum
Last change
on this file since effe5b0 was
1be845b,
checked in by Rob Schluntz <rschlunt@…>, 6 years ago
|
Remove filename from global init/destroy functions, use fixed constructor/destructor priority of 200 for CFA library globals
|
-
Property mode set to
100644
|
File size:
837 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 | |
---|
[d180746] | 18 | #include <list> // for list |
---|
| 19 | #include <string> // for string |
---|
[71f4e4f] | 20 | |
---|
[d180746] | 21 | class Declaration; |
---|
[71f4e4f] | 22 | |
---|
| 23 | namespace InitTweak { |
---|
| 24 | /// replace constructor initializers with expression statements |
---|
| 25 | /// and unwrap basic C-style initializers |
---|
[1be845b] | 26 | void fix( std::list< Declaration * > & translationUnit, bool inLibrary ); |
---|
[71f4e4f] | 27 | } // namespace |
---|
| 28 | |
---|
| 29 | // Local Variables: // |
---|
| 30 | // tab-width: 4 // |
---|
| 31 | // mode: c++ // |
---|
| 32 | // compile-command: "make install" // |
---|
| 33 | // End: // |
---|
Note: See
TracBrowser
for help on using the repository browser.