// // Cforall Version 1.0.0 Copyright (C) 2018 University of Waterloo // // The contents of this file are covered under the licence agreement in the // file "LICENCE" distributed with Cforall. // // GenImplicitCall.hpp -- Generate code for implicit operator calls. // // Author : Andrew Beach // Created On : Fri Apr 14 14:29:00 2023 // Last Modified By : Andrew Beach // Last Modified On : Fri Apr 14 14:29:00 2023 // Update Count : 0 // #pragma once #include "InitTweak/InitTweak.h" // for InitExpander namespace SymTab { /// Enum for loop direction enum LoopDirection { LoopBackward, LoopForward }; /// Returns a generated call expression to function fname with srcParam and /// dstParam. Intended to be used with generated ?=?, ?{}, and ^?{} calls. const ast::Stmt * genImplicitCall( InitTweak::InitExpander & srcParam, const ast::Expr * dstParam, const CodeLocation & loc, const std::string & fname, const ast::ObjectDecl * obj, LoopDirection forward = LoopForward ); } // namespace SymTab // Local Variables: // // tab-width: 4 // // mode: c++ // // compile-command: "make install" // // End: //