source: src/InitTweak/FixInit.h @ a2f2fda

ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-ast-unique-exprpthread-emulationqualifiedEnum
Last change on this file since a2f2fda was 490fb92e, checked in by Fangren Yu <f37yu@…>, 4 years ago

move FixInit? to new ast

  • Property mode set to 100644
File size: 933 bytes
RevLine 
[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
[60a8062]12// Last Modified On : Sun Feb 16 07:54:50 2020
13// Update Count     : 8
[71f4e4f]14//
15
[6b0b624]16#pragma once
[71f4e4f]17
[d180746]18#include <list>    // for list
19#include <string>  // for string
[71f4e4f]20
[490fb92e]21#include <AST/Fwd.hpp>
22
[d180746]23class Declaration;
[71f4e4f]24
25namespace InitTweak {
[60a8062]26        /// replace constructor initializers with expression statements and unwrap basic C-style initializers
[1be845b]27        void fix( std::list< Declaration * > & translationUnit, bool inLibrary );
[490fb92e]28
29        void fix( std::list<ast::ptr<ast::Decl>> & translationUnit, bool inLibrary);
[71f4e4f]30} // namespace
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.