Skip to content

Commit

Permalink
Remove unrelated changes.
Browse files Browse the repository at this point in the history
  • Loading branch information
1uc committed Nov 7, 2024
1 parent 2f31622 commit 1975c45
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
3 changes: 1 addition & 2 deletions src/language/templates/code_generator.cmake
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#
# THIS FILE IS GENERATED.
# THIS FILE IS GENERATED AND SHALL NOT BE EDITED.
#

# cmake-format: off
Expand Down Expand Up @@ -34,5 +34,4 @@ set(NMODL_GENERATED_SOURCES
${{ '{' }}{{ dir | upper }}_GENERATED_SOURCES}
{% endfor %}
)

# cmake-format: on
8 changes: 4 additions & 4 deletions src/language/templates/visitors/visitor.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,8 @@ class Visitor {
virtual ~Visitor() = default;

{% for node in nodes %}
/// visit node of type ast::{{ node.class_name }}
virtual void visit_{{ node.class_name|snake_case }}(ast::{{ node.class_name }}& node) = 0;
/// visit node of type ast::{{ node.class_name }}
virtual void visit_{{ node.class_name|snake_case }}(ast::{{ node.class_name }}& node) = 0;
{% endfor %}
};

Expand All @@ -60,8 +60,8 @@ class ConstVisitor {
virtual ~ConstVisitor() = default;

{% for node in nodes %}
/// visit node of type ast::{{ node.class_name }}
virtual void visit_{{ node.class_name|snake_case }}(const ast::{{ node.class_name }}& node) = 0;
/// visit node of type ast::{{ node.class_name }}
virtual void visit_{{ node.class_name|snake_case }}(const ast::{{ node.class_name }}& node) = 0;
{% endfor %}
};

Expand Down

0 comments on commit 1975c45

Please sign in to comment.