Skip to content

Commit

Permalink
Fix clang mismatch warning
Browse files Browse the repository at this point in the history
  • Loading branch information
leewei05 authored and Lai-YT committed Oct 13, 2023
1 parent 7408fe6 commit d557e4d
Showing 1 changed file with 25 additions and 25 deletions.
50 changes: 25 additions & 25 deletions include/visitor.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -6,31 +6,31 @@
// Forward declarations to fix the acyclic problem with name only dependency.
// NOTE: update the list every time a new kind of node is introduced.

class AstNode;
class StmtNode;
class ExprNode;
class DeclNode;
class BlockStmtNode;
class ProgramNode;
class NullStmtNode;
class ReturnStmtNode;
class ExprStmtNode;
class IdExprNode;
class IntConstExprNode;
class BinaryExprNode;
class PlusExprNode;
class SubExprNode;
class MulExprNode;
class DivExprNode;
class ModExprNode;
class GreaterThanExprNode;
class GreaterThanOrEqualToExprNode;
class LessThanExprNode;
class LessThanOrEqualToExprNode;
class EqualToExprNode;
class NotEqualToExprNode;
class AssignmentExprNode;
class SimpleAssignmentExprNode;
struct AstNode;
struct StmtNode;
struct ExprNode;
struct DeclNode;
struct BlockStmtNode;
struct ProgramNode;
struct NullStmtNode;
struct ReturnStmtNode;
struct ExprStmtNode;
struct IdExprNode;
struct IntConstExprNode;
struct BinaryExprNode;
struct PlusExprNode;
struct SubExprNode;
struct MulExprNode;
struct DivExprNode;
struct ModExprNode;
struct GreaterThanExprNode;
struct GreaterThanOrEqualToExprNode;
struct LessThanExprNode;
struct LessThanOrEqualToExprNode;
struct EqualToExprNode;
struct NotEqualToExprNode;
struct AssignmentExprNode;
struct SimpleAssignmentExprNode;

/// @tparam is_modifying If `true`, `Visit()` takes a non-const reference of the
/// visitable; otherwise, a const reference. Default to `false`.
Expand Down

0 comments on commit d557e4d

Please sign in to comment.