blob: f47ea18688f0b80f05a8854d743d54490fc7e678 [file] [log] [blame]
Chris Lattnerf42cce72006-10-25 04:09:21 +00001//===--- Stmt.cpp - Statement AST Node Implementation ---------------------===//
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 Stmt class and statement subclasses.
11//
12//===----------------------------------------------------------------------===//
13
14#include "clang/AST/Stmt.h"
15#include "clang/AST/Expr.h"
Chris Lattner5e9a8782006-11-04 06:21:51 +000016#include "clang/AST/StmtVisitor.h"
Chris Lattnerf42cce72006-10-25 04:09:21 +000017using namespace llvm;
18using namespace clang;
19
Chris Lattner76af8442006-11-04 20:54:18 +000020// Implement all the AST node visit methods using the StmtNodes.def database.
21#define STMT(CLASS, PARENT) \
Chris Lattner9ea960a2006-11-04 07:16:04 +000022void CLASS::visit(StmtVisitor &V) { return V.Visit##CLASS(this); }
Chris Lattnere5cca062006-10-25 04:29:46 +000023
Chris Lattner76af8442006-11-04 20:54:18 +000024STMT(Stmt, )
25#include "clang/AST/StmtNodes.def"
Chris Lattner5e9a8782006-11-04 06:21:51 +000026