blob: 9171ef75665828dc7d9e3aecb9f11c3daa561476 [file] [log] [blame]
//===--- StmtVisitor.cpp - Visitor for Stmt subclasses --------------------===//
//
// The LLVM Compiler Infrastructure
//
// This file was developed by Chris Lattner and is distributed under
// the University of Illinois Open Source License. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
//
// This file implements the StmtVisitor class.
//
//===----------------------------------------------------------------------===//
#include "clang/AST/StmtVisitor.h"
#include "clang/AST/ExprCXX.h"
using namespace clang;
StmtVisitor::~StmtVisitor() {
// Out-of-line virtual dtor.
}
// Implement all of the delegation visitor methods.
#define STMT(N, FROM, TO) \
void StmtVisitor::Visit##FROM(FROM *Node) { Visit##TO(Node); }
#include "clang/AST/StmtNodes.def"