blob: 9171ef75665828dc7d9e3aecb9f11c3daa561476 [file] [log] [blame]
Reid Spencer5f016e22007-07-11 17:01:13 +00001//===--- StmtVisitor.cpp - Visitor for Stmt subclasses --------------------===//
2//
3// The LLVM Compiler Infrastructure
4//
5// This file was developed by Chris Lattner and is distributed under
6// the University of Illinois Open Source License. See LICENSE.TXT for details.
7//
8//===----------------------------------------------------------------------===//
9//
10// This file implements the StmtVisitor class.
11//
12//===----------------------------------------------------------------------===//
13
14#include "clang/AST/StmtVisitor.h"
15#include "clang/AST/ExprCXX.h"
16using namespace clang;
17
18StmtVisitor::~StmtVisitor() {
19 // Out-of-line virtual dtor.
20}
21
22// Implement all of the delegation visitor methods.
23#define STMT(N, FROM, TO) \
24 void StmtVisitor::Visit##FROM(FROM *Node) { Visit##TO(Node); }
25#include "clang/AST/StmtNodes.def"
26