blob: d9ea3bdcf3ca0e9bdce660c793a5487d3d4f0b4a [file] [log] [blame]
Chris Lattner4b009652007-07-25 00:24:17 +00001//===--- ASTStreamers.h - ASTStreamer Drivers -------------------*- C++ -*-===//
2//
3// The LLVM Compiler Infrastructure
4//
5// This file was developed by Bill Wendling and is distributed under the
6// University of Illinois Open Source License. See LICENSE.TXT for details.
7//
8//===----------------------------------------------------------------------===//
9//
10// AST Streamers.
11//
12//===----------------------------------------------------------------------===//
13
14#ifndef DRIVER_ASTSTREAMERS_H_
15#define DRIVER_ASTSTREAMERS_H_
16
17namespace clang {
18
Chris Lattner1cc01712007-09-15 22:56:56 +000019class ASTConsumer;
Chris Lattner52332d02007-09-15 23:21:08 +000020class Diagnostic;
Chris Lattner4b009652007-07-25 00:24:17 +000021
Chris Lattnerb73abd52007-09-15 23:02:28 +000022ASTConsumer *CreateASTPrinter();
23ASTConsumer *CreateASTDumper();
Chris Lattner52332d02007-09-15 23:21:08 +000024ASTConsumer *CreateCFGDumper(bool ViewGraphs = false);
25ASTConsumer *CreateLiveVarAnalyzer();
26ASTConsumer *CreateDeadStoreChecker(Diagnostic &Diags);
Chris Lattner129758d2007-09-16 19:46:59 +000027ASTConsumer *CreateLLVMEmitter(Diagnostic &Diags);
Ted Kremeneke805c4a2007-09-06 23:00:42 +000028
Chris Lattner4b009652007-07-25 00:24:17 +000029} // end clang namespace
30
31#endif