| 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 | // FixInit.h --
|
|---|
| 8 | //
|
|---|
| 9 | // Author : Rob Schluntz
|
|---|
| 10 | // Created On : Wed Jan 13 16:29:30 2016
|
|---|
| 11 | // Last Modified By : Peter A. Buhr
|
|---|
| 12 | // Last Modified On : Sun Feb 16 07:54:50 2020
|
|---|
| 13 | // Update Count : 8
|
|---|
| 14 | //
|
|---|
| 15 |
|
|---|
| 16 | #pragma once
|
|---|
| 17 |
|
|---|
| 18 | #include <list> // for list
|
|---|
| 19 | #include <string> // for string
|
|---|
| 20 |
|
|---|
| 21 | class Declaration;
|
|---|
| 22 | namespace ast {
|
|---|
| 23 | class TranslationUnit;
|
|---|
| 24 | }
|
|---|
| 25 |
|
|---|
| 26 | namespace InitTweak {
|
|---|
| 27 | /// replace constructor initializers with expression statements and unwrap basic C-style initializers
|
|---|
| 28 | void fix( std::list< Declaration * > & translationUnit, bool inLibrary );
|
|---|
| 29 |
|
|---|
| 30 | void fix( ast::TranslationUnit & translationUnit, bool inLibrary);
|
|---|
| 31 | } // namespace
|
|---|
| 32 |
|
|---|
| 33 | // Local Variables: //
|
|---|
| 34 | // tab-width: 4 //
|
|---|
| 35 | // mode: c++ //
|
|---|
| 36 | // compile-command: "make install" //
|
|---|
| 37 | // End: //
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.