source: src/SymTab/FixFunction.h @ e580aa5

Last change on this file since e580aa5 was c6b4432, checked in by Andrew Beach <ajbeach@…>, 9 months ago

Remove BaseSyntaxNode? and clean-up.

  • Property mode set to 100644
File size: 928 bytes
RevLine 
[0dd3a2f]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//
[30f9072]7// FixFunction.h --
[0dd3a2f]8//
9// Author           : Richard C. Bilson
10// Created On       : Sun May 17 17:02:08 2015
11// Last Modified By : Peter A. Buhr
[1931bb01]12// Last Modified On : Tue Jul 12 14:19:00 2022
13// Update Count     : 5
[0dd3a2f]14//
15
[6b0b624]16#pragma once
[51b7345]17
[c1ed2ee]18namespace ast {
19        class DeclWithType;
[1931bb01]20        class Type;
[c1ed2ee]21}
[4bda2cf]22
[c1ed2ee]23namespace SymTab {
24        /// Returns declaration with function and array types replaced by equivalent pointer types.
25        /// Sets isVoid to true if type is void
26        const ast::DeclWithType * fixFunction( const ast::DeclWithType * dwt, bool & isVoid );
[1931bb01]27        const ast::Type * fixFunction( const ast::Type * type, bool & isVoid );
[51b7345]28} // namespace SymTab
29
[0dd3a2f]30// Local Variables: //
31// tab-width: 4 //
32// mode: c++ //
33// compile-command: "make install" //
34// End: //
Note: See TracBrowser for help on using the repository browser.