StmtVisitor.cpp 846 B

1234567891011121314151617181920212223242526
  1. //===--- 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. #include "clang/AST/StmtVisitor.h"
  14. #include "clang/AST/ExprCXX.h"
  15. using namespace clang;
  16. StmtVisitor::~StmtVisitor() {
  17. // Out-of-line virtual dtor.
  18. }
  19. // Implement all of the delegation visitor methods.
  20. #define STMT(N, FROM, TO) \
  21. void StmtVisitor::Visit##FROM(FROM *Node) { Visit##TO(Node); }
  22. #include "clang/AST/StmtNodes.def"