blob: dfd9d542398918fd8003f113021d3077545283d4 [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
19class Preprocessor;
20class FunctionDecl;
21class TypedefDecl;
22
23void BuildASTs(Preprocessor &PP, unsigned MainFileID, bool Stats);
24void PrintASTs(Preprocessor &PP, unsigned MainFileID, bool Stats);
Chris Lattner95578782007-08-08 22:51:59 +000025void DumpASTs(Preprocessor &PP, unsigned MainFileID, bool Stats);
Ted Kremenekb3bb91b2007-08-29 21:56:09 +000026
27void DumpCFGs(Preprocessor &PP, unsigned MainFileID,
28 bool Stats, bool use_graphviz = false);
Chris Lattner4b009652007-07-25 00:24:17 +000029
30} // end clang namespace
31
32#endif