1234567891011121314151617181920212223242526 |
- //===--- 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"
|