source: src/SymTab/GenImplicitCall.hpp @ 1a2ba84

Last change on this file since 1a2ba84 was c92bdcc, checked in by Andrew Beach <ajbeach@…>, 6 months ago

Updated the rest of the names in src/ (except for the generated files).

  • Property mode set to 100644
File size: 1.1 KB
RevLine 
[fb4dc28]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//
[4e2f1b2]7// GenImplicitCall.hpp -- Generate code for implicit operator calls.
[fb4dc28]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
[c92bdcc]18#include "InitTweak/InitTweak.hpp"  // for InitExpander
[fb4dc28]19
20namespace SymTab {
21
[8913de4]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.
[4e2f1b2]27const ast::Stmt * genImplicitCall(
[0bd3faf]28        InitTweak::InitExpander & srcParam, const ast::Expr * dstParam,
[fb4dc28]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.