Skip to content

Commit

Permalink
review comment formatting changes
Browse files Browse the repository at this point in the history
  • Loading branch information
caleridas committed Jan 30, 2025
1 parent 85a6f85 commit ac8ae61
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 15 deletions.
4 changes: 1 addition & 3 deletions jlm/rvsdg/lambda.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ LambdaOperation::LambdaOperation(std::shared_ptr<const FunctionType> type)
std::string
LambdaOperation::debug_string() const
{
return util::strfmt("LAMBDA[", Type()->debug_string(), "]");
return util::strfmt("Lambda[", Type()->debug_string(), "]");
}

bool
Expand All @@ -34,8 +34,6 @@ LambdaOperation::copy() const
return std::make_unique<LambdaOperation>(*this);
}

/* lambda node class */

LambdaNode::~LambdaNode() = default;

LambdaNode::LambdaNode(rvsdg::Region & parent, std::unique_ptr<LambdaOperation> op)
Expand Down
14 changes: 2 additions & 12 deletions jlm/rvsdg/lambda.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -21,24 +21,14 @@ namespace jlm::rvsdg

/** \brief Lambda operation
*
* A lambda operation determines a lambda's name and \ref FunctionType "function type".
* A lambda operation determines a lambda's \ref FunctionType "function type".
*/
class LambdaOperation : public rvsdg::StructuralOperation
{
public:
~LambdaOperation() override;

LambdaOperation(std::shared_ptr<const FunctionType> type);

LambdaOperation(const LambdaOperation & other) = default;

LambdaOperation(LambdaOperation && other) noexcept = default;

LambdaOperation &
operator=(const LambdaOperation & other) = default;

LambdaOperation &
operator=(LambdaOperation && other) noexcept = default;
explicit LambdaOperation(std::shared_ptr<const FunctionType> type);

[[nodiscard]] const FunctionType &
type() const noexcept
Expand Down

0 comments on commit ac8ae61

Please sign in to comment.