source: src/SymTab/GenImplicitCall.hpp @ 8e860a7

Last change on this file since 8e860a7 was 8913de4, checked in by Andrew Beach <ajbeach@…>, 17 months ago

Update in autogen that should help with some resolver issues and invariant checks. Some related headers were cleaned up to reduce new code files including old ones.

  • Property mode set to 100644
File size: 1.1 KB
Line 
1//
2// Cforall Version 1.0.0 Copyright (C) 2018 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// GenImplicitCall.hpp --
8//
9// Author           : Andrew Beach
10// Created On       : Fri Apr 14 14:29:00 2023
11// Last Modified By : Andrew Beach
12// Last Modified On : Fri Apr 14 14:29:00 2023
13// Update Count     : 0
14//
15
16#pragma once
17
18#include "InitTweak/InitTweak.h"  // for InitExpander
19
20namespace SymTab {
21
22/// Enum for loop direction
23enum LoopDirection { LoopBackward, LoopForward };
24
25/// Returns a generated call expression to function fname with srcParam and
26/// dstParam. Intended to be used with generated ?=?, ?{}, and ^?{} calls.
27ast::ptr<ast::Stmt> genImplicitCall(
28        InitTweak::InitExpander_new & srcParam, const ast::Expr * dstParam,
29        const CodeLocation & loc, const std::string & fname, const ast::ObjectDecl * obj,
30        LoopDirection forward = LoopForward
31);
32
33} // namespace SymTab
34
35// Local Variables: //
36// tab-width: 4 //
37// mode: c++ //
38// compile-command: "make install" //
39// End: //
Note: See TracBrowser for help on using the repository browser.