Skip to content

Commit

Permalink
Remove unused nodeTag method.
Browse files Browse the repository at this point in the history
  • Loading branch information
bbannier committed Mar 21, 2024
1 parent d32b642 commit 610def0
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions hilti/toolchain/include/ast/node.h
Original file line number Diff line number Diff line change
Expand Up @@ -177,9 +177,6 @@ class Node {
public:
virtual ~Node();

/** Returns the node tag associated with the instance's class. */
auto nodeTag() const { return _node_tags.back(); }

/** Returns true if the node has a parent (i.e., it's part of an AST). */
bool hasParent() const { return _parent; }

Expand Down

0 comments on commit 610def0

Please sign in to comment.