blob: 34ce8647b0e1a41a8933fe5e7c88b36a2d6aa823 [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);
Ted Kremenekaa04c512007-09-06 00:17:54 +000029
30void AnalyzeLiveVariables(Preprocessor &PP, unsigned MainFileID);
Chris Lattner4b009652007-07-25 00:24:17 +000031
32} // end clang namespace
33
34#endif